We want to always print numbers in hex. This should make that a little
more comprehensive.
This commit is contained in:
Kartik Agaram 2018-08-13 16:10:41 -07:00
parent a46cfb13da
commit 31338623d1
2 changed files with 3 additions and 2 deletions

View File

@ -126,6 +126,7 @@ struct trace_stream {
curr_stream = new ostringstream;
curr_label = label;
curr_depth = depth;
(*curr_stream) << std::hex;
return *curr_stream;
}

View File

@ -197,11 +197,11 @@ loop:
eb $loop2/disp8
# address 8
eb $loop3/disp8
# address 10
# address 0xa
$loop3:
+transform: label 'loop' is at address 1
+transform: label '$loop2' is at address 1
+transform: label '$loop3' is at address 10
+transform: label '$loop3' is at address a
# first jump is to -7
+transform: instruction after transform: 'eb f9'
# second jump is to 0 (fall through)