commit | c7b46f9d9c715e70b1a2af87a66fcdb693ba1bbc | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Mar 12 20:47:28 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Mar 12 20:47:28 2010 +0000 |
tree | 67597a23c36c24ff507d9d15c1473a93ee3eb332 | |
parent | 892ac21f067586300ab049b4d34d22149ff1274c [diff] [blame] |
give Mangler access to TargetData. llvm-svn: 98378
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp index d73581a..eda167c 100644 --- a/llvm/lib/CodeGen/ELFWriter.cpp +++ b/llvm/lib/CodeGen/ELFWriter.cpp
@@ -109,7 +109,7 @@ // Initialize TargetLoweringObjectFile. const_cast<TargetLoweringObjectFile&>(TLOF).Initialize(OutContext, TM); - Mang = new Mangler(OutContext); + Mang = new Mangler(OutContext, *TM.getTargetData()); // ELF Header // ----------