Fixing a small bug where it would assert if CU does not modify .debug_addr section.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125181
[BOLT][DWARF] Fix assert for split dwarf. ClosedPublic Authored by ayermolo on May 7 2022, 5:59 PM.
Details Summary Fixing a small bug where it would assert if CU does not modify .debug_addr section.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.May 8 2022, 6:05 PM Closed by commit rG3abb68a62616: [BOLT][DWARF] Fix assert for split dwarf. (authored by ayermolo). · Explain WhyMay 8 2022, 7:19 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 427904 bolt/lib/Core/DebugData.cpp
bolt/lib/Rewrite/DWARFRewriter.cpp
bolt/test/X86/Inputs/dwarf4-split-dwarf-no-address-helper.s
bolt/test/X86/Inputs/dwarf4-split-dwarf-no-address-main.s
bolt/test/X86/dwarf4-split-dwarf-no-address.test
|
Won't this code be unreachable after the change in 1003?