diff options
author | KJ Tsanaktsidis <[email protected]> | 2024-02-24 19:31:27 +1100 |
---|---|---|
committer | KJ Tsanaktsidis <[email protected]> | 2024-03-25 14:57:04 +1100 |
commit | 48d3bdddbaeabed5fb6a97bfbe65e250d1383a9c () | |
tree | 01073640401bd6cede2fdce1d285465c29d3eb7c /thread_pthread.c | |
parent | ea31228d0c46763a62abef047d37d66709bdaf87 (diff) |
Move asan_fake_stack_handle to EC, not thread
It's really a property of the EC; each fiber (which has its own EC) also has its own asan_fake_stack_handle. [Bug #20310]
-rw-r--r-- | thread_pthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2081,6 +2081,7 @@ native_thread_init_stack(rb_thread_t *th, void *local_in_parent_frame) rb_nativethread_id_t curr = pthread_self(); #ifdef RUBY_ASAN_ENABLED local_in_parent_frame = asan_get_real_stack_addr(local_in_parent_frame); #endif if (!native_main_thread.id) { |