commit | 2a2a67300bbc6da884a2b12d1f97c92ea7ebbd14 | [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 | f226d1a01ab356fc4872fb40d069d8e1d32929a1 | |
parent | e452eaff91d80d543825e5b689744bd31e59e426 [diff] [blame] |
give Mangler access to TargetData. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98378 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 6b9ae4f..b1ba0d2 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp
@@ -1734,7 +1734,7 @@ #endif TAsm = new CBEMCAsmInfo(); TCtx = new MCContext(*TAsm); - Mang = new Mangler(*TCtx); + Mang = new Mangler(*TCtx, *TD); // Keep track of which functions are static ctors/dtors so they can have // an attribute added to their prototypes.