[PATCH] D127003: [DWARF] Show which augmentation character was unrecognized.

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 15:35:54 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf60875254bf7: [DWARF] Show which augmentation character was unrecognized. (authored by fmayer).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127003/new/

https://reviews.llvm.org/D127003

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp


Index: llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
===================================================================
--- llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+++ llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
@@ -1101,8 +1101,8 @@
           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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127003.434165.patch
Type: text/x-patch
Size: 673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220603/87a06751/attachment.bin>


More information about the llvm-commits mailing list