This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/testing in repository compiler-rt.
from f63cea3 Updating branches/google/testing to r285906 adds 806c7f2 [tsan] Cast floating-point types correctly when instrumenting [...] adds 3c445e9 Use -fsanitize-recover instead of -mllvm -msan-keep-going: tests. adds ee69857 [tsan] Change nullptr to NULL in realloc-zero.cc test. Some e [...] adds fce204c [asan] Fix one test on Android N. adds b06cc61 [asan] Fix asan-rt bitness issues in asan_device_setup on Android. adds 2cbd418 [asan] Add missing header in a test. adds 5f787a1 tsan: more precise handling of atomic stores adds 91a6efd [asan/win] Add init hooks to .CRT$XLAB adds fd984c0 [asan] Disable unexpected passing test. adds ee2aeb7 [asan] Ignore host LD_LIBRARY_PATH in device tests. adds f5352b0 Pacify lint check adds f2de077 [asan/win] Use TerminateProcess when we want to exit abnormally adds 39d9407 [lsan] fix a rare lsan false positive: ensure that we don't r [...] adds 4b80ff1 [asan/win] Move breakpoint from Abort to internal__exit adds cd0983b [MSAN][MIPS] Fix test Linux/syscalls_sigaction.cc on mips64 adds 59a707c Force the locale when executing ld gold adds ea6dde4 [asan/win] Fix wrong TerminateProcess exit code adds c78d39f Add missing %run to test to fix AArch64 buildbot adds 070829f [cfi] Tweak a test for the cfi-icall change. adds a0d4283 Add a test that uses coverage and printf from a DLL adds 53f1eb4 [cfi] Test case for weak symbol handling. adds 7dc571a [tsan] Expose __tsan_ignore_thread_begin and __tsan_ignore_th [...] adds 7865e1c Tread TSan LLVM flags to driver: unit tests. adds d744b0b Disable a test using posix_spawn on Android adds e63fdbb [tsan] Fix typo in test. adds 1c78dba [tsan] Test that false races from ObjC's dealloc, .cxx_destru [...] adds 5ab6b0b [asan] Fix strncmp and strncasecmp interceptors adds f2247b9 [lsan] [aarch64] Fix printing of pointers in make check tests [...] adds 1e54762 [asan/win] Delay load dbghelp.dll to delay ucrtbase.dll initi [...] adds 127c0e7 Split strncmp and strncasecmp test and XFAIL one for Windows adds 34faeda Remove pwd to fix WinASan bot adds ee64ede [sanitizer] Max out allowed macOS deployment targets to 10.9 adds 6adce92 Temporarily relax test expectations to fix failures on ppc64. adds 416f4bd [tsan] Add support for C++ exceptions into TSan (call __tsan_ [...] adds 4cdb99f [cfi] Mark some tests as requiring additional support from th [...] adds 7dce7f6 [cfi] Mark tests as xfailing on Darwin adds d747c82 [asan] Fixup to r286608 that makes the test pass on iOS. adds 3b544c6 [asan] Don't assert that a target is within 2GB on 32-bit Windows adds 04ffe3d [asan] Reduce prototype duplication with decltype adds e24f588 [tsan] Call pthread interceptors directly in TSan RTL unit tests adds ccee12b [asan] Re-enable the use-after-scope-types.cc test on Darwin, [...] adds ec30112 Allow users to call ASan's deadly exception report mechanism adds a1df33d [XRay][compiler-rt] Disable XRay instrumentation of the XRay [...] adds 21cec51 fixing binary search for cases when element is not in array adds b55d52a [XRay][compiler-rt] Attempt to fix ARM buildbots after r287068 adds 9bc4c42 adding operator* to help working with primitive values adds 1bc443a [asan] Update the tests as Mach-O metadata liveness tracking [...] adds bb14ea9c [tests] Use __SSE2__ (rather than __i686__...) for SSE2 ASAN test adds 1ab93d4 [asan] Create a .ASAN$G(A-Z) section for global registration adds 2073391 [sanitizers] specifying style for global constant adds df7592a builtins: repair the builtins build with clang 3.8 adds 4eb08d1 rename InternalBinarySearch to InternalLowerBound adds ed845eb [ARM|ASAN] Disabling more unstable ASAN tests adds 8134888 builtins: Allow building windows arm functions for mingw adds 2a05c83 [XRay] Support AArch64 in compiler-rt adds d4f1282 [asan] Un-XFAIL Windows global dead stripping test cases adds 70fc265 Add a test for vcall on a null ptr. adds 157e5df [asan] Specialize the initialization-bug.cc testcase for Darw [...] adds f86bd31 tsan: mark cur_thread_placeholder definition as initial-exec adds 48015d4 tsan: switch libignore from /proc/self/maps to dl_iterate_phdr adds 15fb044 tsan: fix build after 287632 adds 4aeda2d [sanitizer] Fix the dedup_token_length_test.cc testcase to no [...] adds 67877f1 [XRay][compiler-rt] Add newlines to error messages (NFC). adds 1f13830 [profile] Enable on SystemZ. adds 1c5d185 [ASan] Enable on SystemZ. adds a0b00a3 Revert "[ASan] Enable on SystemZ." adds cc39c11 [asan/win] Fix incremental linking vs. global registration adds 4d7a00b [asan/win] Check assumptions about the incremental linker more adds 7fd4a45 [asan/win] Skip incremental linker padding during unregistration adds 311e744 [test] Use a helper macro to refer to MAP_ANON (NFC) adds 3695373 [tsan] Add support for GCD dispatch_suspend and dispatch_resume adds a41d49a [XRay][compiler-rt] XRay Buffer Queue adds cbb51ab Revert "[XRay][compiler-rt] XRay Buffer Queue" adds 1db1375 [asan] Add a "dump_registers" flag to print out CPU registers [...] adds a8382f9 [asan] Support handle_sigill on Darwin adds 99cc7ea [tsan] Fix the lit expansion of %deflake not to eat a space adds 870051a [sanitizers] Get the proper printf/scanf version when long do [...] adds b90241c [asan] Provide bug descriptions for all reports (not just Err [...] adds 60af515 [asan] Attempt to fix the debug_double_free.cc testcase on Wi [...] adds ca0aa08 [asan] Refactor shadow memory initialization out of AsanInitI [...] adds 9eaa3ef Return memory to OS right after free (not in the async thread). adds c6c13e5 builtins: switch to c11 from c99 adds e575309 Revert "Revert "[ASan] Enable on SystemZ."" adds 835a296 [profile] use GetComputerNameExW instead of gethostname on Windows adds 56e3c89 Compiler-rt part of D26230: Add (constant) masked load/store support adds cae76be Revert "Compiler-rt part of D26230: Add (constant) masked loa [...] adds f5b57a6 [sanitizer] Add macOS minimum deployment target to all compil [...] adds 1c9488d [Profile] Fix value profiler eviction bug adds 870226f [asan] Allow re-exec in instrumented unit tests on Darwin (fi [...] adds ab8eb68 [asan] Avoid redundant poisoning checks in __sanitizer_contig [...] adds 41b6e3e [scudo] 32-bit and hardware agnostic support adds d2e59eb Release memory to OS only when the requested range covers the [...] adds 300bd34 build: fix building for Windows after SVN r287465 adds c9901bd Don't include system header inside namespace adds 66dca51 [sanitizer] Add a bunch of ifdefs for sparc targets to avoid [...] adds 451b2c1 compiler-rt/test/profile/Linux/lit.local.cfg: [Py3] Use text [...] adds 470fe80 Compiler-rt part of D26230: Add (constant) masked load/store [...] adds 4ca6e75 Revert "Compiler-rt part of D26230: Add (constant) masked loa [...] adds 74c8f49 [sanitizer] Track architecture and UUID of modules in LoadedModule adds 9fdd37c [sanitizer] Make atos stdin a non-tty pipe to make sure it's [...] adds 01c7498 Remove a couple of memset usages from TSan, introduced in r288624. new 9e0f203 Updating branches/google/testing to r288672
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: cmake/builtin-config-ix.cmake | 4 +- cmake/config-ix.cmake | 36 ++- include/xray/xray_interface.h | 7 + lib/asan/CMakeLists.txt | 3 + lib/asan/asan_activation.cc | 6 +- lib/asan/asan_activation_flags.inc | 1 + lib/asan/asan_allocator.cc | 11 +- lib/asan/asan_allocator.h | 1 + lib/asan/asan_errors.cc | 53 ++-- lib/asan/asan_errors.h | 18 +- lib/asan/asan_flags.inc | 3 + lib/asan/asan_globals.cc | 19 ++ lib/asan/asan_globals_win.cc | 62 +++++ lib/asan/asan_globals_win.h | 34 +++ lib/asan/asan_poisoning.cc | 11 +- lib/asan/asan_poisoning.h | 4 +- lib/asan/asan_report.cc | 12 +- lib/asan/asan_rtl.cc | 110 ++++---- lib/asan/asan_win.cc | 42 ++- lib/asan/asan_win_dll_thunk.cc | 45 +++- lib/asan/asan_win_dynamic_runtime_thunk.cc | 19 +- lib/asan/scripts/asan_device_setup | 27 +- lib/asan/tests/asan_test.cc | 2 +- lib/asan/tests/asan_test_main.cc | 11 +- lib/builtins/CMakeLists.txt | 28 +- lib/builtins/arm/aeabi_idivmod.S | 9 + lib/builtins/arm/aeabi_ldivmod.S | 12 + lib/builtins/arm/aeabi_uidivmod.S | 9 + lib/builtins/arm/aeabi_uldivmod.S | 12 + lib/builtins/gcc_personality_v0.c | 11 + lib/builtins/mingw_fixfloat.c | 36 +++ lib/builtins/unwind-ehabi-helpers.h | 55 ++++ lib/interception/interception_win.cc | 6 + lib/interception/tests/CMakeLists.txt | 1 + lib/interception/tests/interception_win_test.cc | 31 ++- lib/lsan/lsan_allocator.cc | 4 +- lib/msan/msan_allocator.cc | 13 +- lib/profile/InstrProfilingFile.c | 12 +- lib/profile/InstrProfilingPort.h | 6 +- lib/profile/InstrProfilingUtil.c | 14 +- lib/profile/InstrProfilingValue.c | 2 +- lib/sanitizer_common/.clang-tidy | 4 + lib/sanitizer_common/sanitizer_addrhashmap.h | 12 + lib/sanitizer_common/sanitizer_allocator.cc | 3 +- .../sanitizer_allocator_combined.h | 23 +- .../sanitizer_allocator_primary32.h | 14 +- .../sanitizer_allocator_primary64.h | 83 +++--- .../sanitizer_allocator_secondary.h | 31 ++- lib/sanitizer_common/sanitizer_atomic.h | 5 + lib/sanitizer_common/sanitizer_common.cc | 9 + lib/sanitizer_common/sanitizer_common.h | 59 +++-- .../sanitizer_common_interceptors.inc | 62 +++-- lib/sanitizer_common/sanitizer_common_libcdep.cc | 9 - lib/sanitizer_common/sanitizer_common_nolibc.cc | 4 + lib/sanitizer_common/sanitizer_dbghelp.h | 42 +++ lib/sanitizer_common/sanitizer_flags.inc | 8 +- lib/sanitizer_common/sanitizer_libignore.cc | 31 +-- lib/sanitizer_common/sanitizer_linux.cc | 4 + lib/sanitizer_common/sanitizer_mac.cc | 52 ++++ .../sanitizer_platform_limits_linux.cc | 4 +- .../sanitizer_platform_limits_posix.h | 70 ++++- lib/sanitizer_common/sanitizer_posix_libcdep.cc | 8 +- lib/sanitizer_common/sanitizer_procmaps.h | 13 +- lib/sanitizer_common/sanitizer_procmaps_freebsd.cc | 4 +- lib/sanitizer_common/sanitizer_procmaps_linux.cc | 4 +- lib/sanitizer_common/sanitizer_procmaps_mac.cc | 77 +++++- lib/sanitizer_common/sanitizer_stackdepot.cc | 6 +- .../sanitizer_symbolizer_posix_libcdep.cc | 107 +++++--- lib/sanitizer_common/sanitizer_symbolizer_win.cc | 40 ++- lib/sanitizer_common/sanitizer_win.cc | 22 +- .../tests/sanitizer_allocator_test.cc | 24 +- .../tests/sanitizer_common_test.cc | 53 +++- .../tests/sanitizer_procmaps_test.cc | 21 ++ lib/scudo/CMakeLists.txt | 2 +- lib/scudo/scudo_allocator.cpp | 291 ++++++++++++++------- lib/scudo/scudo_allocator.h | 54 ++-- lib/scudo/scudo_allocator_secondary.h | 29 +- lib/scudo/scudo_flags.cpp | 2 +- lib/scudo/scudo_flags.h | 2 +- lib/scudo/scudo_interceptors.cpp | 2 +- lib/scudo/scudo_new_delete.cpp | 2 +- lib/scudo/scudo_termination.cpp | 2 +- lib/scudo/scudo_utils.cpp | 150 +++++++---- lib/scudo/scudo_utils.h | 24 +- lib/tsan/rtl/tsan_interface.h | 3 + lib/tsan/rtl/tsan_interface_atomic.cc | 2 +- lib/tsan/rtl/tsan_interface_inl.h | 8 + lib/tsan/rtl/tsan_libdispatch_mac.cc | 9 + lib/tsan/rtl/tsan_mman.cc | 7 +- lib/tsan/rtl/tsan_platform_linux.cc | 2 +- lib/tsan/rtl/tsan_rtl.cc | 13 +- lib/tsan/rtl/tsan_rtl_thread.cc | 3 +- lib/tsan/tests/rtl/tsan_posix.cc | 69 ++--- lib/tsan/tests/rtl/tsan_posix_util.h | 77 ++++++ lib/tsan/tests/rtl/tsan_test_util_posix.cc | 47 +--- lib/xray/CMakeLists.txt | 47 ++-- lib/xray/xray_AArch64.cc | 105 ++++++++ lib/xray/xray_arm.cc | 29 +- .../interception_mac.cc => xray/xray_defs.h} | 18 +- lib/xray/xray_flags.cc | 7 +- lib/xray/xray_init.cc | 3 +- lib/xray/xray_inmemory_log.cc | 48 ++-- lib/xray/xray_interface.cc | 50 ++-- lib/xray/xray_trampoline_AArch64.S | 89 +++++++ lib/xray/xray_x86_64.cc | 7 +- test/CMakeLists.txt | 2 +- test/asan/CMakeLists.txt | 10 +- test/asan/TestCases/Darwin/dead-strip.c | 2 +- test/asan/TestCases/Darwin/dump_registers.cc | 26 ++ .../asan/TestCases/Linux/malloc_delete_mismatch.cc | 3 +- test/asan/TestCases/Linux/release_to_os_test.cc | 4 +- test/asan/TestCases/Linux/stack-trace-dlclose.cc | 3 +- .../TestCases/Posix/asan-symbolize-sanity-test.cc | 3 +- test/asan/TestCases/Posix/coverage-fork.cc | 2 +- test/asan/TestCases/Windows/coverage-dll-stdio.cc | 16 ++ test/asan/TestCases/Windows/delay_dbghelp.cc | 18 ++ .../asan/TestCases/Windows/dll_global_dead_strip.c | 28 ++ test/asan/TestCases/Windows/global_dead_strip.c | 23 ++ test/asan/TestCases/Windows/tls_init.cc | 51 ++++ test/asan/TestCases/debug_double_free.cc | 50 ++++ test/asan/TestCases/deep_stack_uaf.cc | 3 +- test/asan/TestCases/double-free.cc | 4 +- test/asan/TestCases/exitcode.cc | 130 +++++++++ test/asan/TestCases/ill.cc | 1 - test/asan/TestCases/initialization-bug.cc | 4 +- test/asan/TestCases/interception_failure_test.cc | 3 + test/asan/TestCases/invalid-free.cc | 3 +- test/asan/TestCases/large_func_test.cc | 3 +- test/asan/TestCases/sanity_check_pure_c.c | 3 +- test/asan/TestCases/strncasecmp_strict.c | 67 +++++ test/asan/TestCases/strncmp_strict.c | 67 ++++- test/asan/TestCases/strncpy-overflow.cc | 3 +- test/asan/TestCases/use-after-delete.cc | 3 +- test/asan/TestCases/use-after-free-right.cc | 3 +- test/asan/TestCases/use-after-free.cc | 3 +- test/asan/TestCases/use-after-scope-types.cc | 3 - test/asan/android_commands/android_run.py | 3 +- test/cfi/cross-dso/stats.cpp | 8 +- test/cfi/icall/weak.c | 15 ++ test/dfsan/CMakeLists.txt | 11 +- test/lit.common.cfg | 6 +- test/lsan/CMakeLists.txt | 11 +- test/lsan/TestCases/cleanup_in_tsd_destructor.c | 2 +- test/lsan/TestCases/large_allocation_leak.cc | 2 +- test/lsan/TestCases/pointer_to_self.cc | 2 +- test/lsan/TestCases/stale_stack_leak.cc | 2 +- test/lsan/TestCases/use_after_return.cc | 2 +- test/lsan/TestCases/use_globals_initialized.cc | 2 +- test/lsan/TestCases/use_globals_uninitialized.cc | 2 +- test/lsan/TestCases/use_poisoned_asan.cc | 2 +- test/lsan/TestCases/use_registers.cc | 2 +- test/lsan/TestCases/use_stacks.cc | 2 +- test/lsan/TestCases/use_stacks_threaded.cc | 2 +- test/lsan/TestCases/use_tls_dynamic.cc | 2 +- .../TestCases/use_tls_pthread_specific_dynamic.cc | 2 +- .../TestCases/use_tls_pthread_specific_static.cc | 2 +- test/lsan/TestCases/use_tls_static.cc | 2 +- test/lsan/TestCases/use_unaligned.cc | 2 +- test/lsan/lit.common.cfg | 5 +- test/msan/CMakeLists.txt | 11 +- test/msan/Linux/syscalls_sigaction.cc | 8 + test/msan/print_stats.cc | 18 +- test/msan/{keep-going-dso.cc => recover-dso.cc} | 30 ++- test/msan/{keep-going.cc => recover.cc} | 31 ++- test/profile/CMakeLists.txt | 8 +- test/profile/Linux/lit.local.cfg | 1 + test/profile/instrprof-value-prof-reset.c | 47 ++++ test/sanitizer_common/CMakeLists.txt | 9 +- .../TestCases/Posix/dedup_token_length_test.cc | 12 +- test/sanitizer_common/TestCases/printf-ldbl.c | 13 + .../TestCases/{strcspn.c => scanf-ldbl.c} | 10 +- test/sanitizer_common/print_address.h | 19 ++ test/scudo/CMakeLists.txt | 40 ++- test/scudo/alignment.cpp | 7 +- test/scudo/double-free.cpp | 2 +- test/scudo/interface.cpp | 28 ++ test/scudo/lit.cfg | 13 +- test/scudo/lit.site.cfg.in | 4 + test/scudo/malloc.cpp | 25 +- test/scudo/memalign.cpp | 2 +- test/scudo/mismatch.cpp | 2 +- test/scudo/overflow.cpp | 5 +- test/scudo/preinit.cpp | 1 - test/scudo/random_shuffle.cpp | 1 + test/scudo/realloc.cpp | 2 +- test/tsan/CMakeLists.txt | 10 +- test/tsan/Darwin/gcd-suspend.mm | 45 ++++ test/tsan/Darwin/norace-objcxx-run-time.mm | 113 ++++++++ test/tsan/Darwin/objc-double-property.mm | 21 ++ test/tsan/Darwin/realloc-zero.cc | 2 +- test/tsan/atomic_free.cc | 13 +- test/tsan/atomic_store.cc | 49 ++++ test/tsan/exceptions.cc | 185 +++++++++++++ test/tsan/global_race.cc | 13 +- test/tsan/{ignore_lib1.cc => ignore_lib5.cc} | 37 ++- .../{ignore_lib1.cc.supp => ignore_lib5.cc.supp} | 0 test/tsan/lit.cfg | 8 +- test/tsan/simple_stack.c | 41 ++- test/tsan/test.h | 19 +- test/ubsan/CMakeLists.txt | 8 +- test/ubsan/TestCases/TypeCheck/null.cpp | 32 ++- test/xray/CMakeLists.txt | 12 +- 202 files changed, 3456 insertions(+), 1049 deletions(-) create mode 100644 lib/asan/asan_globals_win.cc create mode 100644 lib/asan/asan_globals_win.h create mode 100644 lib/builtins/mingw_fixfloat.c create mode 100644 lib/builtins/unwind-ehabi-helpers.h create mode 100644 lib/sanitizer_common/sanitizer_dbghelp.h create mode 100644 lib/tsan/tests/rtl/tsan_posix_util.h create mode 100644 lib/xray/xray_AArch64.cc copy lib/{interception/interception_mac.cc => xray/xray_defs.h} (53%) create mode 100644 lib/xray/xray_trampoline_AArch64.S create mode 100644 test/asan/TestCases/Darwin/dump_registers.cc create mode 100644 test/asan/TestCases/Windows/coverage-dll-stdio.cc create mode 100644 test/asan/TestCases/Windows/delay_dbghelp.cc create mode 100644 test/asan/TestCases/Windows/dll_global_dead_strip.c create mode 100644 test/asan/TestCases/Windows/global_dead_strip.c create mode 100644 test/asan/TestCases/Windows/tls_init.cc create mode 100644 test/asan/TestCases/debug_double_free.cc create mode 100644 test/asan/TestCases/exitcode.cc create mode 100644 test/asan/TestCases/strncasecmp_strict.c create mode 100644 test/cfi/icall/weak.c rename test/msan/{keep-going-dso.cc => recover-dso.cc} (50%) rename test/msan/{keep-going.cc => recover.cc} (53%) create mode 100644 test/profile/instrprof-value-prof-reset.c create mode 100644 test/sanitizer_common/TestCases/printf-ldbl.c copy test/sanitizer_common/TestCases/{strcspn.c => scanf-ldbl.c} (52%) create mode 100644 test/sanitizer_common/print_address.h create mode 100644 test/scudo/interface.cpp create mode 100644 test/tsan/Darwin/gcd-suspend.mm create mode 100644 test/tsan/Darwin/norace-objcxx-run-time.mm create mode 100644 test/tsan/Darwin/objc-double-property.mm create mode 100644 test/tsan/atomic_store.cc create mode 100644 test/tsan/exceptions.cc copy test/tsan/{ignore_lib1.cc => ignore_lib5.cc} (53%) copy test/tsan/{ignore_lib1.cc.supp => ignore_lib5.cc.supp} (100%)