toolchain: Add __noinline attribute

Add a new attribute to instruct the compiler to not inline a function.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
This commit is contained in:
Flavio Ceolin 2024-11-27 09:41:57 -08:00 committed by Benjamin Cabé
parent 7e32b2069d
commit ee050e27a6

View File

@ -225,6 +225,10 @@ do { \
#define __aligned(x) __attribute__((__aligned__(x)))
#endif
#ifndef __noinline
#define __noinline __attribute__((noinline))
#endif
#define __may_alias __attribute__((__may_alias__))
#ifndef __printf_like