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 | 5139dadd503c928d0dfc3515e0fc92dc4cdf25b4 (patch) | |
tree | 735956a28fc869c7336d9e51c31308fe5950c6a6 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | fc1935c8bf29c7f64a8f6f107dea4b51926300e9 (diff) | |
download | bcm5719-llvm-5139dadd503c928d0dfc3515e0fc92dc4cdf25b4.tar.gz bcm5719-llvm-5139dadd503c928d0dfc3515e0fc92dc4cdf25b4.zip |
Add all completed and named types to the dwarf type accelerator tables.
llvm-svn: 144027
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 39d0d1c96bb..64e0e92edb5 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/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(); |