[llvm] r204528 - Dwarf Debug: Remove some cargo-cult type uniquing. Scopes do not have
Adrian Prantl
aprantl at apple.com
Fri Mar 21 15:16:33 PDT 2014
Author: adrian
Date: Fri Mar 21 17:16:32 2014
New Revision: 204528
URL: http://llvm.org/viewvc/llvm-project?rev=204528&view=rev
Log:
Dwarf Debug: Remove some cargo-cult type uniquing. Scopes do not have
an ID, so this is a noop.
Thanks Manman for catching this!
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=204528&r1=204527&r2=204528&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Fri Mar 21 17:16:32 2014
@@ -604,7 +604,7 @@ DIE *DwarfDebug::constructScopeDIE(Dwarf
return NULL;
// Unique scope where applicable.
- DIScope DS(resolve(DIScope(Scope->getScopeNode()).getRef()));
+ DIScope DS(Scope->getScopeNode());
SmallVector<DIE *, 8> Children;
DIE *ObjectPointer = NULL;
More information about the llvm-commits
mailing list