summaryrefslogtreecommitdiffstats
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
commit4c75de7f39e73b40bd3b16c27fbce2c83965de99 (patch)
tree1d24b537a8e4cc5e95bc66cfd52b1d7a8fd28a36
parent83e468ae23090763baf97fdef84071d5cc471bd0 (diff)
downloadbcm5719-llvm-4c75de7f39e73b40bd3b16c27fbce2c83965de99.tar.gz
bcm5719-llvm-4c75de7f39e73b40bd3b16c27fbce2c83965de99.zip
Expand documentation of StringConstantPrefix.
llvm-svn: 51911
-rw-r--r--llvm/include/llvm/Target/TargetAsmInfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetAsmInfo.h b/llvm/include/llvm/Target/TargetAsmInfo.h
index a8a3529b767..9b5ba4819cb 100644
--- a/llvm/include/llvm/Target/TargetAsmInfo.h
+++ b/llvm/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 -------------------------------------===//
OpenPOWER on IntegriCloud