[llvm] f608752 - [DWARF] Show which augmentation character was unrecognized.
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 3 15:35:43 PDT 2022
Author: Florian Mayer
Date: 2022-06-03T15:35:33-07:00
New Revision: f60875254bf76d86efab98e5a955de5566848170
URL: https://github.com/llvm/llvm-project/commit/f60875254bf76d86efab98e5a955de5566848170
DIFF: https://github.com/llvm/llvm-project/commit/f60875254bf76d86efab98e5a955de5566848170.diff
LOG: [DWARF] Show which augmentation character was unrecognized.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D127003
Added:
Modified:
llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
Removed:
################################################################################
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
index dcd096433c933..86b4a2fe270fc 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
@@ -1101,8 +1101,8 @@ Error DWARFDebugFrame::parse(DWARFDataExtractor Data) {
default:
return createStringError(
errc::invalid_argument,
- "unknown augmentation character in entry at 0x%" PRIx64,
- StartOffset);
+ "unknown augmentation character %c in entry at 0x%" PRIx64,
+ AugmentationString[i], StartOffset);
case 'L':
LSDAPointerEncoding = Data.getU8(&Offset);
break;
More information about the llvm-commits
mailing list