/src/sys/external/bsd/compiler_rt/dist/lib/tsan/go/ |
test.c | 61 void *thr0 = 0; local in function:main 63 __tsan_init(&thr0, &proc0, symbolize_cb); 76 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); 78 __tsan_func_enter(thr0, (char*)&main + 1); 79 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); 80 __tsan_release(thr0, buf); 81 __tsan_release_merge(thr0, buf); 83 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); 85 __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1); 86 __tsan_func_exit(thr0); [all...] |
test.c | 61 void *thr0 = 0; local in function:main 63 __tsan_init(&thr0, &proc0, symbolize_cb); 76 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); 78 __tsan_func_enter(thr0, (char*)&main + 1); 79 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); 80 __tsan_release(thr0, buf); 81 __tsan_release_merge(thr0, buf); 83 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); 85 __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1); 86 __tsan_func_exit(thr0); [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_clock_test.cc | 369 SimpleThreadClock *thr0[kThreads]; local in function:__tsan::ClockFuzzer 374 thr0[i] = new SimpleThreadClock(i); 391 thr0[tid]->tick(); 398 thr0[tid]->acquire(sync0[cid]); 404 thr0[tid]->release(sync0[cid]); 410 thr0[tid]->acq_rel(sync0[cid]); 416 thr0[tid]->ReleaseStore(sync0[cid]); 428 u64 epoch = thr0[tid]->clock[tid] + 1; 430 delete thr0[tid]; 431 thr0[tid] = new SimpleThreadClock(tid) [all...] |
tsan_clock_test.cc | 369 SimpleThreadClock *thr0[kThreads]; local in function:__tsan::ClockFuzzer 374 thr0[i] = new SimpleThreadClock(i); 391 thr0[tid]->tick(); 398 thr0[tid]->acquire(sync0[cid]); 404 thr0[tid]->release(sync0[cid]); 410 thr0[tid]->acq_rel(sync0[cid]); 416 thr0[tid]->ReleaseStore(sync0[cid]); 428 u64 epoch = thr0[tid]->clock[tid] + 1; 430 delete thr0[tid]; 431 thr0[tid] = new SimpleThreadClock(tid) [all...] |