Add a new option.
authorChris Lattner <sabre@nondot.org>
Mon, 21 Nov 2005 06:41:08 +0000 (06:41 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Nov 2005 06:41:08 +0000 (06:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24439 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h

index 1a207271031b7a0d576ca894f1a3fc82de10142e..ce5cf49d346928dcab18857bf5962299bdf94aa9 100644 (file)
@@ -54,6 +54,11 @@ namespace llvm {
     /// 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 @@ namespace llvm {
       : O(o), TM(tm),
         CommentString("#"),
         GlobalPrefix(""),
+        PrivateGlobalPrefix("."),
         GlobalVarAddrPrefix(""),
         GlobalVarAddrSuffix(""),
         FunctionAddrPrefix(""),