Assembly lines without source locations are navigatable to.

This commit is contained in:
Bartosz Taudul 2022-08-18 00:19:32 +02:00
parent 3dfa3a77a2
commit a1f09fab35
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -2639,7 +2639,14 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
{
SmallColorBox( 0 );
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
{