binutils-gdb/gdb/dwarf2
Tom Tromey c7a73fa4dc De-duplicate .gdb_index
This de-duplicates variables and types in .gdb_index, making the new
index closer to what gdb generated before the new DWARF scanner
series.  Spot-checking the resulting index for gdb itself, it seems
that the new scanner picks up some extra symbols not detected by the
old one.  I tested both the new and old versions of gdb on both new
and old versions of the index, and startup time in all cases is
roughly the same (it's worth noting that, for gdb itself, the index no
longer provides any benefit over the DWARF scanner).  So, I think this
fixes the size issue with the new index writer.

Regression tested on x86-64 Fedora 34.
2022-04-29 13:16:44 -06:00
..
abbrev-cache.c
abbrev-cache.h Add comments to dwarf2/abbrev-cache.h 2022-04-16 13:58:34 -06:00
abbrev.c Fix method naming bug in new DWARF indexer 2022-04-22 06:40:49 -06:00
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cooked-index.c Micro-optimize cooked_index_entry::full_name 2022-04-20 06:21:06 -06:00
cooked-index.h Fix .debug_names regression with new indexer 2022-04-29 13:16:44 -06:00
cu.c Delete DWARF psymtab code 2022-04-12 09:31:17 -06:00
cu.h
die.h
dwz.c
dwz.h
expr.c
expr.h
file-and-dir.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c Check OBJF_NOT_FILENAME in DWARF index code 2022-04-28 09:37:48 -06:00
index-cache.h
index-common.c
index-common.h
index-write.c De-duplicate .gdb_index 2022-04-29 13:16:44 -06:00
index-write.h
leb.c
leb.h
line-header.c gdb/dwarf: remove line_header::header_length field 2022-04-21 15:05:53 -04:00
line-header.h gdb/dwarf: remove line_header::header_length field 2022-04-21 15:05:53 -04:00
loc.c gdb: remove BLOCK_ENTRY_PC macro 2022-04-27 22:05:03 -04:00
loc.h
macro.c
macro.h
mapped-index.h Add an ad hoc version check to dwarf_scanner_base 2022-04-20 09:10:03 -06:00
public.h Always use dwarf2_initialize_objfile 2022-04-21 12:18:25 -06:00
read.c gdb: remove BLOCK_RANGES macro 2022-04-27 22:05:03 -04:00
read.h Unify the DWARF index holders 2022-04-20 09:10:03 -06:00
sect-names.h
section.c
section.h
stringify.c
stringify.h
tag.h Fix .debug_names regression with new indexer 2022-04-29 13:16:44 -06:00