[PATCH] D142425: [BOLT][DWARF] Reuse entries in .debug_addr when not modified
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 15:52:59 PST 2023
ayermolo added a comment.
Example of pre-bolt debug info
DW_TAG_compile_unit
DW_AT_addr_base (0x00000008)
DW_TAG_compile_unit
DW_AT_addr_base (0x00000008)
DW_TAG_compile_unit
DW_AT_addr_base (0x00000008)
If only the first CU was modified, and other two were not.
Before the fix:
DW_TAG_compile_unit
DW_AT_addr_base (0x00000008)
DW_TAG_compile_unit
DW_AT_addr_base (0x00000020)
DW_TAG_compile_unit
DW_AT_addr_base (0x00000030)
After the fix:
DW_TAG_compile_unit
DW_AT_addr_base (0x00000008)
DW_TAG_compile_unit
DW_AT_addr_base (0x00000020)
DW_TAG_compile_unit
DW_AT_addr_base (0x00000020)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142425/new/
https://reviews.llvm.org/D142425
More information about the llvm-commits
mailing list