summaryrefslogtreecommitdiff
path: root/thread.c
diff options
authorKJ Tsanaktsidis <kj@kjtsanaktsidis.id.au>2024-02-24 19:31:27 +1100
committerKJ Tsanaktsidis <kj@kjtsanaktsidis.id.au>2024-03-25 14:57:04 +1100
commit48d3bdddbaeabed5fb6a97bfbe65e250d1383a9c (patch)
tree01073640401bd6cede2fdce1d285465c29d3eb7c /thread.c
parentea31228d0c46763a62abef047d37d66709bdaf87 (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]
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index b8dd862634..e672172a4d 100644
--- a/thread.c
+++ b/thread.c
@@ -527,9 +527,6 @@ void
ruby_thread_init_stack(rb_thread_t *th, void *local_in_parent_frame)
{
native_thread_init_stack(th, local_in_parent_frame);
-#ifdef RUBY_ASAN_ENABLED
- th->asan_fake_stack_handle = asan_get_thread_fake_stack_handle();
-#endif
}
const VALUE *
close