We were trying to process .debug_addr for CU that doesn't have it. This resulted
in assert. Example came from GCC that also doesn't use DW_OP_addrx in
DW_FORM_exprloc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D132422
[BOLT][DWARF] Fix updating CU that has no entry in .debug_addr ClosedPublic Authored by ayermolo on Aug 22 2022, 5:09 PM.
Details Summary We were trying to process .debug_addr for CU that doesn't have it. This resulted
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 25 2022, 2:01 PM Closed by commit rG1ee74064e083: [BOLT][DWARF] Fix updating CU that has no entry in .debug_addr (authored by ayermolo). · Explain WhyAug 25 2022, 5:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 455764 bolt/include/bolt/Core/DebugData.h
bolt/lib/Rewrite/DWARFRewriter.cpp
bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-helper.s
bolt/test/X86/Inputs/dwarf5-cu-no-debug-addr-main.s
bolt/test/X86/dwarf5-cu-no-debug-addr.test
|