On Fri, Jul 29, 2022 at 8:36 AM Alexandre Oliva <ol...@adacore.com> wrote: > > On Jul 29, 2022, Alexandre Oliva <ol...@adacore.com> 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, branch refs/users/aoliva/heads/strub:
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 and to get the full benefit of WPA analysis when used with LTO. That might even mean doing it as a regular IPA pass where clones are used for strubbing and original bodies are used for inlining. Richard. > e9d1e252e0bcd silence warnings > 4a93638ee91b1 enable strub for all viable functions by default, for testing > 29e98f10c5faa Introduce strub: machine-independent stack scrubbing > > -- > Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ > Free Software Activist GNU Toolchain Engineer > Disinformation flourishes because many people care deeply about injustice > but very few check the facts. Ask me about <https://stallmansupport.org>