Add dwarf2_per_cu_data::addresses_seen
authorTom Tromey <tom@tromey.com>
Fri, 11 Jun 2021 19:23:28 +0000 (13:23 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:15 +0000 (09:31 -0600)
commitcffae852e33b3c735cc48a398a15e7236bc39928
tree9c4fd641e28c8cd14f58e74687f3c4c1ea4d5c96
parent1ddd39f58fea3ec9837018506ea1d7b86e51dc7b
Add dwarf2_per_cu_data::addresses_seen

This adds a new member to dwarf2_per_cu_data that indicates whether
addresses have been seen for this CU.  This is then set by the
.debug_aranges reader.  The idea here is to detect when a CU does not
have address information, so that the new indexer will know to do
extra scanning in that case.
gdb/dwarf2/read.c
gdb/dwarf2/read.h