Home
last modified time | relevance | path

Searched refs:stack_bottom_ (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp187 *bottom_old = stack_bottom_; in FinishSwitchFiber()
189 *size_old = stack_top_ - stack_bottom_; in FinishSwitchFiber()
190 stack_bottom_ = next_stack_bottom_; in FinishSwitchFiber()
200 if (stack_bottom_ >= stack_top_) in GetStackBounds()
202 return {stack_bottom_, stack_top_}; in GetStackBounds()
211 return {stack_bottom_, stack_top_}; in GetStackBounds()
259 if (stack_top_ != stack_bottom_) { in Init()
261 CHECK(AddrIsInMem(stack_bottom_)); in Init()
279 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
311 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
[all …]
H A Dasan_fuchsia.cpp141 stack_bottom_ = options->stack_bottom; in SetThreadStackAndTls()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp108 if (stack_bottom_ >= stack_top_) in GetStackBounds()
110 return {stack_bottom_, stack_top_}; in GetStackBounds()
125 if (stack_top_ != stack_bottom_) { in Init()
127 CHECK(AddrIsInMem(stack_bottom_)); in Init()
132 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
173 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_size, in SetThreadStackAndTls()
175 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
179 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
H A Dmemprof_thread.h109 uptr stack_bottom_; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp43 CHECK_EQ(0, stack_bottom_); in Init()
87 if (stack_bottom_) { in InitStackRingBuffer()
90 CHECK(MemIsApp(stack_bottom_)); in InitStackRingBuffer()
96 if (stack_top_ != stack_bottom_) in ClearShadowForThreadStackAndTLS()
97 TagMemory(UntagAddr(stack_bottom_), in ClearShadowForThreadStackAndTLS()
98 UntagAddr(stack_top_) - UntagAddr(stack_bottom_), in ClearShadowForThreadStackAndTLS()
H A Dhwasan_thread.h45 uptr stack_bottom() { return stack_bottom_; } in stack_bottom()
53 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack()
85 uptr stack_bottom_; variable
H A Dhwasan_linux.cpp504 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, &tls_begin_, in InitStackAndTls()
506 stack_top_ = stack_bottom_ + stack_size; in InitStackAndTls()
H A Dhwasan_fuchsia.cpp109 stack_bottom_ = state->stack_bottom; in InitStackAndTls()