Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib vaxinate sanitizer_file.cc against the...



details:   https://anonhg.NetBSD.org/src/rev/dab83323da6b
branches:  trunk
changeset: 966390:dab83323da6b
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 28 16:25:05 2019 +0000

description:
vaxinate sanitizer_file.cc against the optimizer virus.

diffstat:

 external/gpl3/gcc/lib/libasan/Makefile  |  3 ++-
 external/gpl3/gcc/lib/liblsan/Makefile  |  3 ++-
 external/gpl3/gcc/lib/libubsan/Makefile |  6 +++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r d1865b21bfdf -r dab83323da6b external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile    Mon Oct 28 16:03:55 2019 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile    Mon Oct 28 16:25:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2019/10/13 21:18:20 mrg Exp $
+# $NetBSD: Makefile,v 1.31 2019/10/28 16:25:05 christos Exp $
 
 UNSUPPORTED_COMPILER.clang=    # defined
 NOSANITIZER=   # defined
@@ -51,6 +51,7 @@
 .if ${MACHINE_ARCH} == "vax"
 COPTS.asan_allocator.cc += -O1
 COPTS.asan_report.cc += -O1
+COPTS.sanitizer_file.cc += -O1
 COPTS.ubsan_diag.cc += -O1
 COPTS.ubsan_init.cc += -O1
 .endif
diff -r d1865b21bfdf -r dab83323da6b external/gpl3/gcc/lib/liblsan/Makefile
--- a/external/gpl3/gcc/lib/liblsan/Makefile    Mon Oct 28 16:03:55 2019 +0000
+++ b/external/gpl3/gcc/lib/liblsan/Makefile    Mon Oct 28 16:25:05 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/10/02 02:54:34 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2019/10/28 16:25:05 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -18,6 +18,7 @@
 
 .if ${MACHINE_ARCH} == "vax"
 COPTS.lsan_allocator.cc += -O1
+COPTS.sanitizer_file.cc += -O1
 .endif
 
 LIB=   lsan
diff -r d1865b21bfdf -r dab83323da6b external/gpl3/gcc/lib/libubsan/Makefile
--- a/external/gpl3/gcc/lib/libubsan/Makefile   Mon Oct 28 16:03:55 2019 +0000
+++ b/external/gpl3/gcc/lib/libubsan/Makefile   Mon Oct 28 16:25:05 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2019/10/06 00:15:22 mrg Exp $
+#      $NetBSD: Makefile,v 1.16 2019/10/28 16:25:05 christos Exp $
 
 UNSUPPORTED_COMPILER.clang=    # defined
 LIBISCXX = yes
@@ -25,6 +25,10 @@
 COPTS.${_s}.cc+=-frtti
 .endfor
 
+.if ${MACHINE_ARCH} == "vax"
+COPTS.sanitizer_file.cc += -O1
+.endif
+
 LIB=   ubsan
 SRCS+= ${UBSAN_SRCS}
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt



Home | Main Index | Thread Index | Old Index