mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
MacOS uses regular stacktrace for errors.
This commit is contained in:
committed by
Christoffer Lerno
parent
c074e79069
commit
c4228e08c5
@@ -6093,7 +6093,7 @@ static inline void llvm_emit_macro_block(GenContext *c, BEValue *be_value, Expr
|
||||
if (llvm_use_debug(c))
|
||||
{
|
||||
llvm_debug_push_lexical_scope(c, astptr(expr->macro_block.first_stmt)->span);
|
||||
if (c->debug.enable_stacktrace)
|
||||
if (c->debug.emulated_stacktrace)
|
||||
{
|
||||
restore_at_exit = true;
|
||||
llvm_emit_update_stack_row(c, expr->span.row);
|
||||
|
||||
Reference in New Issue
Block a user