Lars Hansen
unread,Jun 4, 2019, 7:56:47 AM6/4/19You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-tech-js-engine-internals
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.
--lars