binutils-gdb/gdb/dwarf2
Tom de Vries aaf3f3f3bb [gdb/symtab] Add all_comp_units/all_type_units views on all_units
Add all_comp_units/all_type_units views on all_units.

Having the views allows us to:
- easily get the number of CUs or TUs in all_units, and
- easily access the nth CU or TU.

This minimizes the use of tu_stats.nr_tus.

Tested on x86_64-linux.
2022-09-22 14:50:27 +02:00
..
abbrev-cache.c
abbrev-cache.h
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cooked-index.c
cooked-index.h
cu.c gdb: remove TYPE_LENGTH 2022-09-21 11:05:21 -04:00
cu.h
die.h
dwz.c
dwz.h
expr.c gdb: remove TYPE_LENGTH 2022-09-21 11:05:21 -04:00
expr.h
file-and-dir.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c [gdb/symtab] Add all_comp_units/all_type_units views on all_units 2022-09-22 14:50:27 +02:00
index-write.h
leb.c
leb.h
line-header.c gdbsupport: change path_join parameter to array_view<const char *> 2022-09-21 11:36:01 -04:00
line-header.h
loc.c gdb: remove TYPE_LENGTH 2022-09-21 11:05:21 -04:00
loc.h
macro.c
macro.h
mapped-index.h
public.h
read.c [gdb/symtab] Add all_comp_units/all_type_units views on all_units 2022-09-22 14:50:27 +02:00
read.h [gdb/symtab] Add all_comp_units/all_type_units views on all_units 2022-09-22 14:50:27 +02:00
sect-names.h
section.c
section.h
stringify.c
stringify.h
tag.h