We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ad0ddc commit 3e4542eCopy full SHA for 3e4542e
compiler-rt/lib/msan/msan_thread.cc
@@ -36,6 +36,7 @@ void MsanThread::ClearShadowForThreadStackAndTLS() {
36
if (tls_begin_ != tls_end_)
37
__msan_unpoison((void *)tls_begin_, tls_end_ - tls_begin_);
38
DTLS *dtls = DTLS_Get();
39
+ CHECK_NE(dtls, 0);
40
for (uptr i = 0; i < dtls->dtv_size; ++i)
41
__msan_unpoison((void *)(dtls->dtv[i].beg), dtls->dtv[i].size);
42
}
0 commit comments