[PATCH] D14235: [tsan] Fix build errors for TSan on OS X

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 07:40:05 PST 2015


kubabrecka created this revision.
kubabrecka added reviewers: samsonov, glider, dvyukov, kcc.
kubabrecka added subscribers: zaks.anna, llvm-commits, jasonk, ismailp.

This patch moves a few functions from `sanitizer_linux_libcdep.cc` to `sanitizer_posix_libcdep.cc` in order to use them on OS X as well.  Plus a few more small build fixes.

This is part of an effort to port TSan to OS X, and it's one the very first steps. Don't expect TSan on OS X to actually work or pass tests at this point.


http://reviews.llvm.org/D14235

Files:
  lib/sanitizer_common/sanitizer_libignore.cc
  lib/sanitizer_common/sanitizer_linux_libcdep.cc
  lib/sanitizer_common/sanitizer_posix_libcdep.cc
  lib/tsan/rtl/tsan_platform_mac.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14235.38921.patch
Type: text/x-patch
Size: 4812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151102/1f55ffb6/attachment.bin>


More information about the llvm-commits mailing list