mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Remove the llvm-local DW_TAG_vector_type tag and add a test to
make sure that vector types do work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171833 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -197,7 +197,6 @@ bool DIDescriptor::isCompositeType() const {
|
||||
case dwarf::DW_TAG_structure_type:
|
||||
case dwarf::DW_TAG_union_type:
|
||||
case dwarf::DW_TAG_enumeration_type:
|
||||
case dwarf::DW_TAG_vector_type:
|
||||
case dwarf::DW_TAG_subroutine_type:
|
||||
case dwarf::DW_TAG_class_type:
|
||||
return true;
|
||||
@@ -426,7 +425,7 @@ bool DIType::Verify() const {
|
||||
Tag != dwarf::DW_TAG_ptr_to_member_type &&
|
||||
Tag != dwarf::DW_TAG_reference_type &&
|
||||
Tag != dwarf::DW_TAG_rvalue_reference_type &&
|
||||
Tag != dwarf::DW_TAG_restrict_type && Tag != dwarf::DW_TAG_vector_type &&
|
||||
Tag != dwarf::DW_TAG_restrict_type &&
|
||||
Tag != dwarf::DW_TAG_array_type &&
|
||||
Tag != dwarf::DW_TAG_enumeration_type &&
|
||||
Tag != dwarf::DW_TAG_subroutine_type &&
|
||||
@@ -1100,6 +1099,8 @@ void DIType::printInternal(raw_ostream &OS) const {
|
||||
|
||||
if (isForwardDecl())
|
||||
OS << " [fwd]";
|
||||
if (isVector())
|
||||
OS << " [vector]";
|
||||
}
|
||||
|
||||
void DIDerivedType::printInternal(raw_ostream &OS) const {
|
||||
|
||||
Reference in New Issue
Block a user