diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-12 18:23:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 18:23:25 -0400 |
commit | d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3 (patch) | |
tree | 3f8b09aab4ce247605f16485429aaf298911cccf /src/common/common_funcs.h | |
parent | d011d3ff0ee9767d47c893010c1b224b6b619c25 (diff) | |
parent | 2212c9653d556e7ccb5c5a37407a51d33318d227 (diff) |
Merge pull request #11763 from liamwhite/lto-noinline
kernel: mark TLS accessors as noinline for non-MSVC LTO
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r-- | src/common/common_funcs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 0dad9338a..47d028d48 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -39,8 +39,12 @@ #define Crash() exit(1) #endif +#define LTO_NOINLINE __attribute__((noinline)) + #else // _MSC_VER +#define LTO_NOINLINE + // Locale Cross-Compatibility #define locale_t _locale_t |