This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] dwarf2read.c type unit groups cleanup


On Thu, May 15, 2014 at 10:58 AM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> This patch removes some no longer used members of dwarf2_per_objfile,
> and does a few other simple cleanups.
> There's a few more cleanups that can be done on top of this,
> but I'm leaving them for a separate pass.
>
> I have another patch coming that adds support for skeleton-less type
> units (Fission), and this is preparatory work for that.
>
> Regression tested on amd64-linux.
>
> 2014-05-15  Doug Evans  <dje@google.com>
>
>         * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
>         n_type_unit_groups, all_type_unit_groups.  All uses removed.
>         (get_type_unit_group, build_type_unit_groups): Delete forward decls.
>         (dw2_get_cutu): Renamed from dw2_get_cu.  All callers updated.
>         (dw2_get_cu): Renamed from dw2_get_primary_cu.  All callers updated.
>         (add_type_unit_group_to_table): Delete.

Committed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]