From b718eca643df13010e3369a15899cb9adad432ec Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Wed, 20 May 2015 13:16:42 +0000 Subject: [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 --- llvm/lib/CodeGen/LLVMTargetMachine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp') 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; } -- cgit v1.2.3