diff options
| author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-03 14:26:00 +0000 |
|---|---|---|
| committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-03 14:26:00 +0000 |
| commit | 350a9aaeda99f4e8b7c2861af3d7ec77bf6b0c49 (patch) | |
| tree | 66af1ca9c0d01b4f607e1d9aee314769c864c6e1 /compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc | |
| parent | 46bcbaafb5467d26814243bf3e7bfb2bbfb78246 (diff) | |
| download | bcm5719-llvm-350a9aaeda99f4e8b7c2861af3d7ec77bf6b0c49.tar.gz bcm5719-llvm-350a9aaeda99f4e8b7c2861af3d7ec77bf6b0c49.zip | |
[tsan] Fix build errors for TSan on OS X
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.
Differential Revision: http://reviews.llvm.org/D14235
llvm-svn: 251918
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc b/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc index fabd335856f..545393966b3 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc @@ -9,7 +9,7 @@ #include "sanitizer_platform.h" -#if SANITIZER_FREEBSD || SANITIZER_LINUX +#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_MAC #include "sanitizer_libignore.h" #include "sanitizer_flags.h" |

