aboutsummaryrefslogtreecommitdiff
path: root/core/debug/trace/trace_cpp.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/debug/trace/trace_cpp.odin')
-rw-r--r--core/debug/trace/trace_cpp.odin3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/debug/trace/trace_cpp.odin b/core/debug/trace/trace_cpp.odin
index 8ef377cef..1a96ee112 100644
--- a/core/debug/trace/trace_cpp.odin
+++ b/core/debug/trace/trace_cpp.odin
@@ -5,7 +5,6 @@ package debug_trace
import "base:intrinsics"
import "base:runtime"
import "core:strings"
-import "core:fmt"
import "core:c"
// NOTE: Relies on C++23 which adds <stacktrace> and becomes ABI and that can be used
@@ -164,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 = fmt.aprintf("(procedure: 0x%x)", allocator=btc.allocator)
+ frame.procedure = _format_missing_proc(address, btc.allocator)
}
frame.line = i32(line)
return 0