diff options
| author | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2026-02-10 19:56:49 +0100 |
|---|---|---|
| committer | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2026-02-10 19:56:49 +0100 |
| commit | 83489c07f1123e1994e40a08a32206d8d78414a9 (patch) | |
| tree | 549a3e3a3b8527e070363548aaf4c8f439274ac1 /core/debug/trace/trace_cpp.odin | |
| parent | 26e4af28adbdfef1d751bae22c847568b602ebb3 (diff) | |
fix allocator error
Diffstat (limited to 'core/debug/trace/trace_cpp.odin')
| -rw-r--r-- | core/debug/trace/trace_cpp.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debug/trace/trace_cpp.odin b/core/debug/trace/trace_cpp.odin index afa065474..1a96ee112 100644 --- a/core/debug/trace/trace_cpp.odin +++ b/core/debug/trace/trace_cpp.odin @@ -163,7 +163,7 @@ _resolve :: proc(ctx: ^Context, frame: Frame, allocator: runtime.Allocator) -> F } else if info: Dl_info; dladdr(rawptr(address), &info) != 0 && info.dli_sname != "" { frame.procedure = strings.clone_from_cstring(info.dli_sname, btc.allocator) } else { - frame.procedure = _format_missing_proc(address, allocator) + frame.procedure = _format_missing_proc(address, btc.allocator) } frame.line = i32(line) return 0 |