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/ELFWriter.cpp | |
parent | 8977f04b12fc405870095b2682add7ba21d7e796 (diff) | |
download | llvm-5034329f8d67ca705b600b01c8bbec3d0b0f6aba.zip llvm-5034329f8d67ca705b600b01c8bbec3d0b0f6aba.tar.gz llvm-5034329f8d67ca705b600b01c8bbec3d0b0f6aba.tar.bz2 |
pass the mangler down into the various SectionForGlobal methods.
No functionality change.
llvm-svn: 77432
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ELFWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp index 5587b52..bf2d0bd 100644 --- a/llvm/lib/CodeGen/ELFWriter.cpp +++ b/llvm/lib/CodeGen/ELFWriter.cpp @@ -326,7 +326,7 @@ void ELFWriter::EmitGlobal(const GlobalValue *GV) { TM.getTargetLowering()->getObjFileLowering(); // Get the ELF section where this global belongs from TLOF - const Section *S = TLOF.SectionForGlobal(GV, TM); + const Section *S = TLOF.SectionForGlobal(GV, Mang, TM); unsigned SectionFlags = getElfSectionFlags(S->getKind()); // The symbol align should update the section alignment if needed |