[Lldb-commits] [lldb] [lldb] Fix a crash when using .dwp files and make type lookup reliable with the index cache (PR #79544)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 29 15:58:32 PST 2024
clayborg wrote:
Even if we want to have the skeleton compile unit be parsed first, we would need to know this from any accelerator table entry, wether it be from .debug_names or from our internal manual index. Our internal manual index creates a DIERef object with a magic .dwp file index + a DIE offset within the .debug_info.dwo in the dwp file. So given only this information, if we wanted to parse the skeleton unit first, we would need to ask the main executable to find the skeleton unit for a given DWO ID first, which would require a search and a map to efficiently grab the right skeleton unit. So either way we will need the map.
https://github.com/llvm/llvm-project/pull/79544
More information about the lldb-commits
mailing list