Jun 4, 2019, 7:56:47 AM6/4/19
I've just landed a patch to embed Zydis, a general x86/x64 disassembler, in
SpiderMonkey, so that Cranelift can have reliably disassembly with
IONFLAGS=codegen. (We already have ARM and ARM64 disassemblers and can use
those when we get around to those platforms). Right now Zydis is compiled
in only when building for x64 with jitspew and cranelift, but this is
controllable in js/src/zydis/moz.build.
I'm not suggesting that we get rid of our existing jitspew for x86/x64 (for
one thing, Zydis does not produce readable labels, only code vector
offsets, so reading the disassembly is a little more laborsome), but this
is now an option.