This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make objfile::static_links an htab_up
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 19 Apr 2019 14:11:33 -0600
- Subject: Re: [PATCH] Make objfile::static_links an htab_up
- References: <20190407231631.8513-1-tom@tromey.com>
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> This changes objfile::static_links to be an htab_up, so that ~objfile
Tom> no longer has to explicitly destroy it.
Tom> Tested by the buildbot.
Tom> gdb/ChangeLog
Tom> 2019-04-07 Tom Tromey <tom@tromey.com>
Tom> * symfile.c (reread_symbols): Update.
Tom> * objfiles.c (objfile_register_static_link)
Tom> (objfile_lookup_static_link): Update
Tom> (~objfile) Don't delete static_links.
Tom> * objfiles.h (struct objfile) <static_links>: Now an htab_up.
I'm going to check this in now.
Tom