[all-commits] [llvm/llvm-project] 8ee5c4: [DebugInfo] Support to get TU for hash from .debug...
Liu Ke via All-commits
all-commits at lists.llvm.org
Mon Oct 27 20:53:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8ee5c40fcff7b90b19cff3d0a103f1b658cf29b9
https://github.com/llvm/llvm-project/commit/8ee5c40fcff7b90b19cff3d0a103f1b658cf29b9
Author: Liu Ke <liuke.gehry at bytedance.com>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M bolt/test/X86/dwarf4-ftypes-dwp-input-dwo-output.test
M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
A llvm/test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s
Log Message:
-----------
[DebugInfo] Support to get TU for hash from .debug_types.dwo section in DWARF4. (#161067)
Using the DWP's cu_index/tu_index only loads the DWO units from the
.debug_info.dwo section for hash, which works fine in DWARF5. However,
tu_index points to .debug_types.dwo section in DWARF4, which can cause
the type unit to be lost due to the incorrect loading target. (Related
discussion in
[811b60f](https://github.com/llvm/llvm-project/commit/811b60f0b99dad4b2989d21dde38d49155b0c4f9))
This patch supports to get the type unit for hash from .debug_types.dwo
section in DWARF4.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list