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

fix GatherIpStats address

This commit is contained in:
Benoit Jacob 2022-05-06 19:20:27 +00:00
parent 3dc81d64f5
commit d4059cba50

View File

@ -1312,7 +1312,11 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
} }
else else
{ {
if (worker.GetSymbolInstructionPointers( m_baseAddr )) {
GatherIpStats( m_baseAddr, as, worker, limitView, view ); GatherIpStats( m_baseAddr, as, worker, limitView, view );
} else {
GatherIpStats( m_symAddr, as, worker, limitView, view );
}
auto iptr = worker.GetInlineSymbolList( m_baseAddr, m_codeLen ); auto iptr = worker.GetInlineSymbolList( m_baseAddr, m_codeLen );
if( iptr ) if( iptr )
{ {