[Lldb-commits] [lldb] [lldb/DWARF] Search fallback to the manual index in GetFullyQualified… (PR #102123)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 12 10:08:29 PDT 2024


clayborg wrote:

The main issue that this covers is when you have N .o files compiled with .debug_names, and M .o files compiled without it, and then you link N+M into a final executable. The linker will simply concatenate all of the .o files section together, but the linker doesn't know anything about DWARF, so any of the M files that didn't have indexes, won't have .debug_names indexes. So the fallback stuff is needed here. The fallback doesn't re-index existing files, it just manually indexes any files that didn't have an accelerator table. So we must have this code because of the way things are compiled and linked on linux.

https://github.com/llvm/llvm-project/pull/102123


More information about the lldb-commits mailing list