[PATCH] D49942: [ASAN] Port asan to FreeBSD/mips64.
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 16:33:43 PDT 2018
krytarowski added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_syscall_generic.inc:46
# endif
-#elif defined(__x86_64__) && (SANITIZER_FREEBSD || SANITIZER_MAC)
+#elif SANITIZER_FREEBSD || (defined(__x86_64__) && SANITIZER_MAC)
# define internal_syscall __syscall
----------------
bsdjhb wrote:
> __syscall is valid for all FreeBSD platforms.
NetBSD will switch away from the syscall(2)/__syscall(2) approach and use libc natively. These indirect syscall functions are not portable enough and generate problems for various ABIs.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D49942
More information about the llvm-commits
mailing list