mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Going from source location to assembly line.
This commit is contained in:
parent
430aa5564d
commit
b016d9e295
@ -476,6 +476,12 @@ void SourceView::RenderLine( const Line& line, int lineNum, uint32_t ipcnt, uint
|
||||
sprintf( buf, "@%s", asmString );
|
||||
const auto asmsz = strlen( buf );
|
||||
TextDisabledUnformatted( buf );
|
||||
if( ImGui::IsItemClicked() )
|
||||
{
|
||||
m_showAsm = true;
|
||||
m_currentAddr = (*addresses)[0];
|
||||
m_targetAddr = (*addresses)[0];
|
||||
}
|
||||
ImGui::SameLine( 0, 0 );
|
||||
ImGui::ItemSize( ImVec2( stw * ( 8 - asmsz ), ty ), 0 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user