[libcxx-commits] [PATCH] D126841: [libunwind] Add more information to eh_frame_hdr version error
Florian Mayer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 1 19:48:34 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG13b8bfc51451: [libunwind] Add more information to eh_frame_hdr version error (authored by fmayer).
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.433630.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220602/b2bb1514/attachment.bin>
More information about the libcxx-commits
mailing list