kernel: mark TLS accessors as noinline for non-MSVC LTO
This commit is contained in:
parent
45a76637f5
commit
2212c9653d
2 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue