Remove StringConstantPrefix now that the only user
authorDuncan Sands <baldrick@free.fr>
Wed, 15 Jul 2009 12:39:48 +0000 (12:39 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 15 Jul 2009 12:39:48 +0000 (12:39 +0000)
(llvm-gcc) has gone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75781 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetAsmInfo.h
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp

index b38a2e674302d14b80dacd9a9266ad9b897b5145..109c1e1a6c2a80079fa50ff63691ae6a20963e46 100644 (file)
@@ -275,12 +275,6 @@ namespace llvm {
     /// AssemblerDialect - Which dialect of an assembler variant to use.
     unsigned AssemblerDialect;            // Defaults to 0
 
-    /// 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"
-
     /// AllowQuotesInName - This is true if the assembler allows for complex
     /// symbol names to be surrounded in quotes.  This defaults to false.
     bool AllowQuotesInName;
@@ -751,9 +745,6 @@ namespace llvm {
     unsigned getAssemblerDialect() const {
       return AssemblerDialect;
     }
-    const char *getStringConstantPrefix() const {
-      return StringConstantPrefix;
-    }
     bool doesAllowQuotesInName() const {
       return AllowQuotesInName;
     }
index 329beff3c53b0ad4826757eec3c225ba1f039b92..7ab3967c0d1bf2bd0c006d223ce927ac402a78ee 100644 (file)
@@ -58,7 +58,6 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const TargetMachine &TM)
   GlobalPrefix = "_";
   PrivateGlobalPrefix = "L";
   LessPrivateGlobalPrefix = "l";  // Marker for some ObjC metadata
-  StringConstantPrefix = "\1LC";
   NeedsSet = true;
   NeedsIndirectEncoding = true;
   AllowQuotesInName = true;
index eeebc27ec2087b4fefb68b49def9d136d4f7e605..333aa9dbbe7b6d794da7386435c870844fa806d1 100644 (file)
@@ -59,7 +59,6 @@ TargetAsmInfo::TargetAsmInfo(const TargetMachine &tm)
   InlineAsmStart = "#APP";
   InlineAsmEnd = "#NO_APP";
   AssemblerDialect = 0;
-  StringConstantPrefix = ".str";
   AllowQuotesInName = false;
   ZeroDirective = "\t.zero\t";
   ZeroDirectiveSuffix = 0;