https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99178
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |mark at gcc dot gnu.org, | |vries at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'm not sure if it is a good idea. The indexes are useful when they cover the whole binary or library, when each TU has its own index, then I don't see how it is helpful for the consumer to search each TU's index compared to walking the DIEs. I think .debug_names should be created during linking or post-linking, so ld, dwz or gdb.