diff --git a/core/debug/trace/trace_linux.odin b/core/debug/trace/trace_linux.odin index 529a83470..c65a165f9 100644 --- a/core/debug/trace/trace_linux.odin +++ b/core/debug/trace/trace_linux.odin @@ -131,6 +131,9 @@ _frames :: proc(ctx: ^Context, skip: uint, allocator: runtime.Allocator) -> (fra @(private="package") _resolve :: proc(ctx: ^Context, frame: Frame, allocator: runtime.Allocator) -> Frame_Location { + intrinsics.atomic_store(&ctx.in_resolve, true) + defer intrinsics.atomic_store(&ctx.in_resolve, false) + Backtrace_Context :: struct { rt_ctx: runtime.Context, allocator: runtime.Allocator,