mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +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:
parent
6727cc2da4
commit
04eaf358d0
@ -133,7 +133,7 @@ void InitCallstack()
|
|||||||
#endif
|
#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 ) );
|
auto trace = (uintptr_t*)tracy_malloc( ( 1 + depth ) * sizeof( uintptr_t ) );
|
||||||
const auto num = RtlWalkFrameChain( (void**)( trace + 1 ), depth, 0 );
|
const auto num = RtlWalkFrameChain( (void**)( trace + 1 ), depth, 0 );
|
||||||
|
Loading…
Reference in New Issue
Block a user