Simplify debug_names index writing
authorTom Tromey <tom@tromey.com>
Sat, 29 May 2021 13:25:57 +0000 (07:25 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 5 Jul 2021 18:24:00 +0000 (12:24 -0600)
commit09e2fb720b860cfc08f9310cc387ad07e16a3b9b
tree2cf4595af1ba159c604309c8b7484bd8816017a3
parent844a72efbced876d079b7a152fcab05f3ad72c5a
Simplify debug_names index writing

This changes the .debug_names writer to find the TU indices in the
main loop over all CUs and TUs.  (An earlier patch applied this same
treatment to the .gdb_index writer.)
gdb/dwarf2/index-write.c