diff options
author | Dale Johannesen <dalej@apple.com> | 2008-06-03 18:09:06 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-06-03 18:09:06 +0000 |
commit | 355b74acc227fe586711e9a7dc6bf9933e055f0d (patch) | |
tree | 96f4874d400169b577eda74713709a7ae7ae0741 /llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp | |
parent | 5832c035093a1b9e5e4ab19e65470095f5c1e60d (diff) | |
download | bcm5719-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/ARM/ARMTargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp index 65947fb188f..47abcc6f407 100644 --- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp +++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp @@ -48,6 +48,7 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) { if (Subtarget->isTargetDarwin()) { GlobalPrefix = "_"; PrivateGlobalPrefix = "L"; + StringConstantPrefix = "\1LC"; BSSSection = 0; // no BSS section. ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill SetDirective = "\t.set\t"; |