diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2017-06-10 07:50:14 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2017-06-10 07:50:14 +0000 |
commit | 038f9854ec9df348c16496004fcee9e4769ebe1e (patch) | |
tree | ca5a6448619ed3891edc69d0fcf75de8495e0a4b /llvm/lib/DebugInfo/DWARF | |
parent | aeae905f71173e47e8068ecbc657032ec01e6ca6 (diff) | |
download | bcm5719-llvm-038f9854ec9df348c16496004fcee9e4769ebe1e.tar.gz bcm5719-llvm-038f9854ec9df348c16496004fcee9e4769ebe1e.zip |
Added llvm_unreachable as ReportError cannot be specified as noreturn.
llvm-svn: 305143
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp index 4856ab91a18..e6e007896cc 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -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; |