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.h105 uptr *shadow_stack_pos; member
168 uptr *shadow_stack_pos; member
470 uptr size = thr->shadow_stack_pos - thr->shadow_stack;
787 DCHECK_GE(thr->shadow_stack_pos, thr->shadow_stack); in FuncEntry()
789 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in FuncEntry()
791 if (thr->shadow_stack_pos == thr->shadow_stack_end) in FuncEntry()
794 thr->shadow_stack_pos[0] = pc; in FuncEntry()
795 thr->shadow_stack_pos++; in FuncEntry()
803 DCHECK_GT(thr->shadow_stack_pos, thr->shadow_stack); in FuncExit()
805 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()
908 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
920 DCHECK_LT(thr->shadow_stack_pos, thr->shadow_stack_end); in CurrentStackId()
922 if (thr->shadow_stack_pos == thr->shadow_stack_end) in CurrentStackId()
925 thr->shadow_stack_pos[0] = pc; in CurrentStackId()
926 thr->shadow_stack_pos++; in CurrentStackId()
929 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack)); in CurrentStackId()
931 thr->shadow_stack_pos--; in CurrentStackId()
1014 uptr* pos = Max(&thr->shadow_stack[0], thr->shadow_stack_pos - kMaxFrames); in TraceSwitchPartImpl()
1015 for (; pos < thr->shadow_stack_pos; pos++) { in TraceSwitchPartImpl()
[all …]
H A Dtsan_rtl_thread.cpp246 thr->shadow_stack_pos = nullptr; in ThreadFinish()
H A Dtsan_interceptors_posix.cpp560 buf->shadow_stack_pos = thr->shadow_stack_pos; in SetJmp()
575 CHECK_GE(thr->shadow_stack_pos, buf->shadow_stack_pos); in LongJmp()
577 while (thr->shadow_stack_pos > buf->shadow_stack_pos) in LongJmp()