Assert on parent name being null.

This commit is contained in:
Bartosz Taudul 2024-09-24 19:44:36 +02:00
parent aca0f3cad7
commit b676406878
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -391,6 +391,10 @@ void View::DrawSamplesStatistics( Vector<SymList>& data, int64_t timeRange, Accu
const auto topName = m_worker.GetString( symMap.find( inSymList[0].symAddr )->second.name );
if( topName != name )
{
// Parent name at this point should only be enabled if m_statSeparateInlines
// is enabled. These two code paths should be mutually exclusive.
assert( !parentName );
parentName = name;
name = topName;
}