Skip to content

Commit b911836

Browse files
committed
Allow DW_TAG_string_type to be created as a DIBasicType tag.
1 parent 37717b4 commit b911836

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/IR/Verifier.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,8 @@ void Verifier::visitDIEnumerator(const DIEnumerator &N) {
875875

876876
void Verifier::visitDIBasicType(const DIBasicType &N) {
877877
AssertDI(N.getTag() == dwarf::DW_TAG_base_type ||
878-
N.getTag() == dwarf::DW_TAG_unspecified_type,
878+
N.getTag() == dwarf::DW_TAG_unspecified_type ||
879+
N.getTag() == dwarf::DW_TAG_string_type,
879880
"invalid tag", &N);
880881
}
881882

0 commit comments

Comments
 (0)