aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-17 18:22:35 +0000
committerChris Lattner <sabre@nondot.org>2010-01-17 18:22:35 +0000
commit63ab9bb55ac6e3793357529b7221b8f2afe61baa (patch)
tree0aa6cf0211e02b1025c2fb3841c02d14d526e575 /lib/CodeGen/ELFWriter.cpp
parent63bf768f3b6b40a3e574daa6418002281b95b37f (diff)
downloadexternal_llvm-63ab9bb55ac6e3793357529b7221b8f2afe61baa.tar.gz
external_llvm-63ab9bb55ac6e3793357529b7221b8f2afe61baa.tar.bz2
external_llvm-63ab9bb55ac6e3793357529b7221b8f2afe61baa.zip
now that mangler is in libtarget, it can use MCAsmInfo instead of clients
having to pass various fields from it in. Simplify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
-rw-r--r--lib/CodeGen/ELFWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp
index 7af0aefb73..d1920d0c2d 100644
--- a/lib/CodeGen/ELFWriter.cpp
+++ b/lib/CodeGen/ELFWriter.cpp
@@ -119,7 +119,7 @@ bool ELFWriter::doInitialization(Module &M) {
// Initialize TargetLoweringObjectFile.
const_cast<TargetLoweringObjectFile&>(TLOF).Initialize(OutContext, TM);
- Mang = new Mangler(M);
+ Mang = new Mangler(*MAI);
// ELF Header
// ----------