/external/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cpp | 55 SyncVar *s1 = m->GetIfExistsAndLock((uptr)&block[0], true); in TEST() 56 EXPECT_EQ(s1, (SyncVar*)0); in TEST() 58 EXPECT_NE(s1, (SyncVar*)0); in TEST() 61 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block[1], false); in TEST() 62 EXPECT_NE(s2, (SyncVar*)0); in TEST() 67 EXPECT_EQ(s1, (SyncVar*)0); in TEST() 69 EXPECT_EQ(s2, (SyncVar*)0); in TEST() 80 SyncVar *s1 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[0], true); in TEST() 82 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[1], true); in TEST() 96 EXPECT_EQ(s1, (SyncVar*)0); in TEST() [all …]
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_sync_test.cc | 56 SyncVar *s1 = m->GetIfExistsAndLock((uptr)&block[0], true); in TEST() 57 EXPECT_EQ(s1, (SyncVar*)0); in TEST() 59 EXPECT_NE(s1, (SyncVar*)0); in TEST() 62 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block[1], false); in TEST() 63 EXPECT_NE(s2, (SyncVar*)0); in TEST() 68 EXPECT_EQ(s1, (SyncVar*)0); in TEST() 70 EXPECT_EQ(s2, (SyncVar*)0); in TEST() 81 SyncVar *s1 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[0], true); in TEST() 83 SyncVar *s2 = m->GetOrCreateAndLock(thr, 0, (uptr)&block1[1], true); in TEST() 97 EXPECT_EQ(s1, (SyncVar*)0); in TEST() [all …]
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.cpp | 19 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s); 21 SyncVar::SyncVar() in SyncVar() function in __tsan::SyncVar 26 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) { in Init() 38 void SyncVar::Reset(Processor *proc) { in Reset() 102 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange() 191 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock() 196 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock() 201 SyncVar* MetaMap::GetIfExistsAndLock(uptr addr, bool write_lock) { in GetIfExistsAndLock() 205 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc, in GetAndLock() 210 SyncVar *mys = 0; in GetAndLock() [all …]
|
D | tsan_sync.h | 50 struct SyncVar { struct 51 SyncVar(); 121 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc, 123 SyncVar* GetIfExistsAndLock(uptr addr, bool write_lock); 134 typedef DenseSlabAlloc<SyncVar, 1<<16, 1<<10> SyncAlloc; 139 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
|
D | tsan_rtl_mutex.cpp | 42 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit() 73 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexCreate() 83 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 100 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy() 123 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 145 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexPreLock() 167 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexPostLock() 172 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexPostLock() 217 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexUnlock() 232 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock() [all …]
|
D | tsan_interface_atomic.cpp | 233 SyncVar *s = ctx->metamap.GetIfExistsAndLock((uptr)a, false); in AtomicLoad() 271 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicStore() 283 SyncVar *s = 0; in AtomicRMW() 407 SyncVar *s = 0; in AtomicCAS()
|
D | tsan_rtl_report.cpp | 263 void ScopedReportBase::AddMutex(const SyncVar *s) { in AddMutex() 280 uptr addr = SyncVar::SplitId(id, &uid); in AddMutex() 281 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in AddMutex()
|
D | tsan_rtl.h | 594 void AddMutex(const SyncVar *s);
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_sync.cc | 20 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s); 22 SyncVar::SyncVar() in SyncVar() function in __tsan::SyncVar 27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) { in Init() 39 void SyncVar::Reset(Processor *proc) { in Reset() 103 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange() 191 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock() 196 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc, in GetOrCreateAndLock() 201 SyncVar* MetaMap::GetIfExistsAndLock(uptr addr, bool write_lock) { in GetIfExistsAndLock() 205 SyncVar* MetaMap::GetAndLock(ThreadState *thr, uptr pc, in GetAndLock() 210 SyncVar *mys = 0; in GetAndLock() [all …]
|
D | tsan_sync.h | 26 struct SyncVar { struct 27 SyncVar(); 80 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc, argument 82 SyncVar* GetIfExistsAndLock(uptr addr, bool write_lock); 93 typedef DenseSlabAlloc<SyncVar, 1<<16, 1<<10> SyncAlloc; 98 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
|
D | tsan_rtl_mutex.cc | 43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s) { in DDMutexInit() 75 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexCreate() 87 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 102 && s->owner_tid != SyncVar::kInvalidTid in MutexDestroy() 125 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in MutexDestroy() 149 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexLock() 153 if (s->owner_tid == SyncVar::kInvalidTid) { in MutexLock() 193 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, true); in MutexUnlock() 208 s->owner_tid = SyncVar::kInvalidTid; in MutexUnlock() 237 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, addr, false); in MutexReadLock() [all …]
|
D | tsan_interface_atomic.cc | 232 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, false); in AtomicLoad() 266 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true); in AtomicStore() 278 SyncVar *s = 0; in AtomicRMW() 402 SyncVar *s = 0; in AtomicCAS()
|
D | tsan_rtl_report.cc | 258 void ScopedReport::AddMutex(const SyncVar *s) { in AddMutex() 275 uptr addr = SyncVar::SplitId(id, &uid); in AddMutex() 276 SyncVar *s = ctx->metamap.GetIfExistsAndLock(addr, true); in AddMutex()
|
D | tsan_rtl.h | 567 void AddMutex(const SyncVar *s);
|
/external/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 10260 <!-- __tsan::SyncVar* __tsan::SyncTab::Part::val --> 10493 <!-- __tsan::SyncVar* --> 11194 <!-- struct __tsan::SyncVar --> 11195 …<class-decl name='SyncVar' size-in-bits='960' is-struct='yes' visibility='default' filepath='../..… 11197 <!-- static const int __tsan::SyncVar::kInvalidTid --> 11201 <!-- __tsan::Mutex __tsan::SyncVar::mtx --> 11205 <!-- __sanitizer::uptr __tsan::SyncVar::addr --> 11209 <!-- const __sanitizer::u64 __tsan::SyncVar::uid --> 11213 <!-- __tsan::SyncClock __tsan::SyncVar::clock --> 11217 <!-- __tsan::SyncClock __tsan::SyncVar::read_clock --> [all …]
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 6903 …<class-decl name='SyncVar' size-in-bits='960' is-struct='yes' visibility='default' filepath='../..… 6950 …<function-decl name='SyncVar' filepath='../../.././libsanitizer/tsan/tsan_sync.h' line='51' column… 6958 …<function-decl name='SyncVar' mangled-name='_ZN6__tsan7SyncVarC2Emy' filepath='../../.././libsanit… 17218 …<class-decl name='SyncVar' size-in-bits='960' is-struct='yes' visibility='default' filepath='../..… 17265 …<function-decl name='SyncVar' filepath='../../.././libsanitizer/tsan/tsan_sync.h' line='51' column… 17273 …<function-decl name='SyncVar' mangled-name='_ZN6__tsan7SyncVarC2Emy' filepath='../../.././libsanit… 21452 …<function-decl name='DestroyAndFree<__tsan::SyncVar>' filepath='../../.././libsanitizer/tsan…
|