Searched refs:toppc (Results 1 – 2 of 2) sorted by relevance
549 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) { in ObtainCurrentStack() argument552 if (size + !!toppc > kStackTraceMax) { in ObtainCurrentStack()553 start = size + !!toppc - kStackTraceMax; in ObtainCurrentStack()554 size = kStackTraceMax - !!toppc; in ObtainCurrentStack()556 stack->Init(&thr->shadow_stack[start], size, toppc); in ObtainCurrentStack()
612 const uptr toppc = TraceTopPC(thr); in ReportRace() local613 ObtainCurrentStack(thr, toppc, &traces[0]); in ReportRace()