mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-17 00:10:57 +02:00
Mac: Mark crash info as used so it doesn't get DCE'd
This commit is contained in:
1 parent
4d54e28e63
commit
a622e3bda6
1 file changed
+1
-1
+1
-1
@@ -110,7 +110,7 @@ struct crash_info_t
|
||||
u64 reserved;
|
||||
u64 reserved2;
|
||||
};
|
||||
#define CRASH_ANNOTATION __attribute__((section("__DATA,__crash_info")))
|
||||
#define CRASH_ANNOTATION __attribute__((used, section("__DATA,__crash_info")))
|
||||
#define CRASH_VERSION 4
|
||||
extern "C" crash_info_t gCRAnnotations CRASH_ANNOTATION = { CRASH_VERSION };
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user