diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-12 18:44:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-12 18:44:54 +0000 |
commit | 2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef (patch) | |
tree | 2a455665a06e23818e8603f39f6167fba3abb048 /llvm/lib/CodeGen/ELFWriter.cpp | |
parent | f3cd665d5af66e336c542f04972fafb21865357b (diff) | |
download | llvm-2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef.zip llvm-2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef.tar.gz llvm-2eff505fba3f0c0f16c5fbc6eaa8066b47e29fef.tar.bz2 |
make the mangler take an MCContext instead of an MAI.
No functionality change.
llvm-svn: 98363
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 a748b8b..d73581a 100644 --- a/llvm/lib/CodeGen/ELFWriter.cpp +++ b/llvm/lib/CodeGen/ELFWriter.cpp @@ -109,7 +109,7 @@ bool ELFWriter::doInitialization(Module &M) { // Initialize TargetLoweringObjectFile. const_cast<TargetLoweringObjectFile&>(TLOF).Initialize(OutContext, TM); - Mang = new Mangler(*MAI); + Mang = new Mangler(OutContext); // ELF Header // ---------- |