diff options
| author | Liam <byteslice@airmail.cc> | 2023-10-12 09:16:22 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-10-12 09:16:22 -0400 |
| commit | 66472af2d01d5151d4e1b1ab2dd706cf46b9d7a9 (patch) | |
| tree | 332508f78827664ea9c236342469e1359acfb4e2 /src/common/common_funcs.h | |
| parent | 38339cad193692b41dbdc586237ddd53f8d619ef (diff) | |
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 0dad9338ac..47d028d482 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 |
