forked from OSchip/llvm-project
Added llvm_unreachable as ReportError cannot be specified as noreturn.
llvm-svn: 305143
This commit is contained in:
parent
aeae905f71
commit
038f9854ec
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue