diff options
author | Tom de Vries <tdevries@suse.de> | 2021-06-21 15:50:51 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-06-24 17:44:36 +0200 |
commit | e8165209545eb07a7c2e5d96e31aa5b37e913c3b (patch) | |
tree | 02b14d690d5471a8f22703935d75ba66a9f01e11 /gdb/alpha-linux-tdep.c | |
parent | fa33eebfca9d560942e456bf9246502dda20b092 (diff) | |
download | binutils-e8165209545eb07a7c2e5d96e31aa5b37e913c3b.zip binutils-e8165209545eb07a7c2e5d96e31aa5b37e913c3b.tar.gz binutils-e8165209545eb07a7c2e5d96e31aa5b37e913c3b.tar.bz2 |
[gdb/symtab] Handle interesting_symbols in read_file_scope
Use the interesting_symbols vector to filter the DIEs that we process when
doing read_file_scope.
At this point we start to get the benefit of lazy expansion:
...
$ time gdb -q -iex "maint set lazy-expand-symtab 0" -batch \
lto/cc1 -ex "b do_rpo_vn"
Breakpoint 1 at 0xd40e30: do_rpo_vn. (2 locations)
real: 5.69
user: 5.47
system: 0.20
...
and with:
...
$ time gdb -q -iex "maint set lazy-expand-symtab 1" -batch \
lto/cc1 -ex "b do_rpo_vn"
Breakpoint 1 at 0xd40e30: do_rpo_vn. (2 locations)
real: 2.75
user: 2.71
system: 0.10
...
Diffstat (limited to 'gdb/alpha-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions