aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/abbrev.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-08 13:40:54 -0700
committerTom Tromey <tom@tromey.com>2020-02-08 13:43:24 -0700
commit48b490f28a2152134a51215a06cb22c9b09a7a80 (patch)
tree9d8d12b2655654430db3c33e131d2fa06e27bb35 /gdb/dwarf2/abbrev.h
parentbc68fb1930b72d3772fadbe76d9006c799bb33e9 (diff)
downloadgdb-48b490f28a2152134a51215a06cb22c9b09a7a80.zip
gdb-48b490f28a2152134a51215a06cb22c9b09a7a80.tar.gz
gdb-48b490f28a2152134a51215a06cb22c9b09a7a80.tar.bz2
Change dwp_file to use htab_up
This changes dwp_file to use htab_up for the loaded_cus and loaded_tus members. This lets us avoid allocating the contents of these hash tables on the objfile obstack. 2020-02-08 Tom Tromey <tom@tromey.com> * dwarf2/read.c (struct dwp_file) <loaded_cus, loaded_tus>: Now htab_up. (lookup_dwo_unit_in_dwp): Update. (allocate_dwp_loaded_cutus_table): Return htab_up. Don't allocate on obstack. Change-Id: Id61209bf5c6c6faa0c067195af31fbcf26813a3a
Diffstat (limited to 'gdb/dwarf2/abbrev.h')
0 files changed, 0 insertions, 0 deletions