forked from OSchip/llvm-project
[DwarfVerifier] Fixed -Wimplicit-fallthrough warning
Reviewers: JDevlieghere, RKSimon Reviewed By: JDevlieghere Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D52963 llvm-svn: 344176
This commit is contained in:
parent
103f0161b3
commit
7e30c91dca
|
@ -508,14 +508,15 @@ unsigned DWARFVerifier::verifyDebugInfoAttribute(const DWARFDie &Die,
|
||||||
"incompatible tag " +
|
"incompatible tag " +
|
||||||
TagString(RefTag));
|
TagString(RefTag));
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case DW_AT_type: {
|
case DW_AT_type: {
|
||||||
DWARFDie TypeDie = Die.getAttributeValueAsReferencedDie(DW_AT_type);
|
DWARFDie TypeDie = Die.getAttributeValueAsReferencedDie(DW_AT_type);
|
||||||
if (TypeDie && !isType(TypeDie.getTag())) {
|
if (TypeDie && !isType(TypeDie.getTag())) {
|
||||||
ReportError("DIE has " + AttributeString(Attr) +
|
ReportError("DIE has " + AttributeString(Attr) +
|
||||||
" with incompatible tag " + TagString(TypeDie.getTag()));
|
" with incompatible tag " + TagString(TypeDie.getTag()));
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue