mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Display parent symbol for inline symbols in source view.
This commit is contained in:
parent
f62df6125f
commit
17a5faa5e0
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user