mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 14:54:34 +00:00
Only pack pointer if needed.
This commit is contained in:
parent
eaef966aa9
commit
ec16182887
@ -2525,10 +2525,10 @@ void SourceView::RenderAsmLine( AsmLine& line, uint32_t ipcnt, uint32_t iptotal,
|
|||||||
}
|
}
|
||||||
else if( ImGui::IsMouseClicked( 2 ) )
|
else if( ImGui::IsMouseClicked( 2 ) )
|
||||||
{
|
{
|
||||||
const auto cfi = worker.PackPointer( line.addr );
|
|
||||||
auto inlineList = worker.GetInlineSymbolList( m_baseAddr, m_codeLen );
|
auto inlineList = worker.GetInlineSymbolList( m_baseAddr, m_codeLen );
|
||||||
if( inlineList )
|
if( inlineList )
|
||||||
{
|
{
|
||||||
|
const auto cfi = worker.PackPointer( line.addr );
|
||||||
bool found = false;
|
bool found = false;
|
||||||
const auto symEnd = m_baseAddr + m_codeLen;
|
const auto symEnd = m_baseAddr + m_codeLen;
|
||||||
while( *inlineList < symEnd )
|
while( *inlineList < symEnd )
|
||||||
|
Loading…
Reference in New Issue
Block a user