diff options
| author | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-10-06 09:58:11 +0000 |
|---|---|---|
| committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-10-06 09:58:11 +0000 |
| commit | 51458256a2e1beda59e2e7c11c5059ad2ca2b5cf (patch) | |
| tree | 43926eb25cc4f899a7dcd8a919b68e24e9d5a413 /compiler-rt/lib/sanitizer_common/sanitizer_linux.h | |
| parent | 396160392133b09ba29493a158a97436d5f27a45 (diff) | |
| download | bcm5719-llvm-51458256a2e1beda59e2e7c11c5059ad2ca2b5cf.tar.gz bcm5719-llvm-51458256a2e1beda59e2e7c11c5059ad2ca2b5cf.zip | |
[ESan][MIPS] Adds support for MIPS64
With this patch 12 out of 13 tests are passing.
Reviewed by zhaoqin.
Differential: D23799
llvm-svn: 283435
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_linux.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h index 526fa4426e3..d4d0f47eed0 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h @@ -42,7 +42,7 @@ uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5); // (like the process-wide error reporting SEGV handler) must use // internal_sigaction instead. int internal_sigaction_norestorer(int signum, const void *act, void *oldact); -#if defined(__x86_64__) && !SANITIZER_GO +#if (defined(__x86_64__) || SANITIZER_MIPS64) && !SANITIZER_GO // Uses a raw system call to avoid interceptors. int internal_sigaction_syscall(int signum, const void *act, void *oldact); #endif |

