does the jitviewer works with pypy7.1.1?
I clone a Jitviewer.
hg clone https://foss.heptapod.net/pypy/jitviewer -r pypy-5.0
my pypy version is
Python 2.7.13 (8cdda8b8cdb8, Apr 14 2019, 15:13:21)
[PyPy 7.1.1 with MSC v.1500 32 bit] on win32
Then I build and instll the jitviewer
pypy -m pip install build
pypy -m pip install requirements.txt
Set PYTHON-PATH
set PYTHONPATH=D:\work\play\pypy-clean
Then I try it with the example logfile
pypy bin\jitviewer.py --log log.pypylog
It fails,
Encountered an error running nm: 'nm' 不是内部或外部命令,也不是可运行的程序或批处理文件( is not an internal or external command, neither a .exe nor .bat file)。
Traceback (most recent call last):
File "bin\jitviewer.py", line 15, in <module>
main(sys.argv)
File "f:\play\jitviewer\_jitviewer\app.py", line 260, in main
log, loops = import_log(filename, ParserWithHtmlRepr)
File "D:\work\play\pypy-clean\rpython\tool\jitlogparser\parser.py", line 454, in import_log
loop = parser.parse()
File "D:\work\play\pypy-clean\rpython\jit\tool\oparser.py", line 343, in parse
num, ops, last_offset = self.parse_ops(base_indent, newlines, 0)
File "D:\work\play\pypy-clean\rpython\jit\tool\oparser.py", line 374, in parse_ops
op = self.parse_next_op(line)
File "D:\work\play\pypy-clean\rpython\jit\tool\oparser.py", line 317, in parse_next_op
return self.parse_result_op(line)
File "D:\work\play\pypy-clean\rpython\jit\tool\oparser.py", line 266, in parse_result_op
opnum, args, descr, fail_args = self.parse_op(op)
File "D:\work\play\pypy-clean\rpython\jit\tool\oparser.py", line 216, in parse_op
raise ParseError("unknown op: %s" % opname)
ParseError: unknown op: getfield_gc
I see the jitviewer document says that
PyPy versions correspond to jitviewer tags, so pypy-1.9 tag in jitviewer means it works with pypy 1.9.
and the newest jitviewer is tagged with pypy-5.0, does it mean the newest available pypy is pypy 5.0? So it can not work with pypy7.1.1, right? If so, How can I make it working with pypy7.1.1?