diff options
| author | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-09-07 09:09:03 +0000 |
|---|---|---|
| committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2016-09-07 09:09:03 +0000 |
| commit | 41f08b4422e58bd53fe260d67a4a524fc18b326a (patch) | |
| tree | 706c28ff246291af558e28ef520306baedbdb091 /compiler-rt/lib/sanitizer_common/sanitizer_linux.h | |
| parent | 6c009c1c85e3de0e090ae31258d5d0bbd2a9f54d (diff) | |
| download | bcm5719-llvm-41f08b4422e58bd53fe260d67a4a524fc18b326a.tar.gz bcm5719-llvm-41f08b4422e58bd53fe260d67a4a524fc18b326a.zip | |
[ESan][MIPS] Adds support for MIPS64
With this patch 10 out of 13 tests are passing.
Following is the list of failing tests:
struct-simple.cpp
workingset-signal-posix.cpp
mmap-shadow-conflict.c
Reviewed by bruening
Differential: D23799
llvm-svn: 280795
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 |

