From 6266d482ae8754b022ec32858fc5ade5af3f4225 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 26 Apr 2020 14:51:58 +0200 Subject: [PATCH] Be explicit about displaying machine code. --- manual/tracy.tex | 2 +- server/TracySourceView.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/tracy.tex b/manual/tracy.tex index 9c02ee7b..94f82720 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -2712,7 +2712,7 @@ This mode shows the disassembly of the symbol machine code. Each assembly instru If the \emph{\faFileImport{}~Show source locations} option is selected, each line of the assembly code will also contain information about the originating source file name and line number. For easier differentiation between different source files, each file is assigned its own color. Clicking the \LMB{}~left mouse button on a displayed source location will switch the source file, if necessary, and focus the source view on selected line. -Selecting the \emph{\faMicrochip{}~Show bytes} option will enable display of machine code bytes for each line. +Selecting the \emph{\faCogs{}~Show machine code} option will enable display of raw machine code bytes for each line. If any instruction would jump to a predefined address, symbolic name of the jump target will be additionally displayed. If the destination location is within the currently displayed symbol an \texttt{->}~arrow will be prepended to the name. Hovering the \faMousePointer{}~mouse pointer over such symbol name will highlight the target location. Clicking on it with the \LMB{}~left mouse button will focus the view on the destination instruction, or switch view to the destination symbol. diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index cc7bc4ff..547105f2 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1007,7 +1007,7 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_map