Sure. If you build with tools/dev/gm.py arm.release on an x86 host, you'll get a simulator d8 binary. More generally, this is what having distinct target_arch and v8_target_arch parameters in args.gn is good for: the former controls what platform the binaries will run on, the latter controls what architecture V8's compilers will target. If there is a difference, the simulator will be used.
On Mon, Jul 2, 2018 at 7:48 PM Thomson Tan <lilo...@gmail.com> wrote: > Mksnapshot builds v8 to target arch but it could run with simulator on > host arch when cross compiling. Is there a similar way to build d8 to > target arch but actually running on host arch with simulator? I'd like to > utilize the simulator to debug some codegen issue which might be hard to > debug on target. > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.