Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_thread.cpp109 if (stack_bottom_ >= stack_top_) in GetStackBounds()
111 return {stack_bottom_, stack_top_}; in GetStackBounds()
126 if (stack_top_ != stack_bottom_) { in Init()
129 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
133 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
176 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
180 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
Dmemprof_thread.h111 uptr stack_top_; variable
/external/llvm-project/compiler-rt/lib/asan/
Dasan_thread.cpp154 *size_old = stack_top_ - stack_bottom_; in FinishSwitchFiber()
156 stack_top_ = next_stack_top_; in FinishSwitchFiber()
165 if (stack_bottom_ >= stack_top_) return {0, 0}; in GetStackBounds()
166 return {stack_bottom_, stack_top_}; in GetStackBounds()
175 return {stack_bottom_, stack_top_}; in GetStackBounds()
227 if (stack_top_ != stack_bottom_) { in Init()
230 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
247 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
305 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
309 if (stack_top_ != stack_bottom_) { in SetThreadStackAndTls()
[all …]
Dasan_thread.h154 uptr stack_top_; variable
Dasan_rtems.cpp134 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
Dasan_fuchsia.cpp117 stack_top_ = options->stack_bottom + options->stack_size; in SetThreadStackAndTls()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_thread.cpp58 stack_top_ = stack_bottom_ + stack_size; in Init()
65 CHECK(MemIsApp(stack_top_ - 1)); in Init()
79 if (stack_top_ != stack_bottom_) in ClearShadowForThreadStackAndTLS()
80 TagMemory(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
Dhwasan_thread.h30 uptr stack_top() { return stack_top_; } in stack_top()
38 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack()
65 uptr stack_top_; variable
/external/compiler-rt/lib/msan/
Dmsan_thread.h31 uptr stack_top() { return stack_top_; } in stack_top()
38 return addr >= stack_bottom_ && addr < stack_top_; in AddrIsInStack()
56 uptr stack_top_; variable
Dmsan_thread.cc27 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
35 __msan_unpoison((void *)stack_bottom_, stack_top_ - stack_bottom_); in ClearShadowForThreadStackAndTLS()
47 CHECK(MEM_IS_APP(stack_top_ - 1)); in Init()
/external/compiler-rt/lib/asan/
Dasan_thread.cc156 stack_top_ = next_stack_top_; in FinishSwitchFiber()
164 return StackBounds{stack_bottom_, stack_top_}; // NOLINT in GetStackBounds()
172 return StackBounds{stack_bottom_, stack_top_}; // NOLINT in GetStackBounds()
225 CHECK(AddrIsInMem(stack_top_ - 1)); in Init()
229 (void *)stack_bottom_, (void *)stack_top_, stack_top_ - stack_bottom_, in Init()
268 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
277 PoisonShadow(stack_bottom_, stack_top_ - stack_bottom_, 0); in ClearShadowForThreadStackAndTLS()
Dasan_thread.h144 uptr stack_top_; variable