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: [RFA] Allocate dwz_file with new


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


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