diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-29 05:09:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-29 05:09:30 +0000 |
commit | 2931fe435726903f4b8c63ab542e27620dc1a2f3 (patch) | |
tree | 6fbf6ce95f4290e15a716defabb2928effc3739a /lib/Target/Sparc | |
parent | 16b7f6bb93ee93378e6c52d57269b612649f10f4 (diff) | |
download | external_llvm-2931fe435726903f4b8c63ab542e27620dc1a2f3.zip external_llvm-2931fe435726903f4b8c63ab542e27620dc1a2f3.tar.gz external_llvm-2931fe435726903f4b8c63ab542e27620dc1a2f3.tar.bz2 |
pass the mangler down into the various SectionForGlobal methods.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp index a4eba87..1e31487 100644 --- a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp @@ -96,7 +96,7 @@ bool SparcAsmPrinter::runOnMachineFunction(MachineFunction &MF) { // Print out the label for the function. const Function *F = MF.getFunction(); - SwitchToSection(getObjFileLowering().SectionForGlobal(F, TM)); + SwitchToSection(getObjFileLowering().SectionForGlobal(F, Mang, TM)); EmitAlignment(MF.getAlignment(), F); O << "\t.globl\t" << CurrentFnName << '\n'; @@ -230,7 +230,7 @@ void SparcAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) { printVisibility(name, GVar->getVisibility()); - SwitchToSection(getObjFileLowering().SectionForGlobal(GVar, TM)); + SwitchToSection(getObjFileLowering().SectionForGlobal(GVar, Mang, TM)); if (C->isNullValue() && !GVar->hasSection()) { if (!GVar->isThreadLocal() && |