aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-06-03 18:15:03 +0000
committerDale Johannesen <dalej@apple.com>2008-06-03 18:15:03 +0000
commitbd44c2e383723ef738f37a22ece912d163c66096 (patch)
treefa76a24a776ed87999bbf7613e16a41561e9701d /include
parent24f07dc6e464aa82694fd3dd5fc88dc139d16b7c (diff)
downloadexternal_llvm-bd44c2e383723ef738f37a22ece912d163c66096.zip
external_llvm-bd44c2e383723ef738f37a22ece912d163c66096.tar.gz
external_llvm-bd44c2e383723ef738f37a22ece912d163c66096.tar.bz2
Expand documentation of StringConstantPrefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51911 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index a8a3529..9b5ba48 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -147,8 +147,10 @@ namespace llvm {
/// AssemblerDialect - Which dialect of an assembler variant to use.
unsigned AssemblerDialect; // Defaults to 0
- /// StringConstantPrefix - Prefix to use when generating unnamed
- /// constant strings. These names get run through the Mangler later.
+ /// StringConstantPrefix - Prefix for FEs to use when generating unnamed
+ /// constant strings. These names get run through the Mangler later; if
+ /// you want the Mangler not to add the GlobalPrefix as well,
+ /// use '\1' as the first character.
const char *StringConstantPrefix; // Defaults to ".str"
//===--- Data Emission Directives -------------------------------------===//