[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 20 22:41:20 PST 2005



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.15 -> 1.16
---
Log message:

Add a new option.


---
Diffs of the changes:  (+6 -0)

 AsmPrinter.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.15 llvm/include/llvm/CodeGen/AsmPrinter.h:1.16
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.15	Mon Nov 14 12:59:42 2005
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Mon Nov 21 00:41:08 2005
@@ -54,6 +54,11 @@
     /// onto all global symbols.  This is often used for "_" or ".".
     const char *GlobalPrefix;    // Defaults to ""
 
+    /// PrivateGlobalPrefix - This prefix is used for globals like constant
+    /// pool entries that are completely private to the .o file and should not
+    /// have names in the .o file.  This is often "." or "L".
+    const char *PrivateGlobalPrefix;   // Defaults to "."
+    
     /// GlobalVarAddrPrefix/Suffix - If these are nonempty, these strings
     /// will enclose any GlobalVariable (that isn't a function)
     ///
@@ -107,6 +112,7 @@
       : O(o), TM(tm),
         CommentString("#"),
         GlobalPrefix(""),
+        PrivateGlobalPrefix("."),
         GlobalVarAddrPrefix(""),
         GlobalVarAddrSuffix(""),
         FunctionAddrPrefix(""),






More information about the llvm-commits mailing list