[PATCH] D33286: Don't require ThreadState to be contained within tls on all platforms

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 08:17:56 PDT 2017


dvyukov added a comment.

I think that's because we use _shadow_ memory to store pointer to ThreadState. See cur_thread in tsan_platform_mac.cc. We probably need to skip that slot or something.


https://reviews.llvm.org/D33286





More information about the llvm-commits mailing list