Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-10-13 Thread Alexandre Oliva via Gcc-patches
On Oct 13, 2022, Richard Biener wrote: > On Tue, Oct 11, 2022 at 3:33 PM Alexandre Oliva wrote: >> >> On Oct 11, 2022, Richard Biener wrote: >> >> > On Tue, Oct 11, 2022 at 1:57 PM Alexandre Oliva wrote: >> >> >> >> On Oct 10, 2022, Richard Biener wrote: >> >> >> >> > As noted in the

Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-10-13 Thread Richard Biener via Gcc-patches
On Tue, Oct 11, 2022 at 3:33 PM Alexandre Oliva wrote: > > On Oct 11, 2022, Richard Biener wrote: > > > On Tue, Oct 11, 2022 at 1:57 PM Alexandre Oliva wrote: > >> > >> On Oct 10, 2022, Richard Biener wrote: > >> > >> > As noted in the Cauldron Discussion I think you should do all > >> >

Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-10-11 Thread Alexandre Oliva via Gcc-patches
On Oct 11, 2022, Richard Biener wrote: > On Tue, Oct 11, 2022 at 1:57 PM Alexandre Oliva wrote: >> >> On Oct 10, 2022, Richard Biener wrote: >> >> > As noted in the Cauldron Discussion I think you should do all >> > instrumentation post-IPA only to simplify your life not needing to >> >

Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-10-11 Thread Richard Biener via Gcc-patches
On Tue, Oct 11, 2022 at 1:57 PM Alexandre Oliva wrote: > > On Oct 10, 2022, Richard Biener wrote: > > > As noted in the Cauldron Discussion I think you should do all > > instrumentation post-IPA only to simplify your life not needing to > > handle inlining of instrumentation > > I looked a bit

Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-10-11 Thread Alexandre Oliva via Gcc-patches
On Oct 10, 2022, Richard Biener wrote: > As noted in the Cauldron Discussion I think you should do all > instrumentation post-IPA only to simplify your life not needing to > handle inlining of instrumentation I looked a bit into that after the Cauldron, and recalled why I wanted to instrument

Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-10-10 Thread Richard Biener via Gcc-patches
On Fri, Jul 29, 2022 at 8:36 AM Alexandre Oliva wrote: > > On Jul 29, 2022, Alexandre Oliva wrote: > > > This patch adds the strub attribute for function and variable types, > > command-line options, passes and adjustments to implement it, > > documentation, and tests. > > The entire patch, and

Re: [PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-07-29 Thread Alexandre Oliva via Gcc-patches
On Jul 29, 2022, Alexandre Oliva wrote: > This patch adds the strub attribute for function and variable types, > command-line options, passes and adjustments to implement it, > documentation, and tests. The entire patch, and the patchlets used for testing, are available from the GCC git repo,

[PATCH v2 00/10] Introduce strub: machine-independent stack scrubbing

2022-07-29 Thread Alexandre Oliva via Gcc-patches
This patch adds the strub attribute for function and variable types, command-line options, passes and adjustments to implement it, documentation, and tests. Stack scrubbing is implemented in a machine-independent way: functions with strub enabled are modified so that they take an extra stack