Adhemerval Zanella a2b0ff98a0 include/sys/cdefs.h: Add __attribute_optimization_barrier__
Add __attribute_optimization_barrier__ to disable inlining and cloning on a
function.  For Clang, expand it to

__attribute__ ((optnone))

Otherwise, expand it to

__attribute__ ((noinline, clone))

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
2024-12-23 06:28:55 +08:00
..
2021-02-23 10:04:45 +01:00
2024-12-11 11:34:47 +08:00
2014-01-02 09:40:10 +01:00
2007-12-16 22:57:57 +00:00
2022-10-28 18:43:58 +01:00