[pypy-commit] pypy default: Print assembler including the address of the current instruction

arigo noreply at buildbot.pypy.org
Mon Aug 12 17:36:06 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r66088:2d0eaeda9275
Date: 2013-08-12 17:35 +0200
http://bitbucket.org/pypy/pypy/changeset/2d0eaeda9275/

Log:	Print assembler including the address of the current instruction and
	the raw bytes; I think there is little point in hiding information
	here, and it lets us see that some jumps have a bogus destination
	address (unpatched)

diff --git a/pypy/tool/jitlogparser/parser.py b/pypy/tool/jitlogparser/parser.py
--- a/pypy/tool/jitlogparser/parser.py
+++ b/pypy/tool/jitlogparser/parser.py
@@ -85,7 +85,7 @@
                     continue
                 e = elem.split("\t")
                 adr = e[0]
-                v = " ".join(e[2:])
+                v = elem   # --- more compactly:  " ".join(e[2:])
                 if not start:
                     start = int(adr.strip(":"), 16)
                 ofs = int(adr.strip(":"), 16) - start


More information about the pypy-commit mailing list