Enable syscall-specific functions in TSan/NetBSD
NetBSD ships now with netbsd_syscall_hooks.h and requires support for TSan specific features to be enabled. This is follow up of: D42048: Add NetBSD syscall hooks skeleton in sanitizers Sponsored by <The NetBSD Foundation> llvm-svn: 325245
This commit is contained in:
parent
e28cb8399a
commit
e7c26e7929
|
@ -2424,7 +2424,7 @@ struct ScopedSyscall {
|
|||
}
|
||||
};
|
||||
|
||||
#if !SANITIZER_FREEBSD && !SANITIZER_MAC && !SANITIZER_NETBSD
|
||||
#if !SANITIZER_FREEBSD && !SANITIZER_MAC
|
||||
static void syscall_access_range(uptr pc, uptr p, uptr s, bool write) {
|
||||
TSAN_SYSCALL();
|
||||
MemoryAccessRange(thr, pc, p, s, write);
|
||||
|
|
Loading…
Reference in New Issue