mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Increase max length of symbol on windows.
This commit is contained in:
parent
f0ce7de193
commit
19e83b434e
@ -27,10 +27,10 @@ CallstackEntry DecodeCallstackPtr( uint64_t ptr )
|
|||||||
|
|
||||||
const auto proc = GetCurrentProcess();
|
const auto proc = GetCurrentProcess();
|
||||||
|
|
||||||
char buf[sizeof( SYMBOL_INFO ) + 255];
|
char buf[sizeof( SYMBOL_INFO ) + 1024];
|
||||||
auto si = (SYMBOL_INFO*)buf;
|
auto si = (SYMBOL_INFO*)buf;
|
||||||
si->SizeOfStruct = sizeof( SYMBOL_INFO );
|
si->SizeOfStruct = sizeof( SYMBOL_INFO );
|
||||||
si->MaxNameLen = 255;
|
si->MaxNameLen = 1024;
|
||||||
|
|
||||||
if( SymFromAddr( proc, ptr, nullptr, si ) == 0 )
|
if( SymFromAddr( proc, ptr, nullptr, si ) == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user