[cfe-dev] [XRay] RFC: Adding -fxray-{always, never}-instrument=... to Clang
Dean Michael Berris via cfe-dev
cfe-dev at lists.llvm.org
Thu Mar 2 04:53:45 PST 2017
> On 2 Mar 2017, at 09:25, Reid Kleckner <rnk at google.com> wrote:
>
> This sounds totally reasonable.
>
> I have vague memories that there was some demand for a generic way to slap attributes on decls without changing the source code, but I don't remember who wanted that. I thought it had something to do with static analysis, so maybe Jordan or Anna know?
>
> It feels premature to me to try to build out that functionality when we already have special case lists implemented for such a similar use case (sanitizer blacklists), so I'm in favor of moving forward with those.
>
Thanks Reid!
I agree, I think we can build upon this later on in case we want a more generic utility for imbuing attributes through a side channel.
-- Dean
More information about the cfe-dev
mailing list