mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-13 13:53:43 +00:00
Merge pull request #6732 from adihodos/fix-backtrace
Link against libstdc++exp for backtrace support
This commit is contained in:
@@ -8,7 +8,7 @@ import "core:strings"
|
||||
import "core:c"
|
||||
|
||||
// NOTE: Relies on C++23 which adds <stacktrace> and becomes ABI and that can be used
|
||||
foreign import stdcpplibbacktrace "system:stdc++_libbacktrace"
|
||||
foreign import stdcpplibbacktrace "system:stdc++exp"
|
||||
|
||||
foreign import libdl "system:dl"
|
||||
|
||||
@@ -191,4 +191,4 @@ _resolve :: proc(ctx: ^Context, frame: Frame, allocator: runtime.Allocator) -> F
|
||||
)
|
||||
|
||||
return btc.frame
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user