mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
Verify compile unit also.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a406ae0d9
commit
62077af40e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user