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/libasan Update sources and flags (comp...
details: https://anonhg.NetBSD.org/src/rev/b8022bcff6ff
branches: trunk
changeset: 345539:b8022bcff6ff
user: christos <christos%NetBSD.org@localhost>
date: Tue May 31 20:47:52 2016 +0000
description:
Update sources and flags (compiles but missing stuff)
diffstat:
external/gpl3/gcc/lib/libasan/Makefile | 96 +++++++++++++++++++---------
external/gpl3/gcc/lib/libasan/shlib_version | 2 +-
2 files changed, 67 insertions(+), 31 deletions(-)
diffs (127 lines):
diff -r f22d40d7ebab -r b8022bcff6ff external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile Tue May 31 20:47:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile Tue May 31 20:47:52 2016 +0000
@@ -7,40 +7,74 @@
.PATH: ${ASAN}/asan ${ASAN}/interception ${ASAN}/sanitizer_common
ASAN_SRCS= \
- asan_allocator2.cc \
- asan_interceptors.cc \
- asan_posix.cc \
- asan_new_delete.cc \
- asan_rtl.cc \
- asan_stats.cc \
- asan_globals.cc \
- asan_fake_stack.cc \
- asan_linux.cc \
- asan_report.cc \
- asan_malloc_linux.cc \
- asan_poisoning.cc \
- asan_stack.cc \
- asan_thread.cc \
- asan_preinit.cc
+asan_activation.cc \
+asan_allocator2.cc \
+asan_debugging.cc \
+asan_fake_stack.cc \
+asan_globals.cc \
+asan_interceptors.cc \
+asan_linux.cc \
+asan_mac.cc \
+asan_malloc_linux.cc \
+asan_malloc_mac.cc \
+asan_malloc_win.cc \
+asan_new_delete.cc \
+asan_poisoning.cc \
+asan_posix.cc \
+asan_report.cc \
+asan_rtl.cc \
+asan_stack.cc \
+asan_stats.cc \
+asan_thread.cc \
+asan_win.cc \
+asan_win_dll_thunk.cc \
+asan_win_dynamic_runtime_thunk.cc
INTERCEPTION_SRCS= \
- interception_linux.cc \
- interception_type_test.cc
+interception_linux.cc \
+interception_mac.cc \
+interception_type_test.cc \
+interception_win.cc
SANITIZER_SRCS= \
- sanitizer_allocator.cc \
- sanitizer_common.cc \
- sanitizer_flags.cc \
- sanitizer_libc.cc \
- sanitizer_netbsd.cc \
- sanitizer_mac.cc \
- sanitizer_posix.cc \
- sanitizer_platform_limits_posix.cc \
- sanitizer_printf.cc \
- sanitizer_stackdepot.cc \
- sanitizer_stacktrace.cc \
- sanitizer_symbolizer.cc \
- sanitizer_win.cc
+sanitizer_allocator.cc \
+sanitizer_common.cc \
+sanitizer_common_libcdep.cc \
+sanitizer_coverage_libcdep.cc \
+sanitizer_coverage_mapping_libcdep.cc \
+sanitizer_deadlock_detector1.cc \
+sanitizer_deadlock_detector2.cc \
+sanitizer_flags.cc \
+sanitizer_libc.cc \
+sanitizer_libignore.cc \
+sanitizer_linux.cc \
+sanitizer_linux_libcdep.cc \
+sanitizer_mac.cc \
+sanitizer_persistent_allocator.cc \
+sanitizer_platform_limits_linux.cc \
+sanitizer_platform_limits_posix.cc \
+sanitizer_posix.cc \
+sanitizer_posix_libcdep.cc \
+sanitizer_printf.cc \
+sanitizer_procmaps_common.cc \
+sanitizer_procmaps_freebsd.cc \
+sanitizer_procmaps_linux.cc \
+sanitizer_procmaps_mac.cc \
+sanitizer_stackdepot.cc \
+sanitizer_stacktrace.cc \
+sanitizer_stacktrace_libcdep.cc \
+sanitizer_stacktrace_printer.cc \
+sanitizer_stoptheworld_linux_libcdep.cc \
+sanitizer_suppressions.cc \
+sanitizer_symbolizer.cc \
+sanitizer_symbolizer_libbacktrace.cc \
+sanitizer_symbolizer_libcdep.cc \
+sanitizer_symbolizer_posix_libcdep.cc \
+sanitizer_symbolizer_win.cc \
+sanitizer_thread_registry.cc \
+sanitizer_tls_get_addr.cc \
+sanitizer_unwind_posix_libcdep.cc \
+sanitizer_win.cc
# The linux build does this to avoid preinit sections on shared libraries
CSHLIBFLAGS+= -DPIC
@@ -49,9 +83,11 @@
SRCS= ${ASAN_SRCS} ${INTERCEPTION_SRCS} ${SANITIZER_SRCS}
CPPFLAGS+=-I${ASAN}/include -I${ASAN}
CPPFLAGS.sanitizer_netbsd.cc+=-I${GCCDIST}/gcc/ginclude
+CPPFLAGS+=-D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DASAN_HAS_EXCEPTIONS=1 -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0 -DASAN_NEEDS_SEGV=1
LIBDPLIBS+= stdc++ ${.CURDIR}/../libstdc++-v3
LIBDPLIBS+= pthread ${.CURDIR}/../../../../../lib/libpthread
+COPTS+=-std=gnu++11 -fsized-deallocation -fvisibility=hidden
.if ${MACHINE_ARCH} == "vax"
COPTS.asan_allocator2.cc += -O1
diff -r f22d40d7ebab -r b8022bcff6ff external/gpl3/gcc/lib/libasan/shlib_version
--- a/external/gpl3/gcc/lib/libasan/shlib_version Tue May 31 20:47:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libasan/shlib_version Tue May 31 20:47:52 2016 +0000
@@ -1,2 +1,2 @@
-major=0
+major=1
minor=0
Home |
Main Index |
Thread Index |
Old Index