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:
Kamil Rytarowski 2018-02-15 14:58:15 +00:00
parent e28cb8399a
commit e7c26e7929
1 changed files with 1 additions and 1 deletions

View File

@ -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);