diff options
| author | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2026-02-10 19:48:12 +0100 |
|---|---|---|
| committer | jakubtomsu <66876057+jakubtomsu@users.noreply.github.com> | 2026-02-10 19:48:12 +0100 |
| commit | edd960905a043ad08bb6bc3cfcc6234f9c9baa3c (patch) | |
| tree | 319d5509b4726b9ffaa4b3c1a49d1c917874ccc6 /core/debug | |
| parent | 77be6a1f1837253c66eaaec2e5009ec9e52a23e3 (diff) | |
fix typo in the trace cpp backend
Diffstat (limited to 'core/debug')
| -rw-r--r-- | core/debug/trace/trace.odin | 2 | ||||
| -rw-r--r-- | core/debug/trace/trace_cpp.odin | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/debug/trace/trace.odin b/core/debug/trace/trace.odin index 8561d72c2..6a9ba9dab 100644 --- a/core/debug/trace/trace.odin +++ b/core/debug/trace/trace.odin @@ -74,4 +74,4 @@ _format_missing_proc :: proc(addr: uintptr, allocator: runtime.Allocator) -> str offs := len(PREFIX) offs += _format_hex(buf[offs:], uintptr(addr), allocator) return string(buf[:offs]) -}
\ No newline at end of file +} diff --git a/core/debug/trace/trace_cpp.odin b/core/debug/trace/trace_cpp.odin index 49a5a9055..5c2c381d2 100644 --- a/core/debug/trace/trace_cpp.odin +++ b/core/debug/trace/trace_cpp.odin @@ -164,7 +164,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 { - fl.procedure = _format_missing_proc(address, allocator) + frame.procedure = _format_missing_proc(address, allocator) } frame.line = i32(line) return 0 |