From bd44c2e383723ef738f37a22ece912d163c66096 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 3 Jun 2008 18:15:03 +0000 Subject: [PATCH] Expand documentation of StringConstantPrefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51911 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetAsmInfo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index a8a3529b767..9b5ba4819cb 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 -------------------------------------===// -- 2.34.1