[PATCH] D126841: [libunwind] Add more information to eh_frame_hdr version error.
Florian Mayer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 18:10:39 PDT 2022
fmayer updated this revision to Diff 433605.
fmayer added a comment.
fixes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126841/new/
https://reviews.llvm.org/D126841
Files:
libunwind/src/EHHeaderParser.hpp
Index: libunwind/src/EHHeaderParser.hpp
===================================================================
--- libunwind/src/EHHeaderParser.hpp
+++ libunwind/src/EHHeaderParser.hpp
@@ -57,7 +57,8 @@
pint_t p = ehHdrStart;
uint8_t version = addressSpace.get8(p++);
if (version != 1) {
- _LIBUNWIND_LOG0("Unsupported .eh_frame_hdr version");
+ _LIBUNWIND_LOG("unsupported .eh_frame_hdr version: %" PRIu8 " at %" PRIx64,
+ version, static_cast<uint64_t>(ehHdrStart));
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126841.433605.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220602/6be7b839/attachment.bin>
More information about the llvm-commits
mailing list