Crash report: the log names what the crashing thread was building, and a library link names its case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobim6
2026-11-12 16:22:24 +01:00
parent 7118dd426d
commit bb654470b2
5 changed files with 17 additions and 4 deletions

View File

@@ -908,6 +908,7 @@ static void (*crash_fn)(const PlatCrash *c);
static const char *image_name(const char *base);
static __thread const char *crash_ctx;
void plat_crash_context(const char *s) { crash_ctx = s; }
const char *plat_crash_context_get(void) { return crash_ctx; }
static void raw_note(const char *tag, DWORD code, uintptr_t rip, uintptr_t addr) {
char b[256];
void *base = NULL;