mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-03 11:59:36 +00:00
Fix linking error in some configurations. Unresolved CallTrace symbol was observed in static MSVC RelWithDebInfo build (but not in debug build).
This commit is contained in:
@@ -133,7 +133,7 @@ void InitCallstack()
|
||||
#endif
|
||||
}
|
||||
|
||||
TRACY_API tracy_force_inline uintptr_t* CallTrace( int depth )
|
||||
TRACY_API uintptr_t* CallTrace( int depth )
|
||||
{
|
||||
auto trace = (uintptr_t*)tracy_malloc( ( 1 + depth ) * sizeof( uintptr_t ) );
|
||||
const auto num = RtlWalkFrameChain( (void**)( trace + 1 ), depth, 0 );
|
||||
|
||||
Reference in New Issue
Block a user