OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60f719
)
Dwarf Debug: Remove some cargo-cult type uniquing. Scopes do not have
author
Adrian Prantl
<aprantl@apple.com>
Fri, 21 Mar 2014 22:16:32 +0000
(22:16 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Fri, 21 Mar 2014 22:16:32 +0000
(22:16 +0000)
an ID, so this is a noop.
Thanks Manman for catching this!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204528
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index
027f0b8
..
af7c3c6
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@
-604,7
+604,7
@@
DIE *DwarfDebug::constructScopeDIE(DwarfCompileUnit *TheCU,
return NULL;
// Unique scope where applicable.
- DIScope DS(
resolve(DIScope(Scope->getScopeNode()).getRef()
));
+ DIScope DS(
Scope->getScopeNode(
));
SmallVector<DIE *, 8> Children;
DIE *ObjectPointer = NULL;