Re: [patch] libstdc++/69945 Add __gnu_cxx::__freeres hook

2016-03-24 Thread Jonathan Wakely
On 16/03/16 16:29 +0100, Mark Wielaard wrote: On Thu, 2016-03-03 at 16:34 +0100, Mark Wielaard wrote: On Wed, 2016-02-24 at 18:35 +, Jonathan Wakely wrote: > This adds a new function to libsupc++ which will free the memory still > in use by the pool used for allocating exceptions when malloc

Re: [patch] libstdc++/69945 Add __gnu_cxx::__freeres hook

2016-03-19 Thread Mark Wielaard
On Thu, 2016-03-03 at 16:34 +0100, Mark Wielaard wrote: > On Wed, 2016-02-24 at 18:35 +, Jonathan Wakely wrote: > > This adds a new function to libsupc++ which will free the memory still > > in use by the pool used for allocating exceptions when malloc fails. > > > > This is similar to glibc's

Re: [patch] libstdc++/69945 Add __gnu_cxx::__freeres hook

2016-03-03 Thread Mark Wielaard
On Wed, 2016-02-24 at 18:35 +, Jonathan Wakely wrote: > This adds a new function to libsupc++ which will free the memory still > in use by the pool used for allocating exceptions when malloc fails. > > This is similar to glibc's __libc_freeres, which valgrind (and other > tools?) use to tell g

Re: [patch] libstdc++/69945 Add __gnu_cxx::__freeres hook

2016-02-25 Thread Jonathan Wakely
On 25/02/16 10:36 +0100, Richard Biener wrote: On Wed, Feb 24, 2016 at 7:35 PM, Jonathan Wakely wrote: This adds a new function to libsupc++ which will free the memory still in use by the pool used for allocating exceptions when malloc fails. This is similar to glibc's __libc_freeres, which va

Re: [patch] libstdc++/69945 Add __gnu_cxx::__freeres hook

2016-02-25 Thread Richard Biener
On Wed, Feb 24, 2016 at 7:35 PM, Jonathan Wakely wrote: > This adds a new function to libsupc++ which will free the memory still > in use by the pool used for allocating exceptions when malloc fails. > > This is similar to glibc's __libc_freeres, which valgrind (and other > tools?) use to tell gli