Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index fbdda546465f190fcd3924ddcb4002739cdacc67..1c2e138b8cb91f7c5491b878d5a2fc5e4f223c8a 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -146,7 +146,7 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
} |
// Instruction address and instruction offset. |
- out.AddFormatted("%p %4d ", prev_pc, prev_pc - begin); |
+ out.AddFormatted("%p %4X ", prev_pc, prev_pc - begin); |
Mircea Trofin
2015/06/03 05:25:51
perf outputs offsets in hex. I changed our output
|
// Instruction. |
out.AddFormatted("%s", decode_buffer.start()); |