mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Don't store inlined symbols locations.
This commit is contained in:
parent
45b8622bc9
commit
efbf13fcd4
@ -1658,7 +1658,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
|
|||||||
Int24 size;
|
Int24 size;
|
||||||
f.Read9( symAddr, name, file, line, imageName, callFile, callLine, isInline, size );
|
f.Read9( symAddr, name, file, line, imageName, callFile, callLine, isInline, size );
|
||||||
m_data.symbolMap.emplace( symAddr, SymbolData { name, file, line, imageName, callFile, callLine, isInline, size } );
|
m_data.symbolMap.emplace( symAddr, SymbolData { name, file, line, imageName, callFile, callLine, isInline, size } );
|
||||||
m_data.symbolLoc.push_back( SymbolLocation { symAddr, size.Val() } );
|
if( !isInline) m_data.symbolLoc.push_back( SymbolLocation { symAddr, size.Val() } );
|
||||||
}
|
}
|
||||||
#ifdef NO_PARALLEL_SORT
|
#ifdef NO_PARALLEL_SORT
|
||||||
pdqsort_branchless( m_data.symbolLoc.begin(), m_data.symbolLoc.end(), [] ( const auto& l, const auto& r ) { return l.addr < r.addr; } );
|
pdqsort_branchless( m_data.symbolLoc.begin(), m_data.symbolLoc.end(), [] ( const auto& l, const auto& r ) { return l.addr < r.addr; } );
|
||||||
@ -5299,7 +5299,7 @@ void Worker::ProcessSymbolInformation( const QueueSymbolInformation& ev )
|
|||||||
Query( ServerQuerySymbolCode, ev.symAddr, it->second.size );
|
Query( ServerQuerySymbolCode, ev.symAddr, it->second.size );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_data.symbolLoc.push_back( SymbolLocation { ev.symAddr, it->second.size } );
|
if( !it->second.isInline ) m_data.symbolLoc.push_back( SymbolLocation { ev.symAddr, it->second.size } );
|
||||||
|
|
||||||
m_pendingSymbols.erase( it );
|
m_pendingSymbols.erase( it );
|
||||||
m_pendingCustomStrings.erase( fit );
|
m_pendingCustomStrings.erase( fit );
|
||||||
|
Loading…
Reference in New Issue
Block a user