Project

General

Profile

« Previous | Next » 

Revision 2535a09e

Added by KJ Tsanaktsidis over 1 year ago

Check ASAN fake stacks when marking non-current threads

Currently, we check the values on the machine stack & register state to
see if they're actually a pointer to an ASAN fake stack, and mark the
values on the fake stack too if required. However, we are only doing
that for the current thread (the one actually running the GC), not for
any other thread in the program.

Make rb_gc_mark_machine_context (which is called for marking non-current
threads) perform the same ASAN fake stack handling that
mark_current_machine_context performs.

[Bug #20310]