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:
Devang Patel 2010-05-07 21:42:24 +00:00
parent 0a406ae0d9
commit 62077af40e

View File

@ -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;