Home
last modified time | relevance | path

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

/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()
128 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
132 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
175 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
179 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
H A Dmemprof_thread.h108 uptr stack_top_; variable
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_thread.cpp189 *size_old = stack_top_ - stack_bottom_; in FinishSwitchFiber()
191 stack_top_ = next_stack_top_; 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()
262 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
279 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
313 stack_top_ = RoundDownTo(stack_bottom_ + stack_size, ASAN_SHADOW_GRANULARITY); in SetThreadStackAndTls()
318 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
[all …]
H A Dasan_fuchsia.cpp142 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.cpp110 stack_top_ = state->stack_top; in InitStackAndTls()
H A Dhwasan_linux.cpp506 stack_top_ = stack_bottom_ + stack_size; in InitStackAndTls()