mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Merge two conditions.
This commit is contained in:
parent
caf092d4b4
commit
85e11c2d97
@ -285,12 +285,9 @@ bool View::ViewDispatch( const char* fileName, int line, uint64_t symAddr )
|
||||
else
|
||||
{
|
||||
const auto parentAddr = m_worker.GetSymbolForAddress( symAddr );
|
||||
if( parentAddr != 0 )
|
||||
if( parentAddr != 0 && m_worker.HasSymbolCode( parentAddr ) )
|
||||
{
|
||||
if( m_worker.HasSymbolCode( parentAddr ) )
|
||||
{
|
||||
baseAddr = parentAddr;
|
||||
}
|
||||
baseAddr = parentAddr;
|
||||
}
|
||||
}
|
||||
if( baseAddr != 0 || line != 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user