diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-09-16 07:16:29 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-09-16 07:16:29 +0000 |
commit | 6ec8636dcb2924d52dbf6d804e7b4dd8628be9f4 (patch) | |
tree | 66d403690de402550a6e1d61d1460273b04293c3 /lib/sanitizer_common/sanitizer_platform_interceptors.h | |
parent | 384eeea2d58c5c0140506b1f79c7cd5cbc71dcd1 (diff) |
[sanitizer] Move signal interceptors from asan to sanitizer_common
Summary: Part of https://github.com/google/sanitizers/issues/637
Reviewers: eugenis, alekseyshl
Subscribers: srhines, kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D37889
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_platform_interceptors.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_platform_interceptors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_platform_interceptors.h b/lib/sanitizer_common/sanitizer_platform_interceptors.h index 5d6ea6a66..854ab691e 100644 --- a/lib/sanitizer_common/sanitizer_platform_interceptors.h +++ b/lib/sanitizer_common/sanitizer_platform_interceptors.h @@ -389,5 +389,7 @@ #define SANITIZER_INTERCEPT_MALLOC_USABLE_SIZE (!SI_MAC) #define SANITIZER_INTERCEPT_MCHECK_MPROBE SI_LINUX_NOT_ANDROID #define SANITIZER_INTERCEPT_WCSCAT SI_POSIX +#define SANITIZER_INTERCEPT_SIGNAL_AND_SIGACTION (!SANITIZER_WINDOWS) +#define SANITIZER_INTERCEPT_BSD_SIGNAL SANITIZER_ANDROID #endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H |