mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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]
This commit is contained in:
parent
ea31228d0c
commit
48d3bdddba
4 changed files with 6 additions and 9 deletions
3
thread.c
3
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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue