On Wed, 30 Sep 2020 10:14:55 +0200, Jakub Jelinek wrote:
it would be great if the
.debug_names some tool generates (whether it is GDB, some standalone
post-linking (and post dwz) tool, dwz itself, ...) is usable by both GDB and
LLDB, because the point in DWARF5 standardizing .debug_names was to make
those usable by everything rather than each tool rolling its own index.
We can't have two .debug_names sections, one for GDB and one for LLDB...
This is discussed in the Change.
https://fedoraproject.org/wiki/Changes/DebugInfoLldbIndex#Detailed_Descri...
You miss in your description that clang-built binaries must use clang-built
.debug_names.
Also AFAIK nobody plans to implement .debug_names support into DWZ (which also
shows how DWZ is unmaintained) so DWZ must be excluded from builds using
clang.
Jan