Cosmetics.

This commit is contained in:
Bartosz Taudul 2020-03-31 20:44:44 +02:00
parent d08f3a6ea0
commit 57779a8ed9

View File

@ -1680,7 +1680,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 } );
if( !isInline) 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; } );