Skip to content

Commit 767960b

Browse files
committedAug 7, 2017
Add NetBSD support in asan_interceptors.h
Summary: Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas. Sponsored by <The NetBSD Foundation> Reviewers: joerg, filcab, kcc, fjricci, vitalybuka Reviewed By: vitalybuka Subscribers: kubamracek, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D36375 llvm-svn: 310246
1 parent 9d1f5dc commit 767960b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler-rt/lib/asan/asan_interceptors.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void InitializePlatformInterceptors();
5555
# define ASAN_INTERCEPT_FORK 0
5656
#endif
5757

58-
#if SANITIZER_FREEBSD || SANITIZER_LINUX
58+
#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD
5959
# define ASAN_USE_ALIAS_ATTRIBUTE_FOR_INDEX 1
6060
#else
6161
# define ASAN_USE_ALIAS_ATTRIBUTE_FOR_INDEX 0

0 commit comments

Comments
 (0)
Please sign in to comment.