mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 02:25:01 +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:
@@ -368,6 +368,9 @@ bool DIVariable::Verify() const {
|
|||||||
if (!getContext().Verify())
|
if (!getContext().Verify())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (!getCompileUnit().Verify())
|
||||||
|
return false;
|
||||||
|
|
||||||
DIType Ty = getType();
|
DIType Ty = getType();
|
||||||
if (!Ty.Verify())
|
if (!Ty.Verify())
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user