diff options
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 9 | ||||
-rw-r--r-- | lib/Target/DarwinTargetAsmInfo.cpp | 1 | ||||
-rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index b38a2e6..109c1e1 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -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; } diff --git a/lib/Target/DarwinTargetAsmInfo.cpp b/lib/Target/DarwinTargetAsmInfo.cpp index 329beff..7ab3967 100644 --- a/lib/Target/DarwinTargetAsmInfo.cpp +++ b/lib/Target/DarwinTargetAsmInfo.cpp @@ -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; diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index eeebc27..333aa9d 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -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; |