mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fixes to native backtrace.
This commit is contained in:
committed by
Christoffer Lerno
parent
dc0aa35522
commit
5e8816e6df
@@ -169,6 +169,7 @@ void gencontext_begin_module(GenContext *c)
|
||||
LLVMStructSetBody(c->debug.stack_type, types, 5, false);
|
||||
c->debug.current_stack_ptr = NULL;
|
||||
c->debug.enable_stacktrace = true;
|
||||
c->debug.x = false;
|
||||
c->debug.emulated_stacktrace = !os_supports_stacktrace(platform_target.os);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user