Genericize addrmap handling in the DWARF index writer
authorTom Tromey <tom@tromey.com>
Fri, 28 May 2021 21:52:44 +0000 (15:52 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:16 +0000 (09:31 -0600)
commitfa38ad7d8aa15309cfc51d4dec48108816e3fcbd
treee6f69d2040a3b8045dcf1297ce3e79b463acd251
parentfca9326e27b7b41847565d7afcd9070144256306
Genericize addrmap handling in the DWARF index writer

This updates the DWARF index writing code to make the addrmap-writing
a bit more generic.  Now, it can handle multiple maps, and it can work
using the maps generated by the new indexer.

Note that the new addrmap_index_data::using_index field will be
deleted in a future patch, when the rest of the DWARF psymtab code is
removed.
gdb/dwarf2/index-write.c