mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Mac: Mark crash info as used so it doesn't get DCE'd
This commit is contained in:
committed by
Connor McLaughlin
parent
4d54e28e63
commit
a622e3bda6
+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