[all-commits] [llvm/llvm-project] f23009: [BOLT][DWARF] Reuse entries in .debug_addr when no...
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Tue Jan 24 15:56:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f230099c132722a3065ac6a00e1cd6052b1a7365
https://github.com/llvm/llvm-project/commit/f230099c132722a3065ac6a00e1cd6052b1a7365
Author: Alexander Yermolovich <ayermolo at fb.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)
Changed paths:
M bolt/lib/Core/DebugData.cpp
A bolt/test/X86/Inputs/dwarf5-helper1-addr-section-reuse.s
A bolt/test/X86/Inputs/dwarf5-helper2-addr-section-reuse.s
A bolt/test/X86/Inputs/dwarf5-main-addr-section-reuse.s
A bolt/test/X86/dwarf5-addr-section-reuse.s
Log Message:
-----------
[BOLT][DWARF] Reuse entries in .debug_addr when not modified
In some binaries produced with ThinLTO there are CUs that share entry in
.debug_addr. Before we would generate a new entry for each. Which lead to binary
size increase. This changes the behavior so that we re-use entries in
.debug_addr.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D142425
More information about the All-commits
mailing list