aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-29 05:09:30 +0000
committerChris Lattner <sabre@nondot.org>2009-07-29 05:09:30 +0000
commit5034329f8d67ca705b600b01c8bbec3d0b0f6aba (patch)
tree2b766028d576ea10a2721bf506641a7395ede764 /llvm/lib/CodeGen/ELFWriter.cpp
parent8977f04b12fc405870095b2682add7ba21d7e796 (diff)
downloadllvm-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.cpp2
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