summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-12-15 10:41:55 +0000
committerKamil Rytarowski <n54@gmx.com>2018-12-15 10:41:55 +0000
commit17751e1414b031313cce027c27eac74f7dd21fe0 (patch)
tree9b88077828e9786b952544ee202678c030b9bdeb
parentf61567f42ad667a10102a74873ff7f2d8b9780fb (diff)
downloadbcm5719-llvm-17751e1414b031313cce027c27eac74f7dd21fe0.tar.gz
bcm5719-llvm-17751e1414b031313cce027c27eac74f7dd21fe0.zip
Enable SANITIZER_INTERCEPT_PTHREAD_GETNAME_NP for NetBSD
llvm-svn: 349262
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
index aedcc7c5f10..8d77109941b 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -387,7 +387,7 @@
#define SANITIZER_INTERCEPT_PTHREAD_SETNAME_NP \
(SI_FREEBSD || SI_NETBSD || SI_OPENBSD || SI_LINUX_NOT_ANDROID || SI_SOLARIS)
#define SANITIZER_INTERCEPT_PTHREAD_GETNAME_NP \
- (SI_FREEBSD || SI_LINUX_NOT_ANDROID || SI_SOLARIS)
+ (SI_FREEBSD || SI_NETBSD || SI_LINUX_NOT_ANDROID || SI_SOLARIS)
#define SANITIZER_INTERCEPT_TLS_GET_ADDR \
(SI_FREEBSD || SI_NETBSD || SI_OPENBSD || SI_LINUX_NOT_ANDROID || SI_SOLARIS)
OpenPOWER on IntegriCloud