[PATCH] D22045: [X86] Support of no_caller_saved_registers attribute (Clang part)

H.J Lu via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 08:50:28 PDT 2016


hjl.tools added a comment.

In https://reviews.llvm.org/D22045#508648, @aaron.ballman wrote:

> In https://reviews.llvm.org/D22045#508644, @hjl.tools wrote:
>
> > In https://reviews.llvm.org/D22045#506996, @joerg wrote:
> >
> > > For what it is worth, this certainly seems to be misnamed. By nature, if it doesn't preserve at least the stack pointer, there is no way to recover on return, right?
> >
> >
> > This is the best name we came up with and has been implemented in GCC.
>
>
> What version of GCC supports this attribute? I tried 6.1.0 and it is unknown there.


It is implemented in GCC 7.


https://reviews.llvm.org/D22045





More information about the cfe-commits mailing list