Searched refs:toppc (Results 1 – 2 of 2) sorted by relevance
591 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) { in ObtainCurrentStack() argument594 if (size + !!toppc > kStackTraceMax) { in ObtainCurrentStack()595 start = size + !!toppc - kStackTraceMax; in ObtainCurrentStack()596 size = kStackTraceMax - !!toppc; in ObtainCurrentStack()598 stack->Init(&thr->shadow_stack[start], size, toppc); in ObtainCurrentStack()
627 const uptr toppc = TraceTopPC(thr); in ReportRace() local628 ObtainCurrentStack(thr, toppc, &traces[0]); in ReportRace()