Home
last modified time | relevance | path

Searched refs:stack_top_ (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp105 if (stack_bottom_ >= stack_top_) in GetStackBounds()
107 return {stack_bottom_, stack_top_}; in GetStackBounds()
122 if (stack_top_ != stack_bottom_) { in Init()
125 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
129 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
168 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_top_, in SetThreadStackAndTls()
172 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
H A Dmemprof_thread.h102 uptr stack_top_; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp187 *size_old = stack_top_ - stack_bottom_; in FinishSwitchFiber()
189 stack_top_ = next_stack_top_; in FinishSwitchFiber()
198 if (stack_bottom_ >= stack_top_) in GetStackBounds()
200 return {stack_bottom_, stack_top_}; in GetStackBounds()
209 return {stack_bottom_, stack_top_}; in GetStackBounds()
257 if (stack_top_ != stack_bottom_) { in Init()
260 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
277 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
307 GetThreadStackAndTls(tid() == kMainTid, &stack_bottom_, &stack_top_, in SetThreadStackAndTls()
309 stack_top_ = RoundDownTo(stack_top_, ASAN_SHADOW_GRANULARITY); in SetThreadStackAndTls()
[all …]
H A Dasan_thread.h169 uptr stack_top_; variable
H A Dasan_fuchsia.cpp146 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread.cpp42 CHECK_EQ(0, stack_top_); in Init()
91 CHECK(MemIsApp(stack_top_ - 1)); in InitStackRingBuffer()
96 if (stack_top_ != stack_bottom_) in ClearShadowForThreadStackAndTLS()
98 UntagAddr(stack_top_) - UntagAddr(stack_bottom_), in ClearShadowForThreadStackAndTLS()
99 GetTagFromPointer(stack_top_)); in ClearShadowForThreadStackAndTLS()
H A Dhwasan_thread.h44 uptr stack_top() { return stack_top_; } in stack_top()
53 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack()
84 uptr stack_top_; variable
H A Dhwasan_fuchsia.cpp119 stack_top_ = state->stack_top; in InitStackAndTls()
H A Dhwasan_linux.cpp502 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_top_, &tls_begin_, in InitStackAndTls()