Searched refs:toppc (Results 1 – 2 of 2) sorted by relevance
558 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) { in ObtainCurrentStack() argument561 if (size + !!toppc > kStackTraceMax) { in ObtainCurrentStack()562 start = size + !!toppc - kStackTraceMax; in ObtainCurrentStack()563 size = kStackTraceMax - !!toppc; in ObtainCurrentStack()565 stack->Init(&thr->shadow_stack[start], size, toppc); in ObtainCurrentStack()
616 const uptr toppc = TraceTopPC(thr); in ReportRace() local617 ObtainCurrentStack(thr, toppc, &traces[0]); in ReportRace()