[PATCH] Don't emit prologues/epilogues for naked functions (PR18791, PR20028)

Hans Wennborg hans at chromium.org
Wed Sep 3 20:29:19 PDT 2014


On Wed, Sep 3, 2014 at 7:28 PM, Saleem Abdulrasool
<compnerd at compnerd.org> wrote:
> Is supporting the __attribute__ (( naked )) spelling on x86 intentional?

I don't know if there was any specific motivation. I suspect whoever
added it didn't see any reason to make it target dependent. Maybe gcc
implements it at a lower level, so that it has to be enabled
explicitly per target.

 - Hans



More information about the cfe-commits mailing list