Project

General

Profile

« Previous | Next » 

Revision 3a6cdeda

Added by katei (Yuta Saito) over 2 years ago

[wasm] Scan machine stack based on ec->machine.stack_{start,end}

fiber machine stack is placed outside of C stack allocated by wasm-ld,
so highest stack address recorded by rb_wasm_record_stack_base is
invalid when running on non-main fiber.
Therefore, we should scan stack_{start,end} which always point a valid
stack range in any context.