mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 10:35:11 -04:00
Log a runtime address to assist with investigating crashes
This commit is contained in:
parent
be5a215a6c
commit
49bf55f5c6
@ -1324,6 +1324,10 @@ static void Platform_InitPosix(void) {
|
||||
sigaction(SIGCHLD, &sa, NULL);
|
||||
/* So writing to closed socket doesn't raise SIGPIPE */
|
||||
sigaction(SIGPIPE, &sa, NULL);
|
||||
|
||||
/* Log runtime address to ease investigating crashes */
|
||||
cc_uintptr addr = (cc_uintptr)Process_Exit;
|
||||
Platform_Log1("Process_Exit addr: %x", &addr);
|
||||
}
|
||||
void Platform_Free(void) { }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user