summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
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/PowerPC
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/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 85ead11f890..058de655efa 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -39,6 +39,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
CommentString = ";";
GlobalPrefix = "_";
PrivateGlobalPrefix = "L";
+ StringConstantPrefix = "\1LC";
ConstantPoolSection = "\t.const\t";
JumpTableDataSection = ".const";
CStringSection = "\t.cstring";
OpenPOWER on IntegriCloud