This makes it easier to find the offending ELF file.
Details
Details
- Reviewers
phosek MaskRay - Group Reviewers
Restricted Project - Commits
- rG13b8bfc51451: [libunwind] Add more information to eh_frame_hdr version error
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for adding more information, but In ehdr at is incorrect. .eh_frame_hdr is a section. Its content is not in the ELF header.
Comment Actions
LGTM with some minor issues fixed.
The subject line does not end with a period. Please describe why you need extra information in the diagnostic.
libunwind/src/EHHeaderParser.hpp | ||
---|---|---|
60–61 | The standard diagnostics do not use capitalization: https://llvm.org/docs/CodingStandards.html#error-and-warning-messages libunwind mostly doesn't use capitalization | |
61 | Use static_cast<uint64_t>. pint_t is 32-bit on ELF32 platforms. |
The standard diagnostics do not use capitalization: https://llvm.org/docs/CodingStandards.html#error-and-warning-messages libunwind mostly doesn't use capitalization