summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-06-03 18:09:06 +0000
committerDale Johannesen <dalej@apple.com>2008-06-03 18:09:06 +0000
commit428ac54894f80ba4848d5f13576643f289412e6f (patch)
tree4ab74721c76e3428d24858b54a68974f399f5fa5 /lib/Target/X86/X86TargetAsmInfo.cpp
parenteefc845b5f407adf1992602aaac1142b2d583220 (diff)
downloadllvm-428ac54894f80ba4848d5f13576643f289412e6f.tar.gz
llvm-428ac54894f80ba4848d5f13576643f289412e6f.tar.bz2
llvm-428ac54894f80ba4848d5f13576643f289412e6f.tar.xz
Add StringConstantPrefix to control what the
assembler names of string constants look like. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r--lib/Target/X86/X86TargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp
index 7e90cd9b3e..887c13dcc7 100644
--- a/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/lib/Target/X86/X86TargetAsmInfo.cpp
@@ -66,6 +66,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) {
ReadOnlySection = "\t.const\n";
LCOMMDirective = "\t.lcomm\t";
SwitchToSectionDirective = "\t.section ";
+ StringConstantPrefix = "\1LC";
COMMDirectiveTakesAlignment = false;
HasDotTypeDotSizeDirective = false;
if (TM.getRelocationModel() == Reloc::Static) {