summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-13 00:23:25 +0200
committerGitHub <noreply@github.com>2023-10-13 00:23:25 +0200
commitd74fd9e2fe1f629d49adfac34c7e4b250e70ccb3 (patch)
tree3f8b09aab4ce247605f16485429aaf298911cccf /src/common
parentMerge pull request #11765 from german77/cap_mac (diff)
parentkernel: mark TLS accessors as noinline for non-MSVC LTO (diff)
downloadyuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.tar
yuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.tar.gz
yuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.tar.bz2
yuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.tar.lz
yuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.tar.xz
yuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.tar.zst
yuzu-d74fd9e2fe1f629d49adfac34c7e4b250e70ccb3.zip
Diffstat (limited to '')
-rw-r--r--src/common/common_funcs.h4
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