[all-commits] [llvm/llvm-project] bf2b03: [BOLT][DWARF] Fix handling .debug_str_offsets for ...
Alexander Yermolovich via All-commits
all-commits at lists.llvm.org
Thu Dec 14 17:27:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf2b035e58e00a28412870d68b9df2309efa2b28
https://github.com/llvm/llvm-project/commit/bf2b035e58e00a28412870d68b9df2309efa2b28
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugData.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
A bolt/test/X86/Inputs/dwarf5-basic-cu.s
A bolt/test/X86/Inputs/dwarf5-types-no-cu.s
A bolt/test/X86/dwarf5-type-unit-no-cu-str-offset-table.test
Log Message:
-----------
[BOLT][DWARF] Fix handling .debug_str_offsets for type units (#75522)
There was an assumpiton that TUs and CUs share .debug_str_offsets
contribution. For ThinLTO builds it is not the case. Changed so that we
parse contributions for TUs also, and did some refactoring so that we
don't re-parse contributions that were not modified.
More information about the All-commits
mailing list