Add dwarf2_per_objfile parameter to create_partial_symtab
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 27 May 2020 15:13:57 +0000 (11:13 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 27 May 2020 15:15:55 +0000 (11:15 -0400)
commit7aa104c423d935656d81ba6612586e98ee9babb5
tree38ceab9b9e425312d387aa18564ee224bcf2d42d
parente3beb21d3521e7f5ba8b40732ea1bfe3cafd9033
Add dwarf2_per_objfile parameter to create_partial_symtab

This allows removing a dwarf2_per_cu_data::dwarf2_per_objfile reference.

gdb/ChangeLog:

* dwarf2/read.c (create_partial_symtab): Add dwarf2_per_objfile
parameter.
(create_type_unit_group): Update.
(process_psymtab_comp_unit_reader): Update.
(build_type_psymtabs_reader): Update.

Change-Id: I72e3a8fce8022943ce6992fb623e05636cd0e3a5
gdb/ChangeLog
gdb/dwarf2/read.c