Out of curiosity, is there any reason we can’t just abuse LLVM’s Function
Prologue data for this?
Zhang
> 在 2019年8月7日,18:04,Tim Northover via llvm-dev <llvm-dev at
lists.llvm.org> 写道:
>
> Hi Alexei,
>
> On Wed, 7 Aug 2019 at 08:12, Alexei via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Is is possible via clang plugin (clang configuration) to add 4 nops
after ret instruction on Intel64?
>
> No, you'd have to modify the X86 backend itself to do that.
>
> Cheers.
>
> Tim.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev