projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Debug Info: Use identifier to reference DIType in containing type field of
[oota-llvm.git]
/
lib
/
IR
/
DebugInfo.cpp
diff --git
a/lib/IR/DebugInfo.cpp
b/lib/IR/DebugInfo.cpp
index 8a6f006d3234a036df37c82b622e219ed6bc75f3..5828a3fcfa52f46e5e3f1c03447a81a99e20623f 100644
(file)
--- a/
lib/IR/DebugInfo.cpp
+++ b/
lib/IR/DebugInfo.cpp
@@
-524,7
+524,7
@@
bool DISubprogram::Verify() const {
if (!fieldIsMDNode(DbgNode, 7))
return false;
// Containing type @ field 12.
- if (!fieldIs
MDNode
(DbgNode, 12))
+ if (!fieldIs
TypeRef
(DbgNode, 12))
return false;
return DbgNode->getNumOperands() == 20;
}