reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  464 extern THREADLOCAL char cur_thread_placeholder[];

References

projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
 1045     CHECK_EQ(thr, &cur_thread_placeholder);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  466   return reinterpret_cast<ThreadState *>(cur_thread_placeholder)->current;
  469   ThreadState *thr = reinterpret_cast<ThreadState *>(cur_thread_placeholder);
  474   reinterpret_cast<ThreadState *>(cur_thread_placeholder)->current = thr;