mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-31 02:07:40 -04:00
29 lines
617 B
Odin
29 lines
617 B
Odin
#+build !linux
|
|
#+build !darwin
|
|
#+build !windows
|
|
#+private file
|
|
#+vet explicit-allocators
|
|
package debug_trace
|
|
|
|
@(require) import "base:runtime"
|
|
|
|
when !INSTRUMENTATION_MODE {
|
|
|
|
@(private="package")
|
|
_Capture_Entry :: struct {}
|
|
|
|
@(private="package")
|
|
_capture :: #force_no_inline proc(buf: Capture, skip: int) -> (n: int) {
|
|
return
|
|
}
|
|
|
|
@(private="package")
|
|
_locations_destroy :: proc(locations: []Location, allocator: runtime.Allocator) {}
|
|
|
|
@(private="package")
|
|
_resolve :: proc(bt: Capture, allocator, temp_allocator: runtime.Allocator) -> (locations: []Location, err: Resolve_Error) {
|
|
return
|
|
}
|
|
|
|
} // INSTRUMENTATION_MODE
|