Home
last modified time | relevance | path

Searched refs:tls_beg (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_tls_get_addr.cc99 uptr tls_beg = reinterpret_cast<uptr>(res) - arg->offset - kDtvOffset; in DTLS_on_tls_get_addr() local
102 arg, arg->dso_id, arg->offset, res, tls_beg, &tls_beg, in DTLS_on_tls_get_addr()
104 if (dtls.last_memalign_ptr == tls_beg) { in DTLS_on_tls_get_addr()
107 tls_beg, tls_size); in DTLS_on_tls_get_addr()
108 } else if (tls_beg >= static_tls_begin && tls_beg < static_tls_end) { in DTLS_on_tls_get_addr()
111 VPrintf(2, "__tls_get_addr: static tls: %p\n", tls_beg); in DTLS_on_tls_get_addr()
113 } else if ((tls_beg % 4096) == sizeof(Glibc_2_19_tls_header)) { in DTLS_on_tls_get_addr()
115 Glibc_2_19_tls_header *header = (Glibc_2_19_tls_header *)tls_beg - 1; in DTLS_on_tls_get_addr()
117 tls_beg = header->start; in DTLS_on_tls_get_addr()
119 tls_beg, tls_size); in DTLS_on_tls_get_addr()
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_tls_get_addr.cpp119 uptr tls_beg = reinterpret_cast<uptr>(res) - arg->offset - kDtvOffset; in DTLS_on_tls_get_addr() local
122 arg, arg->dso_id, arg->offset, res, tls_beg, &tls_beg, in DTLS_on_tls_get_addr()
124 if (dtls.last_memalign_ptr == tls_beg) { in DTLS_on_tls_get_addr()
127 tls_beg, tls_size); in DTLS_on_tls_get_addr()
128 } else if (tls_beg >= static_tls_begin && tls_beg < static_tls_end) { in DTLS_on_tls_get_addr()
131 VReport(2, "__tls_get_addr: static tls: %p\n", tls_beg); in DTLS_on_tls_get_addr()
133 } else if ((tls_beg % 4096) == sizeof(Glibc_2_19_tls_header)) { in DTLS_on_tls_get_addr()
135 Glibc_2_19_tls_header *header = (Glibc_2_19_tls_header *)tls_beg - 1; in DTLS_on_tls_get_addr()
137 tls_beg = header->start; in DTLS_on_tls_get_addr()
139 tls_beg, tls_size); in DTLS_on_tls_get_addr()
[all …]