diff options
author | Eric Christopher <echristo@apple.com> | 2011-11-07 22:11:16 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-11-07 22:11:16 +0000 |
commit | 56c2b109f73f895b591d2303128c8adcf0bc2c3d (patch) | |
tree | 19b1e15d1bf42c42c477be222aa6a6bfe955b2ef /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 32dc4d9cd76795f43478e80eec9b1e073adf0f98 (diff) |
Add all completed and named types to the dwarf type accelerator tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 39d0d1c96b..64e0e92edb 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1834,8 +1834,7 @@ void DwarfDebug::emitAccelTypes() { for (DenseMap<const MDNode *, CompileUnit *>::iterator I = CUMap.begin(), E = CUMap.end(); I != E; ++I) { CompileUnit *TheCU = I->second; - const StringMap<DIE*> &Names = TheCU->getGlobalTypes(); - //TODO: TheCU->getAccelTypes(); + const StringMap<DIE*> &Names = TheCU->getAccelTypes(); for (StringMap<DIE*>::const_iterator GI = Names.begin(), GE = Names.end(); GI != GE; ++GI) { const char *Name = GI->getKeyData(); |