This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/stable in repository compiler-rt.
from 13513d17c Updating branches/google/stable to r300801 adds ea443214c [XRay][compiler-rt] Cleanup CFI/CFA annotations on trampolines adds 35ad9be15 [XRay] [compiler-rt] - Fix standalone and non-deterministic t [...] adds ac9e6ea23 [scudo] Minor changes and refactoring adds ba4bcb373 [scudo] Remove GetActuallyAllocatedSize calls from the fast path adds 4491af204 Define a suppression for known leaks on pthread_exit call. adds b1a6993d2 Define standard suppressions for LSan, start with this one. adds 8be3b0470 [asan] Optimize strchr for strict_string_checks=false adds 90b4b2c3c make detect_leaks=1 the default for the lsan test suite adds 08d91460e Enable lsan test suite on Darwin x86_64 builds adds 71895e0fe [cfi] Move one test under cross-dso/icall. adds c779240ba [cfi] Add explicit -flto in create-derivers test. adds 9bde12256 Enable LSan on PowerPC64. adds d8d3de1d7 [asan] Match BUS and SIGV to fix test on Darwin adds 1082bc665 sanitizer: fix crash with textdomain(NULL) interceptor adds e12d8a210 [asan] move textdomain.c to Linux dir, as the test is Linux-specific adds b6eb47518 Revert "Enable lsan test suite on Darwin x86_64 builds" adds 2c9491562 Disable LSan on ppc64, some tests are failing. adds 5cc53833e [asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access" adds cf2441775 [asan] Fix test by removing "The signal is caused" check. adds efc456638 Revert r300889, r300906, r300935, r300939 adds cc599619a [tsan] Don't report bugs from interceptors called from libign [...] adds 0a039ecbd [tsan] Ignore memory accesses for libignored modules for "ext [...] adds 58a4814ee [tsan] Track external API accesses as 1-byte accesses (instea [...] adds 35ad53db3 [tsan] Publish the TSan external API in tsan_interface.h adds 65382e621 [tsan] Refactor __tsan_external_read/__tsan_external_write to [...] adds f94bfbbbb [tsan] Add a test for "external" API that checks the dup supp [...] adds 9cb198789 [scudo] Bypass Quarantine if its size is set to 0 adds fa7f48480 [cfi] Run tests with and without lld and thinlto. adds 6d68f8204 [cfi] Replace elif with elseif in cmake. adds c8d70402d [asan] Optimize strchr for strict_string_checks=false adds ba68c62d8 Suppress DTLS leak happening in some glibc versions. adds bed4c80fc [lsan] Enable LSan on PowerPC64. adds 5386ce517 [cfi] Disable thinlto tests on Darwin. adds 1d5d795ba [builtins] Implement emulated TLS on Windows. adds c88db7d06 [scudo] Enabling MIPS support for Scudo adds 6711394c3 Revert [scudo] Enabling MIPS support for Scudo adds 4ba77b58f [sanitizer] Cache SizeClassForTransferBatch in the 32-bit loc [...] adds b4626e22f [tsan] Remove the extra word "object" from description of ext [...] adds 537070f68 [tsan] Include __tsan_external_* API from a header file inste [...] adds 6733410e1 [cfi] Disable ThinLTO + CFI tests on Windows. adds 46a48e591 [asan] Use posix strerror_r interceptor on android. adds abff16288 [asan] Remove asanwrapper from Android test harness. adds 2192b7141 [cfi] Fix wrong CMake condition for WIN32. adds 518a5aca0 Mark a test as requiring a shell. adds 43a355662 [asan] Fix Windows global dead stripping tests adds efd746c9a Revert r301089 "[builtins] Implement emulated TLS on Windows." adds e80e95517 [Compiler-rt][MIPS] Fix assert introduce with commit rl301171. adds ad42fb978 [lsan] When necessary, define LSan suppression for pthread_exit. adds 12df869c0 [builtins] Implement emulated TLS on Windows. adds 9b8267f70 [test] Build sanitizer/xray tests only if COMPILER_RT_BUILD_* is on adds 775df7943 [lsan] When necessary, define LSan suppression for tls_get_addr. adds fcf0ff11c [asan] Add support for running lit tests in the iOS Simulator adds 0e741b973 Follow-up for r301443: The python scrips need to be executable. adds ca256e121 Fix the typo in strtok.c testcase: There was a missing space [...] adds 9553ac23b Add a missing "%run" expansion to fread_fwrite.cc test case t [...] adds 1282f851d Mark the asan-sigbus.cpp ASan testcase as unsupported on iOS. [...] adds fcedc089e Fix the dump_registers.cc ASan testcase on iOS to allow both [...] adds f760d1b91 XFAIL the TSan XPC tests on iOS. XPC isn't available on iOS. adds 5f3af0837 [asan] Allow propagating env variables when testing on iOS Simulator adds 2c89e2b50 Mark two tests (dead-strip.c, initialization-bug.cc) as unsup [...] adds b87de18ec Add missing FileCheck, update CHECK lines and avoid subshell. adds 59674c69d Also match the output on 32 bit systems. adds 77bdfc0ad TSan: update line number after XFAIL on iOS. adds e3b4fb5e6 [scudo] Move thread local variables into their own files adds 57470fcc2 [asan] Fix dead stripping of globals on Linux (compiler-rt). adds 33780624a [ubsan] Make the cast overflow message less redundant adds d53a2b5d9 [asan] Add a compilation wrapper that codesigns shared librar [...] adds ce5dde422 Fix the reexec-insert-libraries-env.cc testcase to use %env t [...] adds fce320da7 Fix unset-insert-libraries-on-exec.cc to use "%env" to make i [...] adds aa1c97756 [tsan] Track external tags in thread traces adds d816020bb [XRay][compiler-rt] Document and update the XRay Logging API adds 1531d487b tsan: support linker init flag in __tsan_mutex_destroy adds 33fde816a [powerpc] deactivate flakey tests on powerpc64le adds f62c0be79 Add a blank line as a test-commit. adds 62e0c63b8 Cleanup previous test commit. adds 120e487c4 [sanitizer-coverage] disable coverage_direct=1, will remove t [...] adds 612bed15f Add powerpc64 and powerpc64le to build infrastructure. adds aea5fa3b2 [asan] speed up small memcpy (> 32 but <= 64 bytes) adds a88ac2959 [ubsan] Fall back to the fast unwinder when print_stacktrace=1 adds fed66060a [sanitizer-coverage] remove more stale code adds fb29bf041 [sanitizer-coverage] add a deprecation note for the old sanit [...] adds 25469d9bd [asan] Add strndup/__strndup interceptors if targeting linux. adds a09710f1e Revert r301904 causing tsan test failure in x86_64-linux-autoconf adds 89fac7a41 [compiler-rt] move tsan's Android __get_tls() to sanitizer_common adds dc6e2b60c tsan: allow fast large MemoryRangeSet on non-Windows Go adds f5a63956c Roll back r301831 to fix broken powerpc64le tests. adds 14c50978c [asan] Disable some Darwin tests that don't work on iOS simulator adds cfa8c9c86 [asan] Mark a bunch of tests as unsupported on iOS adds a14170f79 [asan] Mark atos-symbolizer-dyld-root-path.cc testcase as uns [...] adds ecf7ab509 [asan] Mark some more testcases as unsupported on iOS. adds b8d03f43d [sanitizer] Intercept mcheck and mprobe on Linux new cfbf51a5d Updating branches/google/stable to r302012
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/Modules/AddCompilerRT.cmake | 8 + include/sanitizer/tsan_interface.h | 18 +- include/xray/xray_log_interface.h | 171 ++++++++ lib/asan/asan_globals.cc | 20 + lib/asan/asan_interceptors.cc | 7 + lib/asan/asan_interface.inc | 2 + lib/asan/asan_interface_internal.h | 5 + lib/asan/tests/asan_test_main.cc | 9 +- lib/builtins/CMakeLists.txt | 9 +- lib/builtins/emutls.c | 294 ++++++++++--- lib/lsan/lsan_allocator.h | 2 +- lib/lsan/lsan_common.cc | 10 + lib/lsan/lsan_common.h | 3 +- lib/lsan/lsan_interceptors.cc | 14 + .../sanitizer_allocator_local_cache.h | 32 +- .../sanitizer_common_interceptors.inc | 40 +- lib/sanitizer_common/sanitizer_coverage_libcdep.cc | 40 +- .../sanitizer_coverage_libcdep_new.cc | 4 - lib/sanitizer_common/sanitizer_flags.inc | 6 - lib/sanitizer_common/sanitizer_linux.h | 40 ++ lib/sanitizer_common/sanitizer_platform.h | 11 + .../sanitizer_platform_interceptors.h | 1 + .../sanitizer_platform_limits_posix.h | 2 +- lib/scudo/CMakeLists.txt | 1 + lib/scudo/scudo_allocator.cpp | 487 +++++++++++---------- lib/scudo/scudo_allocator.h | 76 ++-- lib/scudo/scudo_allocator_secondary.h | 17 +- lib/scudo/scudo_tls.h | 40 ++ lib/scudo/scudo_tls_linux.cpp | 62 +++ lib/scudo/scudo_tls_linux.h | 48 ++ lib/scudo/scudo_utils.cpp | 58 +-- lib/scudo/scudo_utils.h | 58 ++- lib/tsan/go/buildgo.sh | 1 + lib/tsan/rtl/tsan_external.cc | 56 ++- lib/tsan/rtl/tsan_interceptors.cc | 4 +- lib/tsan/rtl/tsan_interceptors.h | 2 + lib/tsan/rtl/tsan_interface_ann.cc | 2 +- lib/tsan/rtl/tsan_platform_linux.cc | 24 +- lib/tsan/rtl/tsan_report.cc | 6 +- lib/tsan/rtl/tsan_rtl.cc | 5 +- lib/tsan/rtl/tsan_rtl.h | 37 +- lib/tsan/rtl/tsan_rtl_mutex.cc | 4 +- lib/tsan/rtl/tsan_rtl_report.cc | 18 +- lib/tsan/tests/rtl/tsan_posix.cc | 5 +- lib/ubsan/ubsan_diag.cc | 17 +- lib/ubsan/ubsan_handlers.cc | 2 +- lib/xray/xray_log_interface.cc | 10 + lib/xray/xray_trampoline_x86_64.S | 33 +- test/CMakeLists.txt | 82 ++-- test/asan/CMakeLists.txt | 51 ++- test/asan/TestCases/Darwin/address-range-limit.mm | 3 + .../Darwin/atos-symbolizer-dyld-root-path.cc | 3 + test/asan/TestCases/Darwin/atos-symbolizer.cc | 3 + test/asan/TestCases/Darwin/dead-strip.c | 1 + test/asan/TestCases/Darwin/dladdr-demangling.cc | 3 + test/asan/TestCases/Darwin/dump_registers.cc | 2 +- .../Darwin/dyld_insert_libraries_reexec.cc | 2 + .../Darwin/dyld_insert_libraries_remove.cc | 2 + .../asan/TestCases/Darwin/haswell-symbolication.cc | 1 + .../TestCases/Darwin/interface_symbols_darwin.c | 2 + .../Darwin/reexec-insert-libraries-env.cc | 2 +- test/asan/TestCases/Darwin/sandbox-symbolizer.cc | 3 + test/asan/TestCases/Darwin/scribble.cc | 2 +- test/asan/TestCases/Darwin/suppressions-sandbox.cc | 3 + .../Darwin/unset-insert-libraries-on-exec.cc | 2 +- test/asan/TestCases/Darwin/uuid.cc | 3 + test/asan/TestCases/Linux/global-overflow-bfd.cc | 18 + test/asan/TestCases/Linux/global-overflow-lld.cc | 19 + .../TestCases/Linux/globals-gc-sections-lld.cc | 15 + test/asan/TestCases/Linux/globals-gc-sections.cc | 13 - .../TestCases/Linux/read_binary_name_regtest.c | 1 + test/asan/TestCases/Linux/textdomain.c | 10 + test/asan/TestCases/Posix/asan-sigbus.cpp | 2 + test/asan/TestCases/Posix/closed-fds.cc | 1 + .../TestCases/Posix/coverage-direct-activation.cc | 59 --- test/asan/TestCases/Posix/coverage-direct-large.cc | 65 --- test/asan/TestCases/Posix/coverage-direct.cc | 83 ---- test/asan/TestCases/Posix/coverage-fork-direct.cc | 38 -- .../TestCases/Posix/coverage-maybe-open-file.cc | 1 + .../TestCases/Posix/coverage-module-unloaded.cc | 1 + test/asan/TestCases/Posix/coverage-sandboxing.cc | 1 + test/asan/TestCases/Posix/coverage.cc | 1 + .../TestCases/Posix/current_allocated_bytes.cc | 3 + test/asan/TestCases/Posix/fread_fwrite.cc | 4 +- test/asan/TestCases/Posix/glob.cc | 1 + test/asan/TestCases/Posix/start-deactivated.cc | 1 + test/asan/TestCases/Posix/strchr.c | 34 ++ .../asan/TestCases/Windows/dll_global_dead_strip.c | 4 +- test/asan/TestCases/Windows/fuse-lld.cc | 2 +- test/asan/TestCases/Windows/global_dead_strip.c | 4 +- test/asan/TestCases/coverage-disabled.cc | 5 - test/asan/TestCases/coverage-levels.cc | 31 -- test/asan/TestCases/default_blacklist.cc | 1 + test/asan/TestCases/initialization-bug.cc | 1 + test/asan/TestCases/log-path_test.cc | 1 + test/asan/TestCases/small_memcpy_test.cc | 28 ++ test/asan/TestCases/strtok.c | 2 +- .../suppressions-exec-relative-location.cc | 1 + test/asan/TestCases/suppressions-function.cc | 1 + test/asan/TestCases/verbose-log-path_test.cc | 1 + test/asan/android_commands/android_run.py | 5 +- test/asan/lit.cfg | 6 +- test/asan/lit.site.cfg.in | 2 + test/cfi/CMakeLists.txt | 62 ++- test/cfi/create-derivers.test | 9 +- test/cfi/cross-dso/{ => icall}/dlopen.cpp | 2 +- test/cfi/cross-dso/icall/lit.local.cfg | 3 + test/cfi/cross-dso/stats.cpp | 4 + test/cfi/icall/lit.local.cfg | 3 + test/cfi/lit.cfg | 4 +- test/cfi/lit.site.cfg.in | 3 + test/lit.common.cfg | 37 +- test/lit.common.configured.in | 4 + test/lsan/TestCases/Linux/use_tls_dynamic.cc | 2 +- .../Linux/use_tls_pthread_specific_dynamic.cc | 2 +- .../Linux/use_tls_pthread_specific_static.cc | 2 +- test/lsan/TestCases/Linux/use_tls_static.cc | 2 +- test/lsan/TestCases/disabler.cc | 2 +- test/lsan/TestCases/do_leak_check_override.cc | 2 +- test/lsan/TestCases/high_allocator_contention.cc | 2 +- test/lsan/TestCases/large_allocation_leak.cc | 2 +- test/lsan/TestCases/leak_check_at_exit.cc | 2 +- test/lsan/TestCases/link_turned_off.cc | 2 +- test/lsan/TestCases/pointer_to_self.cc | 2 +- test/lsan/TestCases/print_suppressions.cc | 2 +- test/lsan/TestCases/recoverable_leak_check.cc | 2 +- test/lsan/TestCases/register_root_region.cc | 2 +- test/lsan/TestCases/stale_stack_leak.cc | 2 +- test/lsan/TestCases/suppressions_default.cc | 2 +- test/lsan/TestCases/suppressions_file.cc | 2 +- test/lsan/TestCases/swapcontext.cc | 5 +- 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_unaligned.cc | 2 +- test/lsan/lit.common.cfg | 9 +- test/safestack/lit.cfg | 2 +- test/sanitizer_common/TestCases/Linux/mprobe.cc | 42 ++ .../TestCases/sanitizer_coverage_symbolize.cc | 6 - .../ios_commands/iossim_compile.py} | 18 +- test/sanitizer_common/ios_commands/iossim_env.py | 17 + test/sanitizer_common/ios_commands/iossim_run.py | 17 + test/tsan/Darwin/{workerthreads.mm => deadlock.mm} | 36 +- test/tsan/Darwin/debug_external.cc | 2 - test/tsan/Darwin/external-dups.cc | 58 +++ .../tsan/Darwin/external-ignore-noninstrumented.cc | 19 + test/tsan/Darwin/external-lib.cc | 68 +++ .../tsan/Darwin/external-noninstrumented-module.cc | 27 ++ test/tsan/Darwin/external.cc | 78 +--- test/tsan/Darwin/xpc-cancel.mm | 2 + test/tsan/Darwin/xpc-race.mm | 6 +- test/tsan/Darwin/xpc.mm | 2 + test/tsan/ignore_lib1.cc | 3 + test/tsan/ignore_lib5.cc | 3 + test/tsan/test.h | 2 + test/tsan/unaligned_race.cc | 23 +- test/ubsan/TestCases/Float/cast-overflow.cpp | 20 +- test/ubsan/TestCases/Misc/log-path_test.cc | 2 +- test/ubsan/TestCases/Misc/missing_return.cpp | 7 +- test/ubsan/TestCases/TypeCheck/misaligned.cpp | 8 +- test/xray/TestCases/Linux/fdr-mode.cc | 2 + test/xray/TestCases/Linux/fdr-thread-order.cc | 3 +- test/xray/lit.site.cfg.in | 5 +- 167 files changed, 1999 insertions(+), 1131 deletions(-) create mode 100644 lib/scudo/scudo_tls.h create mode 100644 lib/scudo/scudo_tls_linux.cpp create mode 100644 lib/scudo/scudo_tls_linux.h create mode 100644 test/asan/TestCases/Linux/global-overflow-bfd.cc create mode 100644 test/asan/TestCases/Linux/global-overflow-lld.cc create mode 100644 test/asan/TestCases/Linux/globals-gc-sections-lld.cc delete mode 100644 test/asan/TestCases/Linux/globals-gc-sections.cc create mode 100644 test/asan/TestCases/Linux/textdomain.c delete mode 100644 test/asan/TestCases/Posix/coverage-direct-activation.cc delete mode 100644 test/asan/TestCases/Posix/coverage-direct-large.cc delete mode 100644 test/asan/TestCases/Posix/coverage-direct.cc delete mode 100644 test/asan/TestCases/Posix/coverage-fork-direct.cc create mode 100644 test/asan/TestCases/Posix/strchr.c delete mode 100644 test/asan/TestCases/coverage-levels.cc create mode 100644 test/asan/TestCases/small_memcpy_test.cc rename test/cfi/cross-dso/{ => icall}/dlopen.cpp (99%) create mode 100644 test/sanitizer_common/TestCases/Linux/mprobe.cc copy test/{asan/android_commands/android_compile.py => sanitizer_common/ios_comman [...] create mode 100755 test/sanitizer_common/ios_commands/iossim_env.py create mode 100755 test/sanitizer_common/ios_commands/iossim_run.py copy test/tsan/Darwin/{workerthreads.mm => deadlock.mm} (57%) create mode 100644 test/tsan/Darwin/external-dups.cc create mode 100644 test/tsan/Darwin/external-ignore-noninstrumented.cc create mode 100644 test/tsan/Darwin/external-lib.cc create mode 100644 test/tsan/Darwin/external-noninstrumented-module.cc