Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc80 uptr hdr_end = hdr + sizeof(Trace); in CreateThreadContext() local
81 hdr_end -= sizeof(TraceHeader) * (kTraceParts - TraceParts()); in CreateThreadContext()
82 hdr_end = RoundUp(hdr_end, GetPageSizeCached()); in CreateThreadContext()
83 if (hdr_end < hdr + sizeof(Trace)) in CreateThreadContext()
84 UnmapOrDie((void*)hdr_end, hdr + sizeof(Trace) - hdr_end); in CreateThreadContext()