[llvm-dev] RFC: New function attribute "patchable-prologue"="<kind>"

Eric Christopher via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 14 13:58:43 PDT 2016


On Thu, Apr 14, 2016 at 1:56 PM Reid Kleckner <rnk at google.com> wrote:

> I think most function redirection patching schemes are going to be
> mutually incompatible, so I'm not sure it makes sense to make this
> attribute a comma-separated list.
>
>
Isn't this what I said? :)


> I think Eric's and Dean's use case may be better addressed by a separate
> attribute. My recollection is that they want to add nop slides to the
> prologue and epilogue that can be hotpatched to enable and disable
> instrumentation at runtime.
>

I'm not sure about this, it'd be nice not to have a bajillion more
attributes.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160414/d9d27715/attachment.html>


More information about the llvm-dev mailing list