Increase max length of symbol on windows.

This commit is contained in:
Bartosz Taudul 2018-06-23 00:27:14 +02:00
parent f0ce7de193
commit 19e83b434e

View File

@ -27,10 +27,10 @@ CallstackEntry DecodeCallstackPtr( uint64_t ptr )
const auto proc = GetCurrentProcess();
char buf[sizeof( SYMBOL_INFO ) + 255];
char buf[sizeof( SYMBOL_INFO ) + 1024];
auto si = (SYMBOL_INFO*)buf;
si->SizeOfStruct = sizeof( SYMBOL_INFO );
si->MaxNameLen = 255;
si->MaxNameLen = 1024;
if( SymFromAddr( proc, ptr, nullptr, si ) == 0 )
{