This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Allocate dwz_file with new
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Tom Tromey <tom at tromey dot com>, <gdb-patches at sourceware dot org>
- Date: Fri, 18 May 2018 16:21:05 -0400
- Subject: Re: [RFA] Allocate dwz_file with new
- References: <20180516233205.22139-1-tom@tromey.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On 2018-05-16 07:32 PM, Tom Tromey wrote:
> This adds a constructor to struct dwz_file and arranges for it to be
> allocated with "new" and wrapped in a unique_ptr. This cuts down on
> the amount of manual memory management that must be done.
>
> Regression tested by the buildbot.
LGTM, thanks.
Simon