From 1119ea03c54e481879fcb6176ff814edac5e1930 Mon Sep 17 00:00:00 2001 From: Eric Schweitz Date: Mon, 4 Dec 2017 16:26:56 -0800 Subject: [PATCH] Add DW_TAG_string_type as acceptable to the Verifier --- lib/IR/Verifier.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp index 084eaba7064c9..542fca2f4d8bb 100644 --- a/lib/IR/Verifier.cpp +++ b/lib/IR/Verifier.cpp @@ -868,7 +868,8 @@ void Verifier::visitDIEnumerator(const DIEnumerator &N) { void Verifier::visitDIBasicType(const DIBasicType &N) { AssertDI(N.getTag() == dwarf::DW_TAG_base_type || - N.getTag() == dwarf::DW_TAG_unspecified_type, + N.getTag() == dwarf::DW_TAG_unspecified_type || + N.getTag() == dwarf::DW_TAG_string_type, "invalid tag", &N); }