mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
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](811b60f0b9)) This patch supports to get the type unit for hash from .debug_types.dwo section in DWARF4.