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 9325b3af3 Updating branches/google/stable to r315680 adds 68d43afb7 Test commit to ensure the new git mirroring is working. I wil [...] adds ec21d5c9a Undo r168187, a test commit for git mirroring. adds 99d04c831 Updating branches/google/testing to r168474 adds 2b9784609 Updating branches/google/testing to r169803 adds c546b897d Updating branches/google/testing to r169803 adds 0dd570039 Updating branches/google/testing to 170392 adds dbdda2718 Updating branches/google/testing to r176857 adds f7f5ae0a8 Updating branches/google/testing to r177703 adds 41d55e130 Updating branches/google/testing to r182374 adds fbf4315d4 Updating branches/google/testing to r186332 adds f90c9c38e Updating branches/google/testing to r188423 adds 5d25528d6 Updating branches/google/testing to r189214 adds 04f7835b7 Updating branches/google/testing to r192635 adds c0cdd1b66 Updating branches/google/testing to r206155 adds 6510ab74b Updating branches/google/testing to r206539 adds 951cd39e0 Updating branches/google/testing to r206678 adds 61be65550 Updating branches/google/testing to r208017 adds 0b95b6f8f Updating branches/google/testing to r208445 adds eb564b4d0 Updating branches/google/testing to r209252 adds f0581be95 Updating branches/google/testing to r209387 adds 0a454b545 Updating branches/google/testing to r210043 adds a32d91c66 Updating branches/google/testing to r214475 adds 57e55b9bb Updating branches/google/testing to r215195 adds 289371c88 Updating branches/google/testing to r216630 adds 16c73a141 Updating branches/google/testing to r217862 adds f98233284 Updating branches/google/testing to r218707 adds 043208ca0 Updating branches/google/testing to r219387 adds dd135a1de Updating branches/google/testing to r220284 adds 7582e2f2f Updating branches/google/testing to r220284 adds 88a92e5f2 Updating branches/google/testing to r220284 adds d69943110 Updating branches/google/testing to r220284 adds 41f374978 Updating branches/google/testing to r220284 adds 57ca367eb Updating branches/google/testing to r233350 adds ade0a317c Updating branches/google/testing to r233581 adds d76a4820f Updating branches/google/testing to r235153 adds 87c062b47 Updating branches/google/testing to r238924 adds b9050c6d3 Updating branches/google/testing to r239765 adds 5c42a37c6 Updating branches/google/testing to r243773 adds 9d550b045 Updating branches/google/testing to r255243 adds 9c24bfb50 Updating branches/google/testing to r257934 adds 3f923d794 Updating branches/google/testing to r263175 adds 727226325 Updating branches/google/testing to r263175 adds 6fbd6cfc1 Updating branches/google/testing to r264688 adds da915a0f9 Updating branches/google/testing to r267754 adds ed25c7244 Updating branches/google/testing to r273260 adds 3c8798008 Updating branches/google/testing to r275480 adds 50306a53f Updating branches/google/testing to r277323 adds f02ad1dbe Updating branches/google/testing to r285906 adds f63cea3a9 Updating branches/google/testing to r285906 adds 9e0f203fa Updating branches/google/testing to r288672 adds 1120ce969 Updating branches/google/testing to r288672 adds 55008eb10 Updating branches/google/testing to r289206 adds 97e140242 Updating branches/google/testing to r297704 adds cb11821c2 [Sanitizers] Add more details to ASan allocator stats report. adds e972b4cb2 [scudo] Allow for non-Android Shared TSD platforms, part 2 adds b1ac0a6f5 LowerTypeTests: Give imported symbols a type with size 0 so t [...] adds 837886eae [Sanitizers] Always build libFuzzer with frame pointers. adds 397451f72 [cfi] Use %ld_flags_rpath_* substitutions in tests (NFC) adds 3fd72382c [asan] Deflake one test by running it 3 times. adds aa529e36f [libFuzzer] print a better warning if we hit the ld bug adds bb3e2cf04 [xray] Fix CMake for X-RAY tests adds 2323ab971 [asan] Increase kHandlerStackSize for TracerThreadSignalHandler adds c7837d890 [scudo] Do not include sanitizer_posix.h if not on a Posix platform adds 1e1c09d32 [cfi] Test cross-dso CFI on Android. adds 4276b6704 [XRay][compiler-rt] Always place the CPU record first for eve [...] adds d935076a8 Revert "[asan] Deflake one test by running it 3 times." adds 98adaa209 Use O_BINARY when opening GCDA file on Windows adds 87a6e9636 [tsan] Add Mutex annotation flag for constant-initialized __t [...] adds 2b3e0d328 tsan: add tests missed in r316209 adds 59dbe326d [Compiler-rt][MIPS] Fix cross build for XRAY. adds e378f8791 [scudo] Add a shared runtime adds a21db44b4 [Sanitizers] New sanitizer API to purge allocator quarantine. adds 328d6584a Revert "[Compiler-rt][MIPS] Fix cross build for XRAY." adds d93cb79ee [Sanitizers] Add total primary allocator RSS to allocator report. adds 4b9f44eeb [libFuzzer] Periodically purge allocator's quarantine to prol [...] adds ed5545d85 [Sanitizers-libFuzzer] Addressing coding style issues. adds 6c9ee8c61 [XRay][compiler-rt] Remove C++ STL from the buffer queue impl [...] adds 9ec9a9fd8 [XRay][compiler-rt] Fixup shadowing adds e6931d583 [XRay][compiler-rt] More fixups. adds e9b5a2559 [asan] Add more x86 prologue decodings to handle x64 VC 2017 CRT adds f49c63699 On FreeBSD, skip the first entry in the dl_iterate_phdr list. adds 826256f98 [XRay][compiler-rt][NFC] Clean up xray log files before running test adds 6f634ed9c [tsan] Fix warnings in tsan_interceptors.cc from expansion of [...] adds d8ac58ba4 [asan] Don't print rows of shadow bytes outside shadow memory adds 16cd8b12c Add NetBSD improvements in sanitizers adds 00b604240 [Sanitizers] ASan: detect new/delete calls with mismatched al [...] adds e625e66b7 [sanitizer] Random shuffling of chunks for the 32-bit Primary [...] adds 27d88dffa Try to unbreak Linux sanitizers adds cbdf93a9b [msan] Intercept __strxfrm_l. adds 56c02e118 [scudo] Remove comment about security of the 32-bit allocator adds f708c0ca7 [libFuzzer] trying to make a test more stable on Mac adds 0480bcea5 [LSan] Adjust LSan allocator limits for PPC64. adds 491bcd82b [sanitizer] Fix internal symbolized build on Debian 9 adds 9d9424425 [Sanitizers] Set default allocator_release_to_os_interval_ms [...] adds e27514e61 [LSan] Enable LSan tests on PPC64 Linux. adds 350302ec8 [LSan] Disable a couple of failing tests on PPC64 (pending in [...] adds 0c8987ad2 [scudo] Allow to specify the maximum number of TSDs at compile time adds 35f3b0cf4 [XRay][compiler-rt] Remove more STL dependenices from FDR mode adds 0efc33137 [XRay] [compiler-rt] fix build by including errno.h into FDR mode adds a0eba2205 [asan] Intercept heap routines in VS2010 CRT adds c6577df3f Fix clang warnings in winasan code adds c714e4023 Introduce ReservedAddressRange to sanitizer_common. adds 97cfd3523 [sanitizer] Fixing an error introduced in D39072 adds 7ff86c1f9 Fix warning + death test + failing test on Windows (D39072). adds 8ff5640b4 [sanitizer][Fuchsia] Add a missing semicolon adds 8ddc9eb95 [fuzzer] Fix threaded stack printing and nested mallocs adds 142775ac8 [fuzzer] Script to detect unbalanced allocation in -trace_mal [...] adds b3c355d3c Revert "[fuzzer] Fix threaded stack printing and nested mallo [...] adds e8c4cd327 [fuzzer] Fix threaded stack printing adds 60ec9d032 [scudo] Implement stricter separation of C vs C++ adds 4f6767844 [scudo] Fix standlone build -lrt requirement adds a638156d4 [fuzzer] Script to detect unbalanced allocation in -trace_mal [...] adds bcc227ee4 [fuzzer] Fix nested mallocs new 5cdb7458c Creating branches/google/testing and tags/google/testing/ fro [...] new 7364e1314 Creating branches/google/testing and tags/google/testing/2017 [...]
The 2 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/config-ix.cmake | 2 +- include/sanitizer/allocator_interface.h | 7 + include/sanitizer/tsan_interface.h | 6 + lib/asan/asan_allocator.cc | 74 +++++++-- lib/asan/asan_allocator.h | 5 +- lib/asan/asan_descriptions.cc | 1 + lib/asan/asan_descriptions.h | 1 + lib/asan/asan_errors.cc | 37 ++++- lib/asan/asan_errors.h | 16 +- lib/asan/asan_linux.cc | 2 +- lib/asan/asan_memory_profile.cc | 3 + lib/asan/asan_new_delete.cc | 102 ++++++------- lib/asan/asan_report.cc | 7 +- lib/asan/asan_report.h | 3 +- lib/fuzzer/CMakeLists.txt | 2 + lib/fuzzer/FuzzerDriver.cpp | 1 + lib/fuzzer/FuzzerExtFunctions.def | 1 + lib/fuzzer/FuzzerFlags.def | 4 + lib/fuzzer/FuzzerInternal.h | 3 + lib/fuzzer/FuzzerLoop.cpp | 116 ++++++++++---- lib/fuzzer/FuzzerOptions.h | 1 + lib/fuzzer/FuzzerTracePC.cpp | 8 +- lib/fuzzer/scripts/unbalanced_allocs.py | 93 ++++++++++++ lib/interception/interception_win.cc | 4 + lib/lsan/lsan_allocator.h | 11 +- lib/msan/msan_interceptors.cc | 53 ++++--- lib/msan/msan_linux.cc | 6 +- lib/profile/GCDAProfiling.c | 9 +- lib/sanitizer_common/sanitizer_allocator.h | 13 ++ .../sanitizer_allocator_combined.h | 4 + .../sanitizer_allocator_interface.h | 3 + .../sanitizer_allocator_primary32.h | 58 +++++-- .../sanitizer_allocator_primary64.h | 95 +++++++----- lib/sanitizer_common/sanitizer_common.h | 14 ++ .../sanitizer_common_interceptors.inc | 13 +- .../sanitizer_common_interface.inc | 1 + lib/sanitizer_common/sanitizer_flags.inc | 10 +- lib/sanitizer_common/sanitizer_fuchsia.cc | 24 +++ lib/sanitizer_common/sanitizer_internal_defs.h | 2 +- lib/sanitizer_common/sanitizer_linux.cc | 122 ++++++++------- .../sanitizer_platform_limits_netbsd.cc | 2 + .../sanitizer_platform_limits_netbsd.h | 2 +- lib/sanitizer_common/sanitizer_posix_libcdep.cc | 30 ++++ lib/sanitizer_common/sanitizer_quarantine.h | 33 ++-- .../sanitizer_stoptheworld_linux_libcdep.cc | 2 +- lib/sanitizer_common/sanitizer_syscall_generic.inc | 4 + .../sanitizer_syscall_linux_aarch64.inc | 3 + .../sanitizer_syscall_linux_x86_64.inc | 3 + lib/sanitizer_common/sanitizer_win.cc | 36 ++++- .../symbolizer/scripts/build_symbolizer.sh | 4 +- .../tests/sanitizer_common_test.cc | 65 ++++++++ lib/scudo/CMakeLists.txt | 52 +++++-- lib/scudo/scudo_allocator.h | 3 - lib/scudo/scudo_platform.h | 29 +++- lib/scudo/scudo_tsd_shared.cpp | 19 +-- lib/scudo/scudo_tsd_shared.inc | 6 + lib/scudo/scudo_utils.cpp | 4 +- lib/tsan/go/buildgo.sh | 15 ++ lib/tsan/rtl/tsan_interceptors.cc | 20 ++- lib/tsan/rtl/tsan_platform.h | 13 ++ lib/tsan/rtl/tsan_platform_linux.cc | 5 +- lib/tsan/rtl/tsan_rtl_mutex.cc | 4 +- lib/tsan/rtl/tsan_sync.h | 4 +- lib/tsan/tests/rtl/tsan_test_util_posix.cc | 4 +- lib/xray/tests/CMakeLists.txt | 3 +- lib/xray/xray_buffer_queue.cc | 60 ++++---- lib/xray/xray_buffer_queue.h | 61 ++++---- lib/xray/xray_fdr_logging.cc | 47 +++--- lib/xray/xray_fdr_logging_impl.h | 60 ++++---- test/asan/TestCases/Linux/aligned_delete_test.cc | 168 +++++++++++++++++++++ test/asan/TestCases/Linux/release_to_os_test.cc | 18 ++- test/cfi/cross-dso/icall/diag.cpp | 16 +- test/cfi/cross-dso/icall/icall-from-dso.cpp | 8 +- test/cfi/cross-dso/icall/icall.cpp | 8 +- test/cfi/cross-dso/lit.local.cfg | 6 +- test/cfi/cross-dso/shadow_is_read_only.cpp | 3 + test/cfi/cross-dso/simple-fail.cpp | 68 ++++----- test/cfi/cross-dso/simple-pass.cpp | 40 ++--- test/cfi/cross-dso/stats.cpp | 3 + test/cfi/cross-dso/util/cfi_stubs.h | 30 ++++ test/cfi/lit.cfg | 5 + test/cfi/vtable-may-alias.cpp | 25 +++ ...hreadedTest.cpp => TraceMallocThreadedTest.cpp} | 12 +- test/fuzzer/fuzzer-customcrossover.test | 2 +- test/fuzzer/trace-malloc-threaded.test | 36 +++++ test/fuzzer/trace-malloc-unbalanced.test | 27 ++++ test/lit.common.cfg | 13 ++ test/lsan/TestCases/stale_stack_leak.cc | 2 +- test/lsan/TestCases/swapcontext.cc | 2 +- test/lsan/TestCases/use_registers.cc | 5 + test/lsan/lit.common.cfg | 2 +- test/msan/__strxfrm_l.cc | 19 +++ test/msan/lit.cfg | 3 +- test/msan/strxfrm.cc | 11 +- .../TestCases/Linux/allow_user_segv.cc | 2 +- test/scudo/{alignment.cpp => alignment.c} | 2 +- test/scudo/double-free.cpp | 2 +- test/scudo/interface.cpp | 2 +- test/scudo/lit.cfg | 24 +-- test/scudo/malloc.cpp | 2 +- test/scudo/{memalign.cpp => memalign.c} | 4 +- test/scudo/mismatch.cpp | 2 +- test/scudo/options.cpp | 2 +- test/scudo/{overflow.cpp => overflow.c} | 0 test/scudo/{preinit.cpp => preinit.c} | 2 +- test/scudo/preload.cpp | 20 +++ test/scudo/{quarantine.cpp => quarantine.c} | 2 +- test/scudo/random_shuffle.cpp | 4 +- test/scudo/realloc.cpp | 2 +- test/scudo/{secondary.cpp => secondary.c} | 2 +- test/scudo/sized-delete.cpp | 2 +- test/scudo/sizes.cpp | 2 +- test/scudo/{threads.cpp => threads.c} | 4 +- .../{tsd_destruction.cpp => tsd_destruction.c} | 0 test/scudo/{valloc.cpp => valloc.c} | 2 +- test/tsan/custom_mutex.h | 10 +- test/tsan/custom_mutex4.cc | 33 ++++ test/tsan/custom_mutex5.cc | 33 ++++ test/tsan/lit.cfg | 3 +- test/tsan/map32bit.cc | 5 +- test/tsan/strerror_r.cc | 3 +- test/xray/TestCases/Linux/fdr-single-thread.cc | 1 + 122 files changed, 1658 insertions(+), 576 deletions(-) create mode 100755 lib/fuzzer/scripts/unbalanced_allocs.py create mode 100644 test/asan/TestCases/Linux/aligned_delete_test.cc create mode 100644 test/cfi/cross-dso/util/cfi_stubs.h create mode 100644 test/cfi/vtable-may-alias.cpp copy test/fuzzer/{ThreadedTest.cpp => TraceMallocThreadedTest.cpp} (68%) create mode 100644 test/fuzzer/trace-malloc-threaded.test create mode 100644 test/fuzzer/trace-malloc-unbalanced.test create mode 100644 test/msan/__strxfrm_l.cc rename test/scudo/{alignment.cpp => alignment.c} (87%) rename test/scudo/{memalign.cpp => memalign.c} (96%) rename test/scudo/{overflow.cpp => overflow.c} (100%) rename test/scudo/{preinit.cpp => preinit.c} (96%) create mode 100644 test/scudo/preload.cpp rename test/scudo/{quarantine.cpp => quarantine.c} (99%) rename test/scudo/{secondary.cpp => secondary.c} (97%) rename test/scudo/{threads.cpp => threads.c} (98%) rename test/scudo/{tsd_destruction.cpp => tsd_destruction.c} (100%) rename test/scudo/{valloc.cpp => valloc.c} (98%) create mode 100644 test/tsan/custom_mutex4.cc create mode 100644 test/tsan/custom_mutex5.cc