| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_tls_get_addr.cpp | 38 static __thread DTLS dtls; 56 DTLS::DTVBlock *next = (DTLS::DTVBlock *)v; in DTLS_NextBlock() 59 DTLS::DTVBlock *new_dtv = in DTLS_NextBlock() 60 (DTLS::DTVBlock *)MmapOrDie(sizeof(DTLS::DTVBlock), "DTLS_NextBlock"); in DTLS_NextBlock() 65 return (DTLS::DTVBlock *)prev; in DTLS_NextBlock() 74 static DTLS::DTV *DTLS_Find(uptr id) { in DTLS_Find() 87 DTLS::DTVBlock *block = (DTLS::DTVBlock *)atomic_exchange( in DTLS_Destroy() 90 DTLS::DTVBlock *next = in DTLS_Destroy() 159 DTLS *DTLS_Get() { return &dtls; } in DTLS_Get() 161 bool DTLSInDestruction(DTLS *dtls) { in DTLSInDestruction() [all …]
|
| H A D | sanitizer_tls_get_addr.h | 36 struct DTLS { struct 44 DTV dtvs[(4096UL - sizeof(next)) / sizeof(DTLS::DTV)]; argument 57 void ForEachDVT(DTLS *dtls, const Fn &fn) { in ForEachDVT() argument 58 DTLS::DTVBlock *block = in ForEachDVT() 59 (DTLS::DTVBlock *)atomic_load(&dtls->dtv_block, memory_order_acquire); in ForEachDVT() 63 block = (DTLS::DTVBlock *)atomic_load(&block->next, memory_order_acquire); in ForEachDVT() 69 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res, uptr static_tls_begin, 72 DTLS *DTLS_Get(); 75 bool DTLSInDestruction(DTLS *dtls);
|
| H A D | sanitizer_common_interceptors.inc | 5553 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, tls_begin, tls_end); 5555 // New DTLS block has been allocated. 5586 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, ptr, tls_begin, tls_end); 5588 // New DTLS block has been allocated.
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_posix.h | 25 struct DTLS; 36 DTLS *dtls() { return dtls_; } in dtls() 41 DTLS *dtls_ = nullptr;
|
| H A D | lsan_posix.cpp | 33 DTLS *dtls; 62 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked()
|
| H A D | lsan_common.h | 57 struct DTLS; 254 uptr *cache_end, DTLS **dtls);
|
| H A D | lsan_common.cpp | 374 DTLS *dtls; in ProcessThreads() 462 ForEachDVT(dtls, [&](const DTLS::DTV &dtv, int id) { in ProcessThreads()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_thread.h | 25 struct DTLS; 76 DTLS *dtls() { return dtls_; } in dtls() 113 DTLS *dtls_;
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_thread.h | 26 struct DTLS; 76 DTLS *dtls() { return dtls_; } in dtls() 163 DTLS *dtls_;
|
| H A D | asan_thread.cpp | 483 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan_thread.cpp | 39 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS() 41 ForEachDVT(dtls, [](const DTLS::DTV &dtv, int id) { in ClearShadowForThreadStackAndTLS()
|
| H A D | dfsan_interceptors.cpp | 185 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, tls_begin, tls_end); in INTERCEPTOR()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_thread.cpp | 38 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS() 40 ForEachDVT(dtls, [](const DTLS::DTV &dtv, int id) { in ClearShadowForThreadStackAndTLS()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_interceptors_posix.cpp | 2663 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, thr->tls_addr, in handle_tls_addr()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_posix.cpp | 2669 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, thr->tls_addr, in handle_tls_addr()
|