diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-12 20:47:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-12 20:47:28 +0000 |
commit | c7b46f9d9c715e70b1a2af87a66fcdb693ba1bbc (patch) | |
tree | 67597a23c36c24ff507d9d15c1473a93ee3eb332 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 892ac21f067586300ab049b4d34d22149ff1274c (diff) | |
download | bcm5719-llvm-c7b46f9d9c715e70b1a2af87a66fcdb693ba1bbc.tar.gz bcm5719-llvm-c7b46f9d9c715e70b1a2af87a66fcdb693ba1bbc.zip |
give Mangler access to TargetData.
llvm-svn: 98378
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 0a283931eda..68da74581b9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -104,7 +104,7 @@ bool AsmPrinter::doInitialization(Module &M) { const_cast<TargetLoweringObjectFile&>(getObjFileLowering()) .Initialize(OutContext, TM); - Mang = new Mangler(OutContext); + Mang = new Mangler(OutContext, *TM.getTargetData()); // Allow the target to emit any magic that it wants at the start of the file. EmitStartOfAsmFile(M); |