mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Normalize child call names in symbol view.
This commit is contained in:
parent
00e0187506
commit
f39efbaa07
@ -1563,7 +1563,16 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
|
||||
const auto symName = sd ? worker.GetString( sd->name ) : "[unknown]";
|
||||
if( v.addr >> 63 == 0 )
|
||||
{
|
||||
ImGui::TextUnformatted( symName );
|
||||
if( shortenName == ShortenName::Never )
|
||||
{
|
||||
ImGui::TextUnformatted( symName );
|
||||
}
|
||||
else
|
||||
{
|
||||
const auto normalized = ShortenZoneName( ShortenName::OnlyNormalize, symName );
|
||||
ImGui::TextUnformatted( normalized );
|
||||
TooltipNormalizedName( symName, normalized );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user