Wire in the new DWARF indexer
authorTom Tromey <tom@tromey.com>
Sat, 22 May 2021 13:54:06 +0000 (07:54 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 12 Apr 2022 15:31:16 +0000 (09:31 -0600)
commit68a85bc267a7ecbcbe3a465bd80aac60b3b70d5a
treeadd71e80be97749986aa3229717128c530c8a9af
parent698379cc2cab53d0c6de32ea8a955245b63e4a23
Wire in the new DWARF indexer

This wires the new DWARF indexer into the existing reader code.  That
is, this patch makes the modification necessary to enable the new
indexer.  It is not actually enabled by this patch -- that will be
done later.

I did a bit of performance testing for this patch and a few others.  I
copied my built gdb to /tmp, so that each test would be done on the
same executable.  Then, each time, I did:

    $ ./gdb -nx
    (gdb) maint time 1
    (gdb) file /tmp/gdb

This patch is the baseline and on one machine came in at 1.598869 wall
time.
gdb/dwarf2/read.c