Home
last modified time | relevance | path

Searched refs:DTLS (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_tls_get_addr.cpp38 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 Dsanitizer_tls_get_addr.h36 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 Dsanitizer_common_interceptors.inc5553 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 Dlsan_posix.h25 struct DTLS;
36 DTLS *dtls() { return dtls_; } in dtls()
41 DTLS *dtls_ = nullptr;
H A Dlsan_posix.cpp33 DTLS *dtls;
62 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked()
H A Dlsan_common.h57 struct DTLS;
254 uptr *cache_end, DTLS **dtls);
H A Dlsan_common.cpp374 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 Dmemprof_thread.h25 struct DTLS;
76 DTLS *dtls() { return dtls_; } in dtls()
113 DTLS *dtls_;
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_thread.h26 struct DTLS;
76 DTLS *dtls() { return dtls_; } in dtls()
163 DTLS *dtls_;
H A Dasan_thread.cpp483 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_thread.cpp39 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS()
41 ForEachDVT(dtls, [](const DTLS::DTV &dtv, int id) { in ClearShadowForThreadStackAndTLS()
H A Ddfsan_interceptors.cpp185 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 Dmsan_thread.cpp38 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 Dtsan_interceptors_posix.cpp2663 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 Dtsan_interceptors_posix.cpp2669 DTLS::DTV *dtv = DTLS_on_tls_get_addr(arg, res, thr->tls_addr, in handle_tls_addr()