Display parent symbol for inline symbols in source view.

This commit is contained in:
Bartosz Taudul 2020-03-30 02:46:29 +02:00
parent f62df6125f
commit 17a5faa5e0

View File

@ -268,6 +268,15 @@ void SourceView::Render( const Worker& worker )
ImGui::Spacing();
ImGui::SameLine();
TextFocused( "Symbol:", worker.GetString( sym->name ) );
if( sym->isInline )
{
auto parent = worker.GetSymbolData( m_baseAddr );
if( parent )
{
ImGui::SameLine();
ImGui::TextDisabled( "(%s)", worker.GetString( parent->name ) );
}
}
}
if( !m_showAsm )