Home
last modified time | relevance | path

Searched refs:toppc (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_stack_trace.cc61 void StackTrace::ObtainCurrent(ThreadState *thr, uptr toppc) { in ObtainCurrent() argument
64 if (n_ + !!toppc == 0) in ObtainCurrent()
69 if (n_ + !!toppc > c_) { in ObtainCurrent()
70 start = n_ - c_ + !!toppc; in ObtainCurrent()
71 n_ = c_ - !!toppc; in ObtainCurrent()
75 if (n_ + !!toppc > kTraceStackSize) { in ObtainCurrent()
76 start = n_ - kTraceStackSize + !!toppc; in ObtainCurrent()
77 n_ = kTraceStackSize - !!toppc; in ObtainCurrent()
80 (n_ + !!toppc) * sizeof(s_[0])); in ObtainCurrent()
84 if (toppc) { in ObtainCurrent()
[all …]
Dtsan_stack_trace.h36 void ObtainCurrent(ThreadState *thr, uptr toppc);
Dtsan_rtl_report.cc675 const uptr toppc = TraceTopPC(thr); in ReportRace() local
676 traces[0].ObtainCurrent(thr, toppc); in ReportRace()