mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-10 08:40:41 +00:00
After r138010, subroutine type does not have context info. Update type verifier accordingly.
This fixes ptype.exp gdb testsuite regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138869 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d3f329453
commit
b71541a2db
@ -367,6 +367,7 @@ bool DIType::Verify() const {
|
||||
Tag != dwarf::DW_TAG_reference_type && Tag != dwarf::DW_TAG_restrict_type
|
||||
&& Tag != dwarf::DW_TAG_vector_type && Tag != dwarf::DW_TAG_array_type
|
||||
&& Tag != dwarf::DW_TAG_enumeration_type
|
||||
&& Tag != dwarf::DW_TAG_subroutine_type
|
||||
&& getFilename().empty())
|
||||
return false;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user