summaryrefslogtreecommitdiff
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authorKJ Tsanaktsidis <kj@kjtsanaktsidis.id.au>2024-02-24 19:32:17 +1100
committerKJ Tsanaktsidis <kj@kjtsanaktsidis.id.au>2024-03-25 14:57:04 +1100
commit2535a09e85dd68249d9f390db32313ddd482480e (patch)
treef9290f950abf34a82382ecbae8f92fa663deea4a /include/ruby/ruby.h
parent48d3bdddbaeabed5fb6a97bfbe65e250d1383a9c (diff)
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]
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions