From 2543bb5e6365d3a97d7dc38a9479ba9ec625c298 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 9 May 2020 15:14:25 +0200 Subject: [PATCH] Shorter jump labels. --- server/TracySourceView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 2288ae39..bda2bf06 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1643,7 +1643,7 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_mapsecond ); + fprintf( f, ".L%" PRIu32 ":\n", it->second ); } bool hasJump = false; if( v.jumpAddr != 0 ) @@ -1651,7 +1651,7 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_mapsecond ); + fprintf( f, "\t%-*s.L%" PRIu32 "\n", m_maxMnemonicLen, v.mnemonic.c_str(), lit->second ); hasJump = true; } }