mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Assert on parent name being null.
This commit is contained in:
parent
aca0f3cad7
commit
b676406878
@ -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 );
|
const auto topName = m_worker.GetString( symMap.find( inSymList[0].symAddr )->second.name );
|
||||||
if( topName != 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;
|
parentName = name;
|
||||||
name = topName;
|
name = topName;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user