[llvm-commits] [llvm] r51911 - /llvm/trunk/include/llvm/Target/TargetAsmInfo.h

Dale Johannesen dalej at apple.com
Tue Jun 3 11:15:04 PDT 2008


Author: johannes
Date: Tue Jun  3 13:15:03 2008
New Revision: 51911

URL: http://llvm.org/viewvc/llvm-project?rev=51911&view=rev
Log:
Expand documentation of StringConstantPrefix.


Modified:
    llvm/trunk/include/llvm/Target/TargetAsmInfo.h

Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=51911&r1=51910&r2=51911&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Tue Jun  3 13:15:03 2008
@@ -147,8 +147,10 @@
     /// 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 -------------------------------------===//





More information about the llvm-commits mailing list