summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-05-20 13:16:42 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-05-20 13:16:42 +0000
commitb718eca643df13010e3369a15899cb9adad432ec (patch)
tree854a275ecdd5a8e6c3e0ab448399ab2e0ee1e2c4 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parentd7589ffe1d9319e1ff36bee1b6d61b44aabbba09 (diff)
downloadbcm5719-llvm-b718eca643df13010e3369a15899cb9adad432ec.tar.gz
bcm5719-llvm-b718eca643df13010e3369a15899cb9adad432ec.zip
[mips] The naming convention for private labels is ABI dependant.
Summary: For N32/N64, private labels begin with '.L' but for O32 they begin with '$'. MCAsmInfo now has an initializer function which can be used to provide information from the TargetMachine to control the assembly syntax. Reviewers: vkalintiris Reviewed By: vkalintiris Subscribers: jfb, sandeep, llvm-commits, rafael Differential Revision: http://reviews.llvm.org/D9821 llvm-svn: 237789
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index 610c9f47bac..d49c4f0be5c 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -67,6 +67,7 @@ void LLVMTargetMachine::initAsmInfo() {
if (Options.CompressDebugSections)
TmpAsmInfo->setCompressDebugSections(true);
+ TmpAsmInfo->finishInit(*this);
AsmInfo = TmpAsmInfo;
}
OpenPOWER on IntegriCloud