mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Added llvm_unreachable as ReportError cannot be specified as noreturn.
llvm-svn: 305143
This commit is contained in:
parent
bafaba0c14
commit
ea14c82d0b
@ -585,6 +585,7 @@ void DWARFDebugFrame::parse(DataExtractor Data) {
|
|||||||
switch (AugmentationString[i]) {
|
switch (AugmentationString[i]) {
|
||||||
default:
|
default:
|
||||||
ReportError("Unknown augmentation character in entry at %lx");
|
ReportError("Unknown augmentation character in entry at %lx");
|
||||||
|
llvm_unreachable("ReportError should not return.");
|
||||||
case 'L':
|
case 'L':
|
||||||
LSDAPointerEncoding = Data.getU8(&Offset);
|
LSDAPointerEncoding = Data.getU8(&Offset);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user