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

Derived Classes

projects/compiler-rt/lib/asan/asan_thread.h
   38 class AsanThreadContext : public ThreadContextBase {
projects/compiler-rt/lib/lsan/lsan_thread.h
   25 class ThreadContext : public ThreadContextBase {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  480 class ThreadContext : public ThreadContextBase {

References

projects/compiler-rt/lib/asan/asan_stats.cpp
   74 static void MergeThreadStats(ThreadContextBase *tctx_base, void *arg) {
projects/compiler-rt/lib/asan/asan_thread.cpp
   49 static ThreadContextBase *GetAsanThreadContext(u32 tid) {
  392 static bool ThreadStackContainsAddress(ThreadContextBase *tctx_base,
projects/compiler-rt/lib/asan/asan_thread.h
   38 class AsanThreadContext : public ThreadContextBase {
projects/compiler-rt/lib/lsan/lsan_common.cpp
  529 static void ReportIfNotSuspended(ThreadContextBase *tctx, void *arg) {
projects/compiler-rt/lib/lsan/lsan_thread.cpp
   27 static ThreadContextBase *CreateThreadContext(u32 tid) {
  105 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) {
projects/compiler-rt/lib/lsan/lsan_thread.h
   25 class ThreadContext : public ThreadContextBase {
projects/compiler-rt/lib/sanitizer_common/sanitizer_list.h
   39   void push_back(Item *x) {
   52   void push_front(Item *x) {
   72   void extract(Item *prev, Item *x) {
   72   void extract(Item *prev, Item *x) {
   83   Item *front() { return first_; }
   84   const Item *front() const { return first_; }
   85   Item *back() { return last_; }
   86   const Item *back() const { return last_; }
   88   void append_front(IntrusiveList<Item> *l) {
  102   void append_back(IntrusiveList<Item> *l) {
  149   typedef IteratorBase<Item> Iterator;
  150   typedef IteratorBase<const Item> ConstIterator;
  160   Item *first_;
  161   Item *last_;
projects/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cpp
  139   ThreadContextBase *tctx = QuarantinePop();
  175     ThreadContextBase *tctx = threads_[tid];
  185     ThreadContextBase *tctx = threads_[tid];
  192 ThreadContextBase *
  196     ThreadContextBase *tctx = threads_[tid];
  203 static bool FindThreadContextByOsIdCallback(ThreadContextBase *tctx,
  209 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(tid_t os_id) {
  217   ThreadContextBase *tctx = threads_[tid];
  227     ThreadContextBase *tctx = threads_[tid];
  239   ThreadContextBase *tctx = threads_[tid];
  260       ThreadContextBase *tctx = threads_[tid];
  286   ThreadContextBase *tctx = threads_[tid];
  310   ThreadContextBase *tctx = threads_[tid];
  316 void ThreadRegistry::QuarantinePush(ThreadContextBase *tctx) {
  332 ThreadContextBase *ThreadRegistry::QuarantinePop() {
  335   ThreadContextBase *tctx = invalid_threads_.front();
  343   ThreadContextBase *tctx = threads_[tid];
projects/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
   56   ThreadContextBase *next;  // For storing thread contexts in a list.
   85 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid);
  102   ThreadContextBase *GetThreadLocked(u32 tid) {
  109   typedef void (*ThreadCallback)(ThreadContextBase *tctx, void *arg);
  114   typedef bool (*FindThreadCallback)(ThreadContextBase *tctx, void *arg);
  120   ThreadContextBase *FindThreadContextLocked(FindThreadCallback cb,
  122   ThreadContextBase *FindThreadContextByOsIDLocked(tid_t os_id);
  148   ThreadContextBase **threads_;  // Array of thread contexts is leaked.
  149   IntrusiveList<ThreadContextBase> dead_threads_;
  150   IntrusiveList<ThreadContextBase> invalid_threads_;
  152   void QuarantinePush(ThreadContextBase *tctx);
  153   ThreadContextBase *QuarantinePop();
projects/compiler-rt/lib/tsan/rtl/tsan_debugging.cpp
  255   ThreadContextBase *tctx = ctx->thread_registry->GetThreadLocked(b->tid);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
   69 static ThreadContextBase *CreateThreadContext(u32 tid) {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.h
  480 class ThreadContext : public ThreadContextBase {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
  414 static void UpdateClockCallback(ThreadContextBase *tctx_base, void *arg) {
  457 static void UpdateSleepClockCallback(ThreadContextBase *tctx_base, void *arg) {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
  213 static bool FindThreadByUidLockedCallback(ThreadContextBase *tctx, void *arg) {
  231 static bool IsInStackOrTls(ThreadContextBase *tctx_base, void *arg) {
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
  161 static void MaybeReportThreadLeak(ThreadContextBase *tctx_base, void *arg) {
  288 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) {