crash vm trace
This commit is contained in:
@@ -1054,6 +1054,11 @@ MachCode *mach_compile_mcode(struct cJSON *mcode_json);
|
||||
Does NOT clear reg_current_frame — caller is responsible if needed. */
|
||||
JSValue JS_GetStack (JSContext *ctx);
|
||||
|
||||
/* Crash-safe stack printer: walks JS frames and writes to stderr.
|
||||
Uses only write() (async-signal-safe). No GC allocations.
|
||||
Safe to call from signal handlers. */
|
||||
void JS_CrashPrintStack(JSContext *ctx);
|
||||
|
||||
#undef js_unlikely
|
||||
#undef inline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user