Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/tsan comment out the one...
details: https://anonhg.NetBSD.org/src/rev/a40cd1162c8a
branches: trunk
changeset: 345733:a40cd1162c8a
user: christos <christos%NetBSD.org@localhost>
date: Sun Jun 05 19:17:23 2016 +0000
description:
comment out the ones we don't have
diffstat:
external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (35 lines):
diff -r 10f0467cd51e -r a40cd1162c8a external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc
--- a/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc Sun Jun 05 18:46:03 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc Sun Jun 05 19:17:23 2016 +0000
@@ -2266,6 +2266,7 @@
}
};
+#if !SANITIZER_NETBSD
static void syscall_access_range(uptr pc, uptr p, uptr s, bool write) {
TSAN_SYSCALL();
MemoryAccessRange(thr, pc, p, s, write);
@@ -2287,6 +2288,7 @@
TSAN_SYSCALL();
FdClose(thr, pc, fd);
}
+#endif
static USED void syscall_fd_acquire(uptr pc, int fd) {
TSAN_SYSCALL();
@@ -2300,6 +2302,7 @@
FdRelease(thr, pc, fd);
}
+#if !SANITIZER_NETBSD
static void syscall_pre_fork(uptr pc) {
TSAN_SYSCALL();
ForkBefore(thr, pc);
@@ -2319,6 +2322,7 @@
ForkParentAfter(thr, pc);
}
}
+#endif
#define COMMON_SYSCALL_PRE_READ_RANGE(p, s) \
syscall_access_range(GET_CALLER_PC(), (uptr)(p), (uptr)(s), false)
Home |
Main Index |
Thread Index |
Old Index