Searched refs:shadow_stack (Results 1 - 4 of 4) sorted by relevance

/haiku-buildtools/gcc/libsanitizer/tsan/
H A Dtsan_trace.h60 uptr shadow_stack[kShadowStackSize]; member in struct:__tsan::Trace
H A Dtsan_rtl_thread.cc94 thr->shadow_stack = &ThreadTrace(thr->tid)->shadow_stack[0];
95 thr->shadow_stack_pos = thr->shadow_stack;
96 thr->shadow_stack_end = thr->shadow_stack + kShadowStackSize;
100 thr->shadow_stack = (uptr*)internal_alloc(MBlockShadowStack,
102 thr->shadow_stack_pos = thr->shadow_stack;
103 thr->shadow_stack_end = thr->shadow_stack + kInitStackSize;
H A Dtsan_rtl.cc438 const int sz = thr->shadow_stack_end - thr->shadow_stack;
442 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr));
443 internal_free(thr->shadow_stack);
444 thr->shadow_stack = newstack;
464 StackTrace(thr->shadow_stack, thr->shadow_stack_pos - thr->shadow_stack));
918 DCHECK_GE(thr->shadow_stack_pos, thr->shadow_stack);
938 DCHECK_GT(thr->shadow_stack_pos, thr->shadow_stack);
H A Dtsan_rtl.h339 uptr *shadow_stack; member in struct:__tsan::ThreadState
530 uptr size = thr->shadow_stack_pos - thr->shadow_stack;
536 stack->Init(&thr->shadow_stack[start], size, toppc);

Completed in 133 milliseconds