Home
last modified time | relevance | path

Searched refs:stack_switching_ (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.cpp83 if (!stack_switching_) in GetStackBounds()
104 CHECK(!stack_switching_); in StartSwitchFiber()
107 stack_switching_ = true; in StartSwitchFiber()
111 CHECK(stack_switching_); in FinishSwitchFiber()
118 stack_switching_ = false; in FinishSwitchFiber()
H A Dmsan_thread.h63 bool stack_switching_; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp155 if (atomic_load(&stack_switching_, memory_order_relaxed)) { in StartSwitchFiber()
162 atomic_store(&stack_switching_, 1, memory_order_release); in StartSwitchFiber()
176 if (!atomic_load(&stack_switching_, memory_order_relaxed)) { in FinishSwitchFiber()
192 atomic_store(&stack_switching_, 0, memory_order_release); in FinishSwitchFiber()
198 if (!atomic_load(&stack_switching_, memory_order_acquire)) { in GetStackBounds()
256 atomic_store(&stack_switching_, false, memory_order_release); in Init()