1
0
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:
Galina Kistanova 2017-06-10 07:50:14 +00:00
parent bafaba0c14
commit ea14c82d0b

View File

@ -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;