Date: Sat, 23 Dec 2017 21:41:32 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r327119 - in projects/clang600-import/lib/libclang_rt: . asan asan_cxx asan_dynamic include profile safestack stats tsan tsan_cxx ubsan_minimal ubsan_standalone ubsan_standalone_cxx Message-ID: <201712232141.vBNLfWaq091768@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Dec 23 21:41:32 2017 New Revision: 327119 URL: https://svnweb.freebsd.org/changeset/base/327119 Log: Next step in updating llvm/clang build glue: make libclang_rt build. Added: projects/clang600-import/lib/libclang_rt/tsan/ projects/clang600-import/lib/libclang_rt/tsan/Makefile (contents, props changed) projects/clang600-import/lib/libclang_rt/tsan_cxx/ projects/clang600-import/lib/libclang_rt/tsan_cxx/Makefile (contents, props changed) projects/clang600-import/lib/libclang_rt/ubsan_minimal/ projects/clang600-import/lib/libclang_rt/ubsan_minimal/Makefile (contents, props changed) Modified: projects/clang600-import/lib/libclang_rt/Makefile projects/clang600-import/lib/libclang_rt/Makefile.inc projects/clang600-import/lib/libclang_rt/asan/Makefile projects/clang600-import/lib/libclang_rt/asan_cxx/Makefile projects/clang600-import/lib/libclang_rt/asan_dynamic/Makefile projects/clang600-import/lib/libclang_rt/include/Makefile projects/clang600-import/lib/libclang_rt/profile/Makefile projects/clang600-import/lib/libclang_rt/safestack/Makefile projects/clang600-import/lib/libclang_rt/stats/Makefile projects/clang600-import/lib/libclang_rt/ubsan_standalone/Makefile projects/clang600-import/lib/libclang_rt/ubsan_standalone_cxx/Makefile Modified: projects/clang600-import/lib/libclang_rt/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -4,11 +4,14 @@ SUBDIR+= include SUBDIR+= asan SUBDIR+= asan-preinit -SUBDIR+= asan_dynamic SUBDIR+= asan_cxx +SUBDIR+= asan_dynamic SUBDIR+= safestack SUBDIR+= stats SUBDIR+= stats_client +SUBDIR+= tsan +SUBDIR+= tsan_cxx +SUBDIR+= ubsan_minimal SUBDIR+= ubsan_standalone SUBDIR+= ubsan_standalone_cxx .endif Modified: projects/clang600-import/lib/libclang_rt/Makefile.inc ============================================================================== --- projects/clang600-import/lib/libclang_rt/Makefile.inc Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/Makefile.inc Sat Dec 23 21:41:32 2017 (r327119) @@ -24,6 +24,10 @@ WARNS?= 0 SSP_CFLAGS= CFLAGS+= -DNDEBUG +CFLAGS+= -DHAVE_RPC_XDR_H=0 +CFLAGS+= -DHAVE_TIRPC_RPC_XDR_H=0 +CFLAGS+= -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 +CFLAGS+= -DUBSAN_CAN_USE_CXXABI CFLAGS+= ${PICFLAG} CFLAGS+= -fno-builtin CFLAGS+= -fno-exceptions Modified: projects/clang600-import/lib/libclang_rt/asan/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/asan/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/asan/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -13,41 +13,39 @@ SRCS+= asan/asan_fake_stack.cc SRCS+= asan/asan_flags.cc SRCS+= asan/asan_globals.cc SRCS+= asan/asan_interceptors.cc +SRCS+= asan/asan_interceptors_memintrinsics.cc SRCS+= asan/asan_linux.cc -SRCS+= asan/asan_mac.cc SRCS+= asan/asan_malloc_linux.cc SRCS+= asan/asan_memory_profile.cc SRCS+= asan/asan_poisoning.cc SRCS+= asan/asan_posix.cc SRCS+= asan/asan_preinit.cc +SRCS+= asan/asan_premap_shadow.cc SRCS+= asan/asan_report.cc SRCS+= asan/asan_rtl.cc +SRCS+= asan/asan_shadow_setup.cc SRCS+= asan/asan_stack.cc SRCS+= asan/asan_stats.cc SRCS+= asan/asan_suppressions.cc SRCS+= asan/asan_thread.cc -SRCS+= asan/asan_win.cc SRCS+= interception/interception_linux.cc -SRCS+= interception/interception_mac.cc SRCS+= interception/interception_type_test.cc -SRCS+= interception/interception_win.cc -SRCS+= lsan/lsan_common.cc -SRCS+= lsan/lsan_common_linux.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc +SRCS+= sanitizer_common/sanitizer_allocator_checks.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc SRCS+= sanitizer_common/sanitizer_flag_parser.cc SRCS+= sanitizer_common/sanitizer_flags.cc SRCS+= sanitizer_common/sanitizer_libc.cc SRCS+= sanitizer_common/sanitizer_libignore.cc SRCS+= sanitizer_common/sanitizer_linux.cc SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_mac.cc SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc @@ -56,25 +54,19 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc -SRCS+= sanitizer_common/sanitizer_procmaps_linux.cc -SRCS+= sanitizer_common/sanitizer_procmaps_mac.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc -SRCS+= sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc SRCS+= sanitizer_common/sanitizer_suppressions.cc SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_mac.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_win.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_win.cc SRCS+= ubsan/ubsan_diag.cc SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc Modified: projects/clang600-import/lib/libclang_rt/asan_cxx/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/asan_cxx/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/asan_cxx/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -10,6 +10,5 @@ SRCS+= asan/asan_new_delete.cc SRCS+= ubsan/ubsan_handlers_cxx.cc SRCS+= ubsan/ubsan_type_hash.cc SRCS+= ubsan/ubsan_type_hash_itanium.cc -SRCS+= ubsan/ubsan_type_hash_win.cc .include <bsd.lib.mk> Modified: projects/clang600-import/lib/libclang_rt/asan_dynamic/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/asan_dynamic/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/asan_dynamic/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -5,6 +5,8 @@ SHLIB_NAME= libclang_rt.asan-${CRTARCH}.so .undef NO_PIC # sorry... +CFLAGS+= -DASAN_DYNAMIC=1 + SRCS+= asan/asan_activation.cc SRCS+= asan/asan_allocator.cc SRCS+= asan/asan_debugging.cc @@ -14,40 +16,39 @@ SRCS+= asan/asan_fake_stack.cc SRCS+= asan/asan_flags.cc SRCS+= asan/asan_globals.cc SRCS+= asan/asan_interceptors.cc +SRCS+= asan/asan_interceptors_memintrinsics.cc SRCS+= asan/asan_linux.cc -SRCS+= asan/asan_mac.cc SRCS+= asan/asan_malloc_linux.cc SRCS+= asan/asan_memory_profile.cc SRCS+= asan/asan_new_delete.cc SRCS+= asan/asan_poisoning.cc SRCS+= asan/asan_posix.cc +SRCS+= asan/asan_premap_shadow.cc SRCS+= asan/asan_report.cc SRCS+= asan/asan_rtl.cc +SRCS+= asan/asan_shadow_setup.cc SRCS+= asan/asan_stack.cc SRCS+= asan/asan_stats.cc SRCS+= asan/asan_suppressions.cc SRCS+= asan/asan_thread.cc -SRCS+= asan/asan_win.cc SRCS+= interception/interception_linux.cc -SRCS+= interception/interception_mac.cc SRCS+= interception/interception_type_test.cc -SRCS+= interception/interception_win.cc -SRCS+= lsan/lsan_common.cc -SRCS+= lsan/lsan_common_linux.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc +SRCS+= sanitizer_common/sanitizer_allocator_checks.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc +SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc SRCS+= sanitizer_common/sanitizer_flag_parser.cc SRCS+= sanitizer_common/sanitizer_flags.cc SRCS+= sanitizer_common/sanitizer_libc.cc SRCS+= sanitizer_common/sanitizer_libignore.cc SRCS+= sanitizer_common/sanitizer_linux.cc SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_mac.cc SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc @@ -56,25 +57,19 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc -SRCS+= sanitizer_common/sanitizer_procmaps_linux.cc -SRCS+= sanitizer_common/sanitizer_procmaps_mac.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc -SRCS+= sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc SRCS+= sanitizer_common/sanitizer_suppressions.cc SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_mac.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_win.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_win.cc SRCS+= ubsan/ubsan_diag.cc SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc @@ -82,7 +77,6 @@ SRCS+= ubsan/ubsan_handlers_cxx.cc SRCS+= ubsan/ubsan_init.cc SRCS+= ubsan/ubsan_type_hash.cc SRCS+= ubsan/ubsan_type_hash_itanium.cc -SRCS+= ubsan/ubsan_type_hash_win.cc SRCS+= ubsan/ubsan_value.cc # Kludge around a bsd.lib.mk shortcoming: when SHLIB_NAME is defined, but LIB Modified: projects/clang600-import/lib/libclang_rt/include/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/include/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/include/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -12,9 +12,11 @@ INCS+= common_interface_defs.h INCS+= coverage_interface.h INCS+= dfsan_interface.h INCS+= esan_interface.h +INCS+= hwasan_interface.h INCS+= linux_syscall_hooks.h INCS+= lsan_interface.h INCS+= msan_interface.h +INCS+= scudo_interface.h INCS+= tsan_interface.h INCS+= tsan_interface_atomic.h Modified: projects/clang600-import/lib/libclang_rt/profile/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/profile/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/profile/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -4,6 +4,10 @@ LIB= clang_rt.profile-${CRTARCH} +CFLAGS+= -DCOMPILER_RT_HAS_ATOMICS=1 +CFLAGS+= -DCOMPILER_RT_HAS_FCNTL_LCK=1 +CFLAGS+= -DCOMPILER_RT_HAS_UNAME=1 + # This is needed for --coverage CXXFLAGS+= -fvisibility=default Modified: projects/clang600-import/lib/libclang_rt/safestack/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/safestack/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/safestack/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -5,9 +5,7 @@ LIB= clang_rt.safestack-${CRTARCH} SRCS+= interception/interception_linux.cc -SRCS+= interception/interception_mac.cc SRCS+= interception/interception_type_test.cc -SRCS+= interception/interception_win.cc SRCS+= safestack/safestack.cc SRCS+= sanitizer_common/sanitizer_allocator.cc SRCS+= sanitizer_common/sanitizer_common.cc @@ -15,12 +13,12 @@ SRCS+= sanitizer_common/sanitizer_common_nolibc.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc SRCS+= sanitizer_common/sanitizer_flag_parser.cc SRCS+= sanitizer_common/sanitizer_flags.cc SRCS+= sanitizer_common/sanitizer_libc.cc SRCS+= sanitizer_common/sanitizer_libignore.cc SRCS+= sanitizer_common/sanitizer_linux.cc -SRCS+= sanitizer_common/sanitizer_mac.cc SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc @@ -28,19 +26,14 @@ SRCS+= sanitizer_common/sanitizer_posix.cc SRCS+= sanitizer_common/sanitizer_printf.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc -SRCS+= sanitizer_common/sanitizer_procmaps_linux.cc -SRCS+= sanitizer_common/sanitizer_procmaps_mac.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc SRCS+= sanitizer_common/sanitizer_suppressions.cc SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_mac.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_win.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc -SRCS+= sanitizer_common/sanitizer_win.cc .include <bsd.lib.mk> Modified: projects/clang600-import/lib/libclang_rt/stats/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/stats/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/stats/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -6,19 +6,20 @@ LIB= clang_rt.stats-${CRTARCH} SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc +SRCS+= sanitizer_common/sanitizer_allocator_checks.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc SRCS+= sanitizer_common/sanitizer_flag_parser.cc SRCS+= sanitizer_common/sanitizer_flags.cc SRCS+= sanitizer_common/sanitizer_libc.cc SRCS+= sanitizer_common/sanitizer_libignore.cc SRCS+= sanitizer_common/sanitizer_linux.cc SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_mac.cc SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc @@ -27,25 +28,19 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc -SRCS+= sanitizer_common/sanitizer_procmaps_linux.cc -SRCS+= sanitizer_common/sanitizer_procmaps_mac.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc -SRCS+= sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc SRCS+= sanitizer_common/sanitizer_suppressions.cc SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_mac.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_win.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_win.cc SRCS+= stats/stats.cc .include <bsd.lib.mk> Added: projects/clang600-import/lib/libclang_rt/tsan/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clang600-import/lib/libclang_rt/tsan/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -0,0 +1,82 @@ +# $FreeBSD$ + +.include <bsd.init.mk> + +LIB= clang_rt.tsan-${CRTARCH} + +SRCS+= interception/interception_linux.cc +SRCS+= interception/interception_type_test.cc +SRCS+= sanitizer_common/sancov_flags.cc +SRCS+= sanitizer_common/sanitizer_allocator.cc +SRCS+= sanitizer_common/sanitizer_allocator_checks.cc +SRCS+= sanitizer_common/sanitizer_common.cc +SRCS+= sanitizer_common/sanitizer_common_libcdep.cc +SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc +SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc +SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc +SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc +SRCS+= sanitizer_common/sanitizer_flag_parser.cc +SRCS+= sanitizer_common/sanitizer_flags.cc +SRCS+= sanitizer_common/sanitizer_libc.cc +SRCS+= sanitizer_common/sanitizer_libignore.cc +SRCS+= sanitizer_common/sanitizer_linux.cc +SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc +SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc +SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc +SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc +SRCS+= sanitizer_common/sanitizer_posix.cc +SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_printf.cc +SRCS+= sanitizer_common/sanitizer_procmaps_common.cc +SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc +SRCS+= sanitizer_common/sanitizer_stackdepot.cc +SRCS+= sanitizer_common/sanitizer_stacktrace.cc +SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc +SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc +SRCS+= sanitizer_common/sanitizer_suppressions.cc +SRCS+= sanitizer_common/sanitizer_symbolizer.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc +SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc +SRCS+= sanitizer_common/sanitizer_termination.cc +SRCS+= sanitizer_common/sanitizer_thread_registry.cc +SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc +SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc +SRCS+= tsan/rtl/tsan_clock.cc +SRCS+= tsan/rtl/tsan_debugging.cc +SRCS+= tsan/rtl/tsan_external.cc +SRCS+= tsan/rtl/tsan_fd.cc +SRCS+= tsan/rtl/tsan_flags.cc +SRCS+= tsan/rtl/tsan_ignoreset.cc +SRCS+= tsan/rtl/tsan_interceptors.cc +SRCS+= tsan/rtl/tsan_interface.cc +SRCS+= tsan/rtl/tsan_interface_ann.cc +SRCS+= tsan/rtl/tsan_interface_atomic.cc +SRCS+= tsan/rtl/tsan_interface_java.cc +SRCS+= tsan/rtl/tsan_md5.cc +SRCS+= tsan/rtl/tsan_mman.cc +SRCS+= tsan/rtl/tsan_mutex.cc +SRCS+= tsan/rtl/tsan_mutexset.cc +SRCS+= tsan/rtl/tsan_platform_linux.cc +SRCS+= tsan/rtl/tsan_platform_posix.cc +SRCS+= tsan/rtl/tsan_preinit.cc +SRCS+= tsan/rtl/tsan_report.cc +SRCS+= tsan/rtl/tsan_rtl.cc +SRCS+= tsan/rtl/tsan_rtl_amd64.S +SRCS+= tsan/rtl/tsan_rtl_mutex.cc +SRCS+= tsan/rtl/tsan_rtl_proc.cc +SRCS+= tsan/rtl/tsan_rtl_report.cc +SRCS+= tsan/rtl/tsan_rtl_thread.cc +SRCS+= tsan/rtl/tsan_stack_trace.cc +SRCS+= tsan/rtl/tsan_stat.cc +SRCS+= tsan/rtl/tsan_suppressions.cc +SRCS+= tsan/rtl/tsan_symbolize.cc +SRCS+= tsan/rtl/tsan_sync.cc +SRCS+= ubsan/ubsan_diag.cc +SRCS+= ubsan/ubsan_flags.cc +SRCS+= ubsan/ubsan_handlers.cc +SRCS+= ubsan/ubsan_init.cc +SRCS+= ubsan/ubsan_value.cc + +.include <bsd.lib.mk> Added: projects/clang600-import/lib/libclang_rt/tsan_cxx/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clang600-import/lib/libclang_rt/tsan_cxx/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -0,0 +1,17 @@ +# $FreeBSD$ + +.include <bsd.init.mk> + +LIB= clang_rt.tsan_cxx-${CRTARCH} + +SRCS+= tsan/rtl/tsan_new_delete.cc +SRCS+= ubsan/ubsan_handlers_cxx.cc +SRCS+= ubsan/ubsan_type_hash.cc +SRCS+= ubsan/ubsan_type_hash_itanium.cc + +.include <bsd.lib.mk> + +CXXFLAGS.ubsan_handlers_cxx.cc= -frtti +CXXFLAGS.ubsan_type_hash.cc= -frtti +CXXFLAGS.ubsan_type_hash_itanium.cc= -frtti +CXXFLAGS.ubsan_type_hash_win.cc= -frtti Added: projects/clang600-import/lib/libclang_rt/ubsan_minimal/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ projects/clang600-import/lib/libclang_rt/ubsan_minimal/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -0,0 +1,9 @@ +# $FreeBSD$ + +.include <bsd.init.mk> + +LIB= clang_rt.ubsan_minimal-${CRTARCH} + +SRCS+= ubsan_minimal/ubsan_minimal_handlers.cc + +.include <bsd.lib.mk> Modified: projects/clang600-import/lib/libclang_rt/ubsan_standalone/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/ubsan_standalone/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/ubsan_standalone/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -4,21 +4,24 @@ LIB= clang_rt.ubsan_standalone-${CRTARCH} +SRCS+= interception/interception_linux.cc +SRCS+= interception/interception_type_test.cc SRCS+= sanitizer_common/sancov_flags.cc SRCS+= sanitizer_common/sanitizer_allocator.cc +SRCS+= sanitizer_common/sanitizer_allocator_checks.cc SRCS+= sanitizer_common/sanitizer_common.cc SRCS+= sanitizer_common/sanitizer_common_libcdep.cc SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cc SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cc SRCS+= sanitizer_common/sanitizer_errno.cc +SRCS+= sanitizer_common/sanitizer_file.cc SRCS+= sanitizer_common/sanitizer_flag_parser.cc SRCS+= sanitizer_common/sanitizer_flags.cc SRCS+= sanitizer_common/sanitizer_libc.cc SRCS+= sanitizer_common/sanitizer_libignore.cc SRCS+= sanitizer_common/sanitizer_linux.cc SRCS+= sanitizer_common/sanitizer_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_mac.cc SRCS+= sanitizer_common/sanitizer_persistent_allocator.cc SRCS+= sanitizer_common/sanitizer_platform_limits_linux.cc SRCS+= sanitizer_common/sanitizer_platform_limits_posix.cc @@ -27,30 +30,26 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cc SRCS+= sanitizer_common/sanitizer_printf.cc SRCS+= sanitizer_common/sanitizer_procmaps_common.cc SRCS+= sanitizer_common/sanitizer_procmaps_freebsd.cc -SRCS+= sanitizer_common/sanitizer_procmaps_linux.cc -SRCS+= sanitizer_common/sanitizer_procmaps_mac.cc SRCS+= sanitizer_common/sanitizer_stackdepot.cc SRCS+= sanitizer_common/sanitizer_stacktrace.cc SRCS+= sanitizer_common/sanitizer_stacktrace_libcdep.cc SRCS+= sanitizer_common/sanitizer_stacktrace_printer.cc -SRCS+= sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc SRCS+= sanitizer_common/sanitizer_suppressions.cc SRCS+= sanitizer_common/sanitizer_symbolizer.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cc SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_mac.cc SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc -SRCS+= sanitizer_common/sanitizer_symbolizer_win.cc SRCS+= sanitizer_common/sanitizer_termination.cc SRCS+= sanitizer_common/sanitizer_thread_registry.cc SRCS+= sanitizer_common/sanitizer_tls_get_addr.cc SRCS+= sanitizer_common/sanitizer_unwind_linux_libcdep.cc -SRCS+= sanitizer_common/sanitizer_win.cc SRCS+= ubsan/ubsan_diag.cc +SRCS+= ubsan/ubsan_diag_standalone.cc SRCS+= ubsan/ubsan_flags.cc SRCS+= ubsan/ubsan_handlers.cc SRCS+= ubsan/ubsan_init.cc SRCS+= ubsan/ubsan_init_standalone.cc +SRCS+= ubsan/ubsan_signals_standalone.cc SRCS+= ubsan/ubsan_value.cc .include <bsd.lib.mk> Modified: projects/clang600-import/lib/libclang_rt/ubsan_standalone_cxx/Makefile ============================================================================== --- projects/clang600-import/lib/libclang_rt/ubsan_standalone_cxx/Makefile Sat Dec 23 21:32:50 2017 (r327118) +++ projects/clang600-import/lib/libclang_rt/ubsan_standalone_cxx/Makefile Sat Dec 23 21:41:32 2017 (r327119) @@ -9,6 +9,5 @@ CXXFLAGS+= -frtti SRCS+= ubsan/ubsan_handlers_cxx.cc SRCS+= ubsan/ubsan_type_hash.cc SRCS+= ubsan/ubsan_type_hash_itanium.cc -SRCS+= ubsan/ubsan_type_hash_win.cc .include <bsd.lib.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712232141.vBNLfWaq091768>