Status: New
Owner: ----

New issue 2380 by [email protected]: snapshot build crashing when compiling C++ code to Thumb.
http://code.google.com/p/v8/issues/detail?id=2380

in revision 12755 (Use movw/movt instead of constant pool on ARMv7) the methods Assembler::target_address_at and Assembler::set_target_address_at in assembler-arm-inl.h will clear the bottom two bits. According to the comments it was put in as a "JIT hardening" measure to prevent switching tho Thumb mode. While the JIT never emits Thumb code, the C++ code could be compiled for Thumb. If this is the case then V8 with snapshots will crash because the serializer will use the aforementioned methods when generating the snapshots and any ExternalReference to C++ Thumb functions will have its bottom bits cleared making it look like ARM code ...




--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to