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 Remove dead code bl...



details:   https://anonhg.NetBSD.org/src/rev/77a1f1eb2cc4
branches:  trunk
changeset: 976103:77a1f1eb2cc4
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Sep 12 21:30:36 2020 +0000

description:
Remove dead code block (from a local patch)

diffstat:

 external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc |  15 -----------
 1 files changed, 0 insertions(+), 15 deletions(-)

diffs (25 lines):

diff -r 1cf94887722c -r 77a1f1eb2cc4 external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc
--- a/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc     Sat Sep 12 20:03:37 2020 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interceptors.cc     Sat Sep 12 21:30:36 2020 +0000
@@ -57,21 +57,6 @@
 #define mallopt(a, b)
 #endif
 
-#if 0 // XXXMRG
-#if SANITIZER_LINUX || SANITIZER_FREEBSD || SANITIZER_NETBSD
-#define PTHREAD_CREATE_DETACHED 1
-#elif SANITIZER_MAC
-#define PTHREAD_CREATE_DETACHED 2
-#endif
-#if SANITIZER_NETBSD
-#define        __errno_location __errno
-#define        pthread_yield sched_yield
-#define        fileno_unlocked fileno
-#define        stdout __sF[1]
-#define        stderr __sF[2]
-#endif
-#endif
-
 #ifdef __mips__
 const int kSigCount = 129;
 #else



Home | Main Index | Thread Index | Old Index