mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 12:53:51 +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::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
TextFocused( "Symbol:", worker.GetString( sym->name ) );
|
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 )
|
if( !m_showAsm )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user