This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Replace psymbol_allocation_list with std::vector
- From: Tom Tromey <tom at tromey dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 13 Oct 2017 15:10:31 -0600
- Subject: Re: [PATCH] Replace psymbol_allocation_list with std::vector
- Authentication-results: sourceware.org; auth=none
- References: <1507903080-10737-1-git-send-email-simon.marchi@ericsson.com>
>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:
Simon> psymbol_allocation_list is basically a vector implementation. We can
Simon> replace it with an std::vector, now that objfile has been C++-ified.
I think this is very nice.
I wonder how worthwhile it would be to call shrink_to_fit on the vectors
in require_partial_symbols.
Tom