Added llvm_unreachable as ReportError cannot be specified as noreturn.

llvm-svn: 305143
This commit is contained in:
Galina Kistanova 2017-06-10 07:50:14 +00:00
parent aeae905f71
commit 038f9854ec
1 changed files with 1 additions and 0 deletions

View File

@ -585,6 +585,7 @@ void DWARFDebugFrame::parse(DataExtractor Data) {
switch (AugmentationString[i]) {
default:
ReportError("Unknown augmentation character in entry at %lx");
llvm_unreachable("ReportError should not return.");
case 'L':
LSDAPointerEncoding = Data.getU8(&Offset);
break;