[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 17:20:15 PDT 2022
fmayer created this revision.
Herald added projects: libunwind, All.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libunwind.
fmayer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
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 " in ehdr at %"
+ PRIx64, version, ehHdrStart);
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126841.433596.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220602/444d9f87/attachment.bin>
More information about the libcxx-commits
mailing list