Re: [RFC][PATCH 3/N] lto-plugin: Port to C++

2022-01-11 Thread Martin Liška
On 1/10/22 08:50, Richard Biener wrote: On Wed, Jan 5, 2022 at 2:28 PM Martin Liška wrote: Hello. I'm working on some changes that will be needed for support of ld.mold. And I would like to have the plugin in C++. Having that, we can utilize basic contains like std::vector (instead of xreallo

Re: [RFC][PATCH 3/N] lto-plugin: Port to C++

2022-01-10 Thread Andrew Pinski via Gcc-patches
On Sun, Jan 9, 2022 at 11:51 PM Richard Biener via Gcc-patches wrote: > > On Wed, Jan 5, 2022 at 2:28 PM Martin Liška wrote: > > > > Hello. > > > > I'm working on some changes that will be needed for support of ld.mold. > > And I would like to have the plugin in C++. Having that, we can utilize

Re: [RFC][PATCH 3/N] lto-plugin: Port to C++

2022-01-09 Thread Richard Biener via Gcc-patches
On Wed, Jan 5, 2022 at 2:28 PM Martin Liška wrote: > > Hello. > > I'm working on some changes that will be needed for support of ld.mold. > And I would like to have the plugin in C++. Having that, we can utilize basic > contains like std::vector (instead of xrealloc(foo, len + 1)...). > > I split