]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: track comp and type units count
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 3 Mar 2025 19:43:15 +0000 (14:43 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 10 Mar 2025 20:09:02 +0000 (16:09 -0400)
commit30ba744189820f4ae546aa05e905d97e8516bcd2
tree949c706760dd1e65ace1bb326486d8189c0a1181
parentbedb4e09f292fcb48eb895c81e2a38774f0fb87e
gdb/dwarf: track comp and type units count

A subsequent commit will remove the all_comp_units and all_type_units
array views, since the all_units vector will no longer be segmented
between comp and type units.  Some callers still need to know the number
of each kind, so track that separately.

Change-Id: I6ef184767a96e5be095bbf9142aa850adbb083ac
gdb/dwarf2/read.c
gdb/dwarf2/read.h