This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from e219490fe73 Revert r238089 (PR driver/81829). new 36093749ff9 * ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type m [...]
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/ChangeLog | 19 + gcc/sanitizer.def | 20 +- gcc/testsuite/ChangeLog | 17 + .../c-c++-common/ubsan/float-cast-overflow-1.c | 224 ++--- .../c-c++-common/ubsan/float-cast-overflow-10.c | 66 +- .../c-c++-common/ubsan/float-cast-overflow-2.c | 82 +- .../c-c++-common/ubsan/float-cast-overflow-3.c | 24 +- .../c-c++-common/ubsan/float-cast-overflow-4.c | 40 +- .../c-c++-common/ubsan/float-cast-overflow-5.c | 24 +- .../c-c++-common/ubsan/float-cast-overflow-6.c | 24 +- .../c-c++-common/ubsan/float-cast-overflow-8.c | 78 +- .../c-c++-common/ubsan/float-cast-overflow-9.c | 52 +- gcc/testsuite/g++.dg/asan/asan_test.C | 1 + gcc/testsuite/g++.dg/asan/default-options-1.C | 2 +- .../g++.dg/ubsan/float-cast-overflow-bf.C | 16 +- .../gcc.dg/ubsan/float-cast-overflow-bf.c | 44 +- gcc/ubsan.c | 25 +- libsanitizer/ChangeLog | 25 + libsanitizer/MERGE | 2 +- libsanitizer/Makefile.am | 3 +- libsanitizer/Makefile.in | 3 +- libsanitizer/asan/Makefile.am | 2 + libsanitizer/asan/Makefile.in | 17 +- libsanitizer/asan/asan_activation.cc | 19 +- libsanitizer/asan/asan_activation_flags.inc | 2 + libsanitizer/asan/asan_allocator.cc | 193 ++-- libsanitizer/asan/asan_allocator.h | 56 +- libsanitizer/asan/asan_descriptions.cc | 21 +- libsanitizer/asan/asan_descriptions.h | 6 - libsanitizer/asan/asan_errors.cc | 138 +-- libsanitizer/asan/asan_errors.h | 84 +- libsanitizer/asan/asan_fake_stack.cc | 4 +- libsanitizer/asan/asan_flags.cc | 48 +- libsanitizer/asan/asan_flags.inc | 25 +- libsanitizer/asan/asan_fuchsia.cc | 216 ++++ libsanitizer/asan/asan_globals.cc | 46 + libsanitizer/asan/asan_globals_win.cc | 60 ++ libsanitizer/asan/asan_interceptors.cc | 292 ++---- libsanitizer/asan/asan_interceptors.h | 49 +- .../asan/asan_interceptors_memintrinsics.cc | 42 + .../asan/asan_interceptors_memintrinsics.h | 146 +++ libsanitizer/asan/asan_interface.inc | 167 ++++ libsanitizer/asan/asan_interface_internal.h | 12 +- libsanitizer/asan/asan_internal.h | 27 +- libsanitizer/asan/asan_linux.cc | 31 +- libsanitizer/asan/asan_mac.cc | 36 +- libsanitizer/asan/asan_malloc_linux.cc | 72 +- libsanitizer/asan/asan_malloc_win.cc | 7 +- libsanitizer/asan/asan_mapping.h | 16 +- libsanitizer/asan/asan_memory_profile.cc | 92 +- libsanitizer/asan/asan_new_delete.cc | 73 +- libsanitizer/asan/asan_poisoning.cc | 11 +- libsanitizer/asan/asan_poisoning.h | 11 +- libsanitizer/asan/asan_posix.cc | 68 +- libsanitizer/asan/asan_report.cc | 130 +-- libsanitizer/asan/asan_report.h | 4 +- libsanitizer/asan/asan_rtl.cc | 153 +-- libsanitizer/asan/asan_scariness_score.h | 2 +- libsanitizer/asan/asan_shadow_setup.cc | 159 +++ libsanitizer/asan/asan_stack.h | 4 - libsanitizer/asan/asan_suppressions.cc | 12 +- libsanitizer/asan/asan_thread.cc | 60 +- libsanitizer/asan/asan_thread.h | 34 +- libsanitizer/asan/asan_win.cc | 151 +-- libsanitizer/asan/asan_win_dll_thunk.cc | 473 ++------- .../asan/asan_win_dynamic_runtime_thunk.cc | 44 +- libsanitizer/asan/asan_win_weak_interception.cc | 21 + libsanitizer/asan/libtool-version | 2 +- libsanitizer/builtins/assembly.h | 57 +- libsanitizer/include/sanitizer/asan_interface.h | 4 + .../include/sanitizer/common_interface_defs.h | 11 +- .../include/sanitizer/coverage_interface.h | 40 +- libsanitizer/include/sanitizer/lsan_interface.h | 6 + libsanitizer/include/sanitizer/tsan_interface.h | 136 +++ libsanitizer/interception/interception.h | 41 +- libsanitizer/interception/interception_linux.cc | 13 +- libsanitizer/interception/interception_linux.h | 4 +- libsanitizer/interception/interception_win.cc | 24 +- libsanitizer/lsan/Makefile.am | 6 +- libsanitizer/lsan/Makefile.in | 17 +- libsanitizer/lsan/lsan.cc | 17 + libsanitizer/lsan/lsan.h | 49 +- libsanitizer/lsan/lsan_allocator.cc | 109 +- libsanitizer/lsan/lsan_allocator.h | 57 ++ libsanitizer/lsan/lsan_common.cc | 253 +++-- libsanitizer/lsan/lsan_common.h | 83 +- libsanitizer/lsan/lsan_common_linux.cc | 104 +- libsanitizer/lsan/lsan_common_mac.cc | 197 ++++ libsanitizer/lsan/lsan_interceptors.cc | 236 ++++- libsanitizer/lsan/lsan_linux.cc | 31 + libsanitizer/lsan/lsan_mac.cc | 190 ++++ libsanitizer/lsan/lsan_malloc_mac.cc | 53 + libsanitizer/lsan/lsan_thread.cc | 21 +- libsanitizer/lsan/lsan_thread.h | 2 +- libsanitizer/sanitizer_common/Makefile.am | 9 +- libsanitizer/sanitizer_common/Makefile.in | 37 +- libsanitizer/sanitizer_common/sancov_flags.cc | 57 ++ libsanitizer/sanitizer_common/sancov_flags.h | 38 + libsanitizer/sanitizer_common/sancov_flags.inc | 19 + .../sanitizer_common/sanitizer_addrhashmap.h | 12 + .../sanitizer_common/sanitizer_allocator.cc | 59 +- .../sanitizer_common/sanitizer_allocator.h | 29 +- ..._allocator.cc => sanitizer_allocator_checks.cc} | 16 +- .../sanitizer_common/sanitizer_allocator_checks.h | 73 ++ .../sanitizer_allocator_combined.h | 77 +- .../sanitizer_allocator_interface.h | 9 +- .../sanitizer_allocator_internal.h | 25 +- .../sanitizer_allocator_local_cache.h | 145 +-- .../sanitizer_allocator_primary32.h | 78 +- .../sanitizer_allocator_primary64.h | 582 ++++++++--- .../sanitizer_allocator_secondary.h | 69 +- .../sanitizer_allocator_size_class_map.h | 30 +- libsanitizer/sanitizer_common/sanitizer_atomic.h | 5 + .../sanitizer_common/sanitizer_atomic_clang.h | 21 +- .../sanitizer_atomic_clang_other.h | 64 ++ libsanitizer/sanitizer_common/sanitizer_common.cc | 188 +--- libsanitizer/sanitizer_common/sanitizer_common.h | 332 ++++--- .../sanitizer_common_interceptors.inc | 624 +++++++++--- .../sanitizer_common_interceptors_format.inc | 19 +- .../sanitizer_common_interface.inc | 37 + .../sanitizer_common_interface_posix.inc | 12 + .../sanitizer_common/sanitizer_common_libcdep.cc | 199 +++- .../sanitizer_common/sanitizer_common_nolibc.cc | 34 + .../sanitizer_common/sanitizer_coverage_fuchsia.cc | 238 +++++ .../sanitizer_coverage_interface.inc | 31 + .../sanitizer_common/sanitizer_coverage_libcdep.cc | 1043 -------------------- .../sanitizer_coverage_libcdep_new.cc | 218 ++++ .../sanitizer_coverage_mapping_libcdep.cc | 120 --- .../sanitizer_coverage_win_dll_thunk.cc | 19 + ...sanitizer_coverage_win_dynamic_runtime_thunk.cc | 19 + .../sanitizer_coverage_win_sections.cc | 20 + .../sanitizer_coverage_win_weak_interception.cc | 22 + libsanitizer/sanitizer_common/sanitizer_dbghelp.h | 40 + libsanitizer/sanitizer_common/sanitizer_errno.cc | 33 + libsanitizer/sanitizer_common/sanitizer_errno.h | 35 + .../sanitizer_common/sanitizer_errno_codes.h | 32 + libsanitizer/sanitizer_common/sanitizer_file.cc | 175 ++++ libsanitizer/sanitizer_common/sanitizer_file.h | 108 ++ .../sanitizer_common/sanitizer_flag_parser.h | 31 +- libsanitizer/sanitizer_common/sanitizer_flags.h | 6 + libsanitizer/sanitizer_common/sanitizer_flags.inc | 69 +- libsanitizer/sanitizer_common/sanitizer_fuchsia.cc | 517 ++++++++++ libsanitizer/sanitizer_common/sanitizer_fuchsia.h | 29 + .../sanitizer_interface_internal.h | 50 +- .../sanitizer_common/sanitizer_internal_defs.h | 99 +- .../sanitizer_common/sanitizer_libignore.cc | 65 +- .../sanitizer_common/sanitizer_libignore.h | 45 +- libsanitizer/sanitizer_common/sanitizer_linux.cc | 563 +++++++++-- libsanitizer/sanitizer_common/sanitizer_linux.h | 63 +- .../sanitizer_common/sanitizer_linux_libcdep.cc | 117 ++- .../sanitizer_common/sanitizer_linux_s390.cc | 7 + libsanitizer/sanitizer_common/sanitizer_list.h | 11 + libsanitizer/sanitizer_common/sanitizer_mac.cc | 261 ++++- libsanitizer/sanitizer_common/sanitizer_mac.h | 13 + .../sanitizer_common/sanitizer_mac_libcdep.cc | 28 + .../sanitizer_common/sanitizer_malloc_mac.inc | 39 + libsanitizer/sanitizer_common/sanitizer_mutex.h | 8 + libsanitizer/sanitizer_common/sanitizer_platform.h | 38 +- .../sanitizer_platform_interceptors.h | 346 ++++--- .../sanitizer_platform_limits_netbsd.cc | 357 +++++++ .../sanitizer_platform_limits_netbsd.h | 566 +++++++++++ .../sanitizer_platform_limits_posix.cc | 20 +- .../sanitizer_platform_limits_posix.h | 62 +- libsanitizer/sanitizer_common/sanitizer_posix.cc | 209 ++-- libsanitizer/sanitizer_common/sanitizer_posix.h | 4 + .../sanitizer_common/sanitizer_posix_libcdep.cc | 68 +- libsanitizer/sanitizer_common/sanitizer_printf.cc | 75 +- libsanitizer/sanitizer_common/sanitizer_procmaps.h | 93 +- .../sanitizer_common/sanitizer_procmaps_common.cc | 61 +- .../sanitizer_common/sanitizer_procmaps_freebsd.cc | 77 +- .../sanitizer_common/sanitizer_procmaps_linux.cc | 87 +- .../sanitizer_common/sanitizer_procmaps_mac.cc | 304 +++++- .../sanitizer_common/sanitizer_quarantine.h | 183 +++- .../sanitizer_common/sanitizer_report_decorator.h | 5 +- .../sanitizer_signal_interceptors.inc | 65 ++ .../sanitizer_common/sanitizer_stackdepot.cc | 6 +- .../sanitizer_common/sanitizer_stacktrace.cc | 17 +- .../sanitizer_common/sanitizer_stacktrace.h | 9 +- .../sanitizer_stacktrace_libcdep.cc | 25 +- .../sanitizer_stacktrace_printer.cc | 24 +- .../sanitizer_stacktrace_printer.h | 3 +- .../sanitizer_common/sanitizer_stoptheworld.h | 38 +- .../sanitizer_stoptheworld_linux_libcdep.cc | 101 +- .../sanitizer_common/sanitizer_stoptheworld_mac.cc | 176 ++++ .../sanitizer_common/sanitizer_suppressions.cc | 3 + .../sanitizer_common/sanitizer_symbolizer.cc | 8 +- .../sanitizer_common/sanitizer_symbolizer.h | 12 +- .../sanitizer_symbolizer_fuchsia.cc | 105 ++ .../sanitizer_symbolizer_internal.h | 5 +- .../sanitizer_symbolizer_libbacktrace.cc | 3 +- .../sanitizer_symbolizer_libcdep.cc | 181 ++-- .../sanitizer_symbolizer_posix_libcdep.cc | 125 ++- .../sanitizer_common/sanitizer_symbolizer_win.cc | 40 +- .../sanitizer_common/sanitizer_syscall_generic.inc | 30 +- .../sanitizer_common/sanitizer_thread_registry.cc | 42 +- .../sanitizer_common/sanitizer_thread_registry.h | 9 +- .../sanitizer_common/sanitizer_tls_get_addr.cc | 26 +- .../sanitizer_common/sanitizer_tls_get_addr.h | 2 + .../sanitizer_unwind_linux_libcdep.cc | 9 +- libsanitizer/sanitizer_common/sanitizer_win.cc | 238 ++++- libsanitizer/sanitizer_common/sanitizer_win.h | 24 + libsanitizer/sanitizer_common/sanitizer_win_defs.h | 151 +++ .../sanitizer_common/sanitizer_win_dll_thunk.cc | 100 ++ .../sanitizer_common/sanitizer_win_dll_thunk.h | 180 ++++ .../sanitizer_win_dynamic_runtime_thunk.cc | 19 + .../sanitizer_win_weak_interception.cc | 92 ++ .../sanitizer_win_weak_interception.h | 31 + libsanitizer/tsan/Makefile.am | 1 + libsanitizer/tsan/Makefile.in | 27 +- libsanitizer/tsan/tsan_clock.cc | 501 ++++++---- libsanitizer/tsan/tsan_clock.h | 213 ++-- libsanitizer/tsan/tsan_debugging.cc | 90 +- libsanitizer/tsan/tsan_defs.h | 45 +- libsanitizer/tsan/tsan_dense_alloc.h | 11 +- libsanitizer/tsan/tsan_external.cc | 123 +++ libsanitizer/tsan/tsan_fd.cc | 6 +- libsanitizer/tsan/tsan_flags.cc | 4 - libsanitizer/tsan/tsan_flags.h | 1 - libsanitizer/tsan/tsan_flags.inc | 3 + libsanitizer/tsan/tsan_interceptors.cc | 235 ++--- libsanitizer/tsan/tsan_interceptors.h | 11 +- libsanitizer/tsan/tsan_interceptors_mac.cc | 35 +- libsanitizer/tsan/tsan_interface.cc | 4 + libsanitizer/tsan/tsan_interface.h | 34 +- libsanitizer/tsan/tsan_interface_ann.cc | 112 ++- libsanitizer/tsan/tsan_interface_atomic.cc | 30 +- libsanitizer/tsan/tsan_interface_inl.h | 8 + libsanitizer/tsan/tsan_interface_java.cc | 31 +- libsanitizer/tsan/tsan_interface_java.h | 4 + libsanitizer/tsan/tsan_libdispatch_mac.cc | 88 +- libsanitizer/tsan/tsan_malloc_mac.cc | 4 +- libsanitizer/tsan/tsan_mman.cc | 102 +- libsanitizer/tsan/tsan_mman.h | 15 +- libsanitizer/tsan/tsan_new_delete.cc | 13 +- libsanitizer/tsan/tsan_platform.h | 50 +- libsanitizer/tsan/tsan_platform_linux.cc | 57 +- libsanitizer/tsan/tsan_platform_mac.cc | 125 ++- libsanitizer/tsan/tsan_platform_posix.cc | 27 +- libsanitizer/tsan/tsan_platform_windows.cc | 4 - libsanitizer/tsan/tsan_report.cc | 87 +- libsanitizer/tsan/tsan_report.h | 9 +- libsanitizer/tsan/tsan_rtl.cc | 39 +- libsanitizer/tsan/tsan_rtl.h | 80 +- libsanitizer/tsan/tsan_rtl_aarch64.S | 127 ++- libsanitizer/tsan/tsan_rtl_amd64.S | 6 + libsanitizer/tsan/tsan_rtl_mutex.cc | 132 ++- libsanitizer/tsan/tsan_rtl_report.cc | 63 +- libsanitizer/tsan/tsan_rtl_thread.cc | 26 +- libsanitizer/tsan/tsan_stat.cc | 15 +- libsanitizer/tsan/tsan_stat.h | 15 +- libsanitizer/tsan/tsan_suppressions.cc | 2 + libsanitizer/tsan/tsan_sync.cc | 10 +- libsanitizer/tsan/tsan_sync.h | 48 +- libsanitizer/tsan/tsan_trace.h | 2 + libsanitizer/ubsan/Makefile.am | 5 +- libsanitizer/ubsan/Makefile.in | 9 +- libsanitizer/ubsan/libtool-version | 2 +- libsanitizer/ubsan/ubsan_checks.inc | 1 + libsanitizer/ubsan/ubsan_diag.cc | 47 +- libsanitizer/ubsan/ubsan_diag.h | 12 + libsanitizer/ubsan/ubsan_diag_standalone.cc | 36 + libsanitizer/ubsan/ubsan_flags.cc | 21 +- libsanitizer/ubsan/ubsan_handlers.cc | 166 +++- libsanitizer/ubsan/ubsan_handlers.h | 45 +- libsanitizer/ubsan/ubsan_handlers_cxx.cc | 23 +- libsanitizer/ubsan/ubsan_handlers_cxx.h | 13 - libsanitizer/ubsan/ubsan_init.cc | 44 +- libsanitizer/ubsan/ubsan_init.h | 3 + libsanitizer/ubsan/ubsan_init_standalone.cc | 14 +- ...ndalone.cc => ubsan_init_standalone_preinit.cc} | 31 +- libsanitizer/ubsan/ubsan_interface.inc | 52 + libsanitizer/ubsan/ubsan_platform.h | 9 +- libsanitizer/ubsan/ubsan_signals_standalone.cc | 52 + libsanitizer/ubsan/ubsan_signals_standalone.h | 23 + libsanitizer/ubsan/ubsan_type_hash_itanium.cc | 4 +- libsanitizer/ubsan/ubsan_win_dll_thunk.cc | 19 + .../ubsan/ubsan_win_dynamic_runtime_thunk.cc | 19 + libsanitizer/ubsan/ubsan_win_weak_interception.cc | 21 + 278 files changed, 14622 insertions(+), 6141 deletions(-) create mode 100644 libsanitizer/asan/asan_fuchsia.cc create mode 100644 libsanitizer/asan/asan_globals_win.cc create mode 100644 libsanitizer/asan/asan_interceptors_memintrinsics.cc create mode 100644 libsanitizer/asan/asan_interceptors_memintrinsics.h create mode 100644 libsanitizer/asan/asan_interface.inc create mode 100644 libsanitizer/asan/asan_shadow_setup.cc create mode 100644 libsanitizer/asan/asan_win_weak_interception.cc create mode 100644 libsanitizer/include/sanitizer/tsan_interface.h create mode 100644 libsanitizer/lsan/lsan_common_mac.cc create mode 100644 libsanitizer/lsan/lsan_linux.cc create mode 100644 libsanitizer/lsan/lsan_mac.cc create mode 100644 libsanitizer/lsan/lsan_malloc_mac.cc create mode 100644 libsanitizer/sanitizer_common/sancov_flags.cc create mode 100644 libsanitizer/sanitizer_common/sancov_flags.h create mode 100644 libsanitizer/sanitizer_common/sancov_flags.inc copy libsanitizer/sanitizer_common/{sanitizer_persistent_allocator.cc => sanitizer [...] create mode 100644 libsanitizer/sanitizer_common/sanitizer_allocator_checks.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_common_interface.inc create mode 100644 libsanitizer/sanitizer_common/sanitizer_common_interface_posix.inc create mode 100644 libsanitizer/sanitizer_common/sanitizer_common_nolibc.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_fuchsia.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_interface.inc delete mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_libcdep.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_libcdep_new.cc delete mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_mapping_libcdep.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_win_dll_thunk.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_win_dynamic_ru [...] create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_win_sections.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_coverage_win_weak_inter [...] create mode 100644 libsanitizer/sanitizer_common/sanitizer_dbghelp.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_errno.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_errno.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_errno_codes.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_file.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_file.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_fuchsia.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_fuchsia.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_mac_libcdep.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_signal_interceptors.inc create mode 100644 libsanitizer/sanitizer_common/sanitizer_stoptheworld_mac.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_symbolizer_fuchsia.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_win.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_win_defs.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_win_dll_thunk.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_win_dll_thunk.h create mode 100644 libsanitizer/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_win_weak_interception.cc create mode 100644 libsanitizer/sanitizer_common/sanitizer_win_weak_interception.h create mode 100644 libsanitizer/tsan/tsan_external.cc create mode 100644 libsanitizer/ubsan/ubsan_diag_standalone.cc copy libsanitizer/ubsan/{ubsan_init_standalone.cc => ubsan_init_standalone_preinit [...] create mode 100644 libsanitizer/ubsan/ubsan_interface.inc create mode 100644 libsanitizer/ubsan/ubsan_signals_standalone.cc create mode 100644 libsanitizer/ubsan/ubsan_signals_standalone.h create mode 100644 libsanitizer/ubsan/ubsan_win_dll_thunk.cc create mode 100644 libsanitizer/ubsan/ubsan_win_dynamic_runtime_thunk.cc create mode 100644 libsanitizer/ubsan/ubsan_win_weak_interception.cc