[PATCH] D29993: Use pthreads to store current thread id on darwin

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 15 09:16:01 PST 2017


fjricci created this revision.

__thread is not supported by all darwin versions and architectures,
use pthreads instead to allow for building darwin lsan on iossim.


https://reviews.llvm.org/D29993

Files:
  lib/lsan/lsan_common_linux.cc
  lib/lsan/lsan_common_mac.cc
  lib/lsan/lsan_thread.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29993.88553.patch
Type: text/x-patch
Size: 3178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170215/396f8972/attachment.bin>


More information about the llvm-commits mailing list