mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Assembly lines without source locations are navigatable to.
This commit is contained in:
parent
3dfa3a77a2
commit
a1f09fab35
@ -2639,7 +2639,14 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
|
|||||||
{
|
{
|
||||||
SmallColorBox( 0 );
|
SmallColorBox( 0 );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::TextDisabled( "0x%" PRIx64, src );
|
char buf[32];
|
||||||
|
sprintf( buf, "0x%" PRIx64, src );
|
||||||
|
if( ImGui::MenuItem( buf ) )
|
||||||
|
{
|
||||||
|
m_targetAddr = src;
|
||||||
|
m_selectedAddresses.clear();
|
||||||
|
m_selectedAddresses.emplace( src );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user