projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a406ae
)
Verify compile unit also.
author
Devang Patel
<dpatel@apple.com>
Fri, 7 May 2010 21:42:24 +0000
(21:42 +0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 7 May 2010 21:42:24 +0000
(21:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103300
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DebugInfo.cpp
b/lib/Analysis/DebugInfo.cpp
index 7b4935c94c947cddd02c8fdff632d26907f2f521..56bf5804935fa2a023f79a13bb5d636b8ea0f6c9 100644
(file)
--- a/
lib/Analysis/DebugInfo.cpp
+++ b/
lib/Analysis/DebugInfo.cpp
@@
-368,6
+368,9
@@
bool DIVariable::Verify() const {
if (!getContext().Verify())
return false;
+ if (!getCompileUnit().Verify())
+ return false;
+
DIType Ty = getType();
if (!Ty.Verify())
return false;