[PATCH] D139214: [BOLT][DWARF] Don't create extra .debug_str_offsets contributions
Alexander Yermolovich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 10:55:36 PST 2022
ayermolo created this revision.
Herald added subscribers: treapster, hoy, modimo, wenlei.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
ayermolo requested review of this revision.
Herald added subscribers: llvm-commits, yota9, sstefan1, aheejin.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
With ThinLTO mutliple CUs can share the same .debug_str_offsets contribution. We
were creating a new one for each CU. This lead to a binary size increase.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139214
Files:
bolt/include/bolt/Core/DebugData.h
bolt/lib/Core/DebugData.cpp
bolt/lib/Rewrite/DWARFRewriter.cpp
bolt/test/X86/dwarf5-shared-str-offset-base.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139214.479680.patch
Type: text/x-patch
Size: 17563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221202/6142265e/attachment.bin>
More information about the llvm-commits
mailing list