Correct. naked function are trivial in LLVM due to ways how prologue / epilogue code is written, everyhing can be made target-neutral. In gcc one should implement this separately for every target.
On Thu, Sep 4, 2014 at 7:29 AM, Hans Wennborg <[email protected]> wrote: > On Wed, Sep 3, 2014 at 7:28 PM, Saleem Abdulrasool > <[email protected]> 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 > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
