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 | e53a600f065075731d0aeb9dc8f4f3d75f5a05f8 (patch) | |
tree | 6fbf6ce95f4290e15a716defabb2928effc3739a /lib/Target/SystemZ | |
parent | 636bef1f35eb7ca4c605d57aa6b8fbe9ff8207a8 (diff) | |
download | external_llvm-e53a600f065075731d0aeb9dc8f4f3d75f5a05f8.zip external_llvm-e53a600f065075731d0aeb9dc8f4f3d75f5a05f8.tar.gz external_llvm-e53a600f065075731d0aeb9dc8f4f3d75f5a05f8.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/SystemZ')
-rw-r--r-- | lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp index 9a9a4b7..ef64eb8 100644 --- a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp +++ b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp @@ -83,7 +83,7 @@ void SystemZAsmPrinter::emitFunctionHeader(const MachineFunction &MF) { unsigned FnAlign = MF.getAlignment(); const Function *F = MF.getFunction(); - SwitchToSection(getObjFileLowering().SectionForGlobal(F, TM)); + SwitchToSection(getObjFileLowering().SectionForGlobal(F, Mang, TM)); EmitAlignment(FnAlign, F); @@ -331,7 +331,7 @@ void SystemZAsmPrinter::PrintGlobalVariable(const GlobalVariable* GVar) { O << "\t.type\t" << name << ",@object\n"; - SwitchToSection(getObjFileLowering().SectionForGlobal(GVar, TM)); + SwitchToSection(getObjFileLowering().SectionForGlobal(GVar, Mang, TM)); if (C->isNullValue() && !GVar->hasSection() && !GVar->isThreadLocal() && |