summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit355b74acc227fe586711e9a7dc6bf9933e055f0d (patch)
tree96f4874d400169b577eda74713709a7ae7ae0741 /llvm/lib/Target/X86/X86TargetAsmInfo.cpp
parent5832c035093a1b9e5e4ab19e65470095f5c1e60d (diff)
downloadbcm5719-llvm-355b74acc227fe586711e9a7dc6bf9933e055f0d.tar.gz
bcm5719-llvm-355b74acc227fe586711e9a7dc6bf9933e055f0d.zip
Add StringConstantPrefix to control what the
assembler names of string constants look like. llvm-svn: 51909
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp b/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
index 7e90cd9b3e7..887c13dcc76 100644
--- a/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud