[llvm-commits] [PATCH] Start of support for __attribute__((ms_hook_prologue))

Michael Spencer bigcheesegs at gmail.com
Mon Oct 25 05:41:36 PDT 2010


On Mon, Oct 25, 2010 at 7:08 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> Michael,
>
>> I'm not convinced that a new attribute is needed. We already have
>> dllexport linkage, so why not just add an option that makes all
>> dllexport functions hot patchable? It doesn't change the calling
>> convention at all.
> I don't see why this should be connected to dllexport stuff at all.
> One definitely might want to make a non-dllexported function
> hot-patchable.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>

One may want to, but Windows only supports hotpatching dllexported functions.

- Michael Spencer



More information about the llvm-commits mailing list