Home
last modified time | relevance | path

Searched refs:shadow_stack_pos (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h102 uptr *shadow_stack_pos; member
165 uptr *shadow_stack_pos; member
467 uptr size = thr->shadow_stack_pos - thr->shadow_stack;
784 DCHECK_GE(thr->shadow_stack_pos, thr->shadow_stack); in FuncEntry()
786 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
788 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
791 thr->shadow_stack_pos[0] = pc; in FuncEntry()
792 thr->shadow_stack_pos++; in FuncEntry()
800 DCHECK_GT(thr->shadow_stack_pos, thr->shadow_stack); in FuncExit()
802 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncExit()
[all …]
H A Dtsan_rtl.cpp426 shadow_stack_pos = shadow_stack; in ThreadState()
886 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
898 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
900 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
903 thr->shadow_stack_pos[0] = pc; in CurrentStackId()
904 thr->shadow_stack_pos++; in CurrentStackId()
907 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
909 thr->shadow_stack_pos--; in CurrentStackId()
992 uptr* pos = Max(&thr->shadow_stack[0], thr->shadow_stack_pos - kMaxFrames); in TraceSwitchPartImpl()
993 for (; pos < thr->shadow_stack_pos; pos++) { in TraceSwitchPartImpl()
[all …]
H A Dtsan_rtl_thread.cpp244 thr->shadow_stack_pos = nullptr; in ThreadFinish()
H A Dtsan_interceptors_posix.cpp550 buf->shadow_stack_pos = thr->shadow_stack_pos; in SetJmp()
564 CHECK_GE(thr->shadow_stack_pos, buf->shadow_stack_pos); in LongJmp()
566 while (thr->shadow_stack_pos > buf->shadow_stack_pos) in LongJmp()