1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Proper processing of symbol locations in live capture.

This commit is contained in:
Bartosz Taudul 2020-03-30 17:10:59 +02:00
parent 6fe5d0575f
commit 11aedf2b27

View File

@ -5444,7 +5444,11 @@ void Worker::ProcessSymbolInformation( const QueueSymbolInformation& ev )
Query( ServerQuerySymbolCode, ev.symAddr, it->second.size );
}
if( !it->second.isInline ) m_data.symbolLoc.push_back( SymbolLocation { ev.symAddr, it->second.size } );
if( !it->second.isInline )
{
if( !m_data.newSymbolsWereAdded ) m_data.newSymbolsWereAdded = true;
m_data.symbolLoc.push_back( SymbolLocation { ev.symAddr, it->second.size } );
}
m_pendingSymbols.erase( it );
m_pendingCustomStrings.erase( fit );