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 | 5034329f8d67ca705b600b01c8bbec3d0b0f6aba (patch) | |
tree | 2b766028d576ea10a2721bf506641a7395ede764 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 8977f04b12fc405870095b2682add7ba21d7e796 (diff) | |
download | bcm5719-llvm-5034329f8d67ca705b600b01c8bbec3d0b0f6aba.tar.gz bcm5719-llvm-5034329f8d67ca705b600b01c8bbec3d0b0f6aba.zip |
pass the mangler down into the various SectionForGlobal methods.
No functionality change.
llvm-svn: 77432
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index c9b500df08a..441f8057c8b 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -412,10 +412,11 @@ void AsmPrinter::EmitJumpTableInfo(MachineJumpTableInfo *MJTI, // the appropriate section. TargetLowering *LoweringInfo = TM.getTargetLowering(); - const char* JumpTableDataSection = TAI->getJumpTableDataSection(); + const char *JumpTableDataSection = TAI->getJumpTableDataSection(); const Function *F = MF.getFunction(); - const Section *FuncSection = getObjFileLowering().SectionForGlobal(F, TM); + const Section *FuncSection = + getObjFileLowering().SectionForGlobal(F, Mang, TM); bool JTInDiffSection = false; if ((IsPic && !(LoweringInfo && LoweringInfo->usesGlobalOffsetTable())) || |