kernel: mark TLS accessors as noinline for non-MSVC LTO

This commit is contained in:
Liam 2023-10-12 09:16:22 -04:00
parent 45a76637f5
commit 2212c9653d
2 changed files with 12 additions and 8 deletions

View file

@ -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