[common] debug: set the crash handler process name

This commit is contained in:
Geoffrey McRae
2026-07-29 11:29:57 +10:00
parent 6dd91a1269
commit 56ad487d0a
6 changed files with 37 additions and 12 deletions

View File

@@ -886,7 +886,7 @@ fail_init:
// this is called from the platform specific startup routine
int app_main(int argc, char * argv[])
{
if (!installCrashHandler(os_getExecutable()))
if (!installCrashHandler(os_getExecutable(), argv[0]))
DEBUG_WARN("Failed to install the crash handler");
// make sure rng is actually seeded for LGMP