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 7a683713e Updating branches/google/stable to r308006 adds 12d16901e tsan: optimize sync clock memory consumption adds e474b1c40 [Sanitizers] Scudo allocator set errno on failure. adds 2706e2583 [Sanitizers] LSan allocator set errno on failure. adds dd3d6da1d [Sanitizers] ASan and LSan allocator set errno on failure. adds e6b351539 [compiler-rt] [CMake] Build compiler-rt with no optimizations [...] adds b2f847ad5 [compiler-rt] Fix fix format specifies type in test adds cd32bdd8a [asan] Attempt to fix test in Windows after r308064 adds 102b89dd5 [tsan] Disable test with debug runtime adds 773be72a9 [msan] Add missing include for fix test on Windows adds b5b7b0b8b [asan] Disable not working new test on Windows adds c8095ce74 Add MemoryMappedSection struct for two-level memory map iteration adds f36d180d7 Introduce SANITIZER_NETBSD in sanitizer_platform.h adds 0d60e8eeb Add NetBSD support in platform_interceptors.h adds fbc6b650e Add missing && to fix syntax. adds 76862cd3c [sanitizers] Make sure that all complex macros uses parenthesis adds 7e46d78d4 Only scan global sections containing data in LSan on darwin adds e726963d5 [asan] Remove recent asan tests which expect death in allocator adds 13c2d0857 [Sanitizers] ASan/MSan/LSan allocators set errno on failure. adds f9d9566dc Don't call exit() from atexit handlers on Darwin adds f326d7dfb Revert "Only scan global sections containing data in LSan on darwin" adds 02a9951ea Revert "Add MemoryMappedSection struct for two-level memory m [...] adds 6553f3f19 [X86][builtins] Sync getX86CpuIDAndInfoEx with llvm's Host.cp [...] adds 3a390dc51 [asan] Move memcpy, memmove, memset code out of asan_interceptors.cc adds c1d813b64 [compiler-rt] Replace VPrintf with VReport in sanitizer_tls_g [...] adds edb67e932 Add NetBSD support in sanitizer_procmaps_common.cc adds 088d8f4e6 Add NetBSD support in sanitizer_procmaps.h adds 4df023aea Add NetBSD support in sanitizer_libignore.cc adds 6a1564dd4 Honour 80-character line limit adds 971e33341 [compiler-rt] Include thread ID into sanitizers logs adds 3139224a2 [sanitizer_common] Move filesystem-related code out of saniti [...] adds 35ad307c3 Add MemoryMappedSection struct for two-level memory map iteration adds a0aa7cee5 [asan] Update unittest for changes in logging r308637 adds 8d06014e5 Revert "[sanitizer_common] Move filesystem-related code out o [...] adds e2c4c417b [compiler-rt] Reorder functions to have smaller stack frames adds d4b10e1df Revert "[compiler-rt] Reorder functions to have smaller stack [...] adds 75ed905e2 [compiler-rt] Reorder functions to shrink stack frames adds 47ee1da2b [compiler-rt] Use NOINLE to shrink stack frames adds 66c4a2630 [tsan] Update unittest for logging changes of r308637 adds eb87176f8 Revert "Add MemoryMappedSection struct for two-level memory m [...] adds 41f114300 Add end-to-end tests for overflows of byval arguments. adds ecbdaaaa7 [XRay][compiler-rt] Update test to account for change in logg [...] adds ce339bb5f Remove Bitrig: CompilerRT Changes adds f2d5726e3 [sanitizer_common] Move filesystem-related code out of saniti [...] adds 614a50c10 [compiler-rt] Add missing const specifier to MemoryMappedSegm [...] adds 5884a6648 [scudo] Quarantine overhaul adds 50bfae49e [scudo] Fix QuarantineChunksUpToSize failing test on AArch64 adds b5e384b31 Prefer atos to llvm-symbolizer on Darwin adds 3af3bf6f5 [mips] Switch asm to __asm__ for non-GNU compiles. adds c78e1b8ec Splitting out test for Darwin for print-stack-trace: adds f728f4698 [Sanitizers] TSan allocator set errno on failure. adds 3fba40218 Add .pyc files to .gitignore to compiler-rt adds 26aeaee1b Add address ranges for individual macho sections on darwin adds ad87a2bf2 Revert "[compiler-rt] Include thread ID into sanitizers logs" adds 416f1839f Fix unused variable warning with MemoryMappedSegment private data adds 5764cd92b Only scan global sections containing data in LSan on darwin adds 2295a0eb5 [ubsan] -fsanitize=vptr now requires -fsanitize=null, update tests adds 77afdbc0a [scudo] Check for pvalloc overflow adds 5d89c4be9 [ubsan] Update a test missed in r309008, NFC adds fd63314d6 [sanitizer] Support compiler-rt builtins adds d1997bff3 [sanitizer] Support libc++abi in addition to libstdc++ adds 8e31fff29 Revert "[sanitizer] Support libc++abi in addition to libstdc++" adds 99ae2fab3 Revert "[sanitizer] Support compiler-rt builtins" adds 01ebee35b [sanitizer-coverage] remove stale code adds 861f5212c Add liblog to ubsan `UBSAN_DYNAMIC_LIBS` adds fa4969a72 [sanitizers] Sanitizer tests CMake clean up adds 3d7f9b642 Revert "[sanitizers] Sanitizer tests CMake clean up" adds bc1f9b219 [sancov] Implement __sanitizer_cov_reset. adds 521532599 [sancov] Add missing line breaks in test. NFC. adds 33aba8c1c [sanitizers] Sanitizer tests CMake clean up: try #2 adds ab3ad40db [sanitizer-coverage] add a run-time test for -fsanitize-cove [...] adds d630c5dde Support compiler-rt builtins adds d21220894 Support libc++abi in addition to libstdc++ adds 540a1c9dd Change INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE from 8 to 16. adds b8f4c3386 [sanitizer tests CMake] Factor out CMake logic for compiling [...] adds 581f796e9 [sanitizers test CMake] further refactor testing CMake for tsan adds 99e39e2aa Revert r308677. adds b340d2cc8 Add clear_cache implementation for ppc64. Fix buffer to meet [...] adds 7810a905a Add end-to-end tests for overflows of byval arguments. adds 64531a13c [compiler-rt] Add missing quotation marks to msan_compile invocation adds de4bce905 Try to fix asan test on sanitizer-windows adds 1c338cbe7 [ubsan] Diagnose invalid uses of builtins (compiler-rt) adds 87f217d20 [XRay][compiler-rt] Do not print the warning when the binary [...] adds 9b7feef32 [sanitizer_common] Rename SI_NOT_WINDOWS to SI_POSIX adds 142129419 [builtins] Fix mingw-w64 cross compilation adds da26635ad [XRay][compiler-rt] Require build-in-tree and x86_64-linux. adds b5c720821 [sanitizer_common] Add SANITIZER_FUCHSIA adds 30f6f020a [XRay][compiler-rt] Fix typo for REQUIRES. adds 73b1687da [asan] Move shadow memory setup into its own file adds f0878f1e7 [XRay][compiler-rt] Fix test to not be too strict with output order. adds 84b9dd08a [msan] Check for pvalloc overflow adds 8d6193b01 Remove STL/microsoft-specific CFI blacklist entries adds 0be3d11da Add powerpc64 to compiler-rt build infrastructure. adds 42a455c34 [msan] Reverting D36093 adds add8c7766 [sanitizer] Fix the sanitizer build on Android adds 1549687ff [sancov] Fix coverage-reset test on Android/i686. adds fd528d76e [sanitizer-coverage] dummy definitions for __sanitizer_cov_8b [...] new 15900df8a Updating branches/google/stable to r309660
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: .gitignore | 1 + CMakeLists.txt | 72 +++- cmake/Modules/AddCompilerRT.cmake | 5 +- cmake/Modules/CompilerRTCompile.cmake | 35 ++ cmake/Modules/CompilerRTUtils.cmake | 6 + cmake/Modules/HandleCompilerRT.cmake | 21 + cmake/builtin-config-ix.cmake | 2 +- cmake/config-ix.cmake | 32 +- include/sanitizer/coverage_interface.h | 7 +- lib/asan/CMakeLists.txt | 10 +- lib/asan/asan_allocator.cc | 42 +- lib/asan/asan_interceptors.cc | 135 +------ lib/asan/asan_interceptors.h | 3 +- lib/asan/asan_interceptors_memintrinsics.cc | 32 ++ lib/asan/asan_interceptors_memintrinsics.h | 148 +++++++ lib/asan/asan_internal.h | 4 + lib/asan/asan_report.cc | 6 +- lib/asan/asan_rtl.cc | 126 +----- lib/asan/asan_shadow_setup.cc | 144 +++++++ lib/asan/tests/CMakeLists.txt | 68 +--- lib/asan/tests/asan_test.cc | 8 +- lib/builtins/CMakeLists.txt | 14 + lib/builtins/clear_cache.c | 22 +- lib/builtins/cpu_model.c | 39 +- lib/builtins/enable_execute_stack.c | 2 +- lib/builtins/int_endianness.h | 4 +- lib/cfi/cfi_blacklist.txt | 9 - lib/dfsan/dfsan.cc | 1 + lib/interception/tests/CMakeLists.txt | 17 +- lib/lsan/CMakeLists.txt | 5 +- lib/lsan/lsan_allocator.cc | 29 +- lib/lsan/lsan_common.cc | 12 +- lib/lsan/lsan_common.h | 6 + lib/lsan/lsan_common_linux.cc | 7 + lib/lsan/lsan_common_mac.cc | 26 ++ lib/lsan/lsan_interceptors.cc | 6 + lib/msan/msan.h | 14 +- lib/msan/msan_allocator.cc | 85 +++- lib/msan/msan_interceptors.cc | 49 +-- lib/msan/msan_new_delete.cc | 2 +- lib/msan/tests/CMakeLists.txt | 35 +- lib/profile/InstrProfilingValue.c | 2 +- lib/sanitizer_common/CMakeLists.txt | 2 + lib/sanitizer_common/sanitizer_allocator.cc | 9 +- lib/sanitizer_common/sanitizer_allocator.h | 5 - lib/sanitizer_common/sanitizer_allocator_checks.h | 70 ++++ lib/sanitizer_common/sanitizer_common.cc | 146 +------ lib/sanitizer_common/sanitizer_common.h | 92 +---- .../sanitizer_common_interceptors.inc | 6 +- lib/sanitizer_common/sanitizer_common_libcdep.cc | 1 + .../sanitizer_coverage_interface.inc | 3 + .../sanitizer_coverage_libcdep_new.cc | 18 +- lib/sanitizer_common/sanitizer_errno.h | 2 + lib/sanitizer_common/sanitizer_file.cc | 171 ++++++++ lib/sanitizer_common/sanitizer_file.h | 110 ++++++ .../sanitizer_interface_internal.h | 1 - lib/sanitizer_common/sanitizer_libignore.cc | 5 +- lib/sanitizer_common/sanitizer_linux_libcdep.cc | 1 + lib/sanitizer_common/sanitizer_mac.cc | 1 + lib/sanitizer_common/sanitizer_platform.h | 19 +- .../sanitizer_platform_interceptors.h | 303 +++++++------- lib/sanitizer_common/sanitizer_posix.cc | 1 + lib/sanitizer_common/sanitizer_printf.cc | 29 +- lib/sanitizer_common/sanitizer_procmaps.h | 29 +- lib/sanitizer_common/sanitizer_procmaps_common.cc | 13 +- lib/sanitizer_common/sanitizer_procmaps_mac.cc | 77 +++- .../sanitizer_stacktrace_printer.cc | 1 + lib/sanitizer_common/sanitizer_suppressions.cc | 1 + .../sanitizer_symbolizer_internal.h | 1 + .../sanitizer_symbolizer_posix_libcdep.cc | 9 +- lib/sanitizer_common/sanitizer_tls_get_addr.cc | 18 +- lib/sanitizer_common/sanitizer_win.cc | 1 + lib/sanitizer_common/tests/CMakeLists.txt | 17 +- .../tests/sanitizer_bitvector_test.cc | 4 +- .../tests/sanitizer_common_test.cc | 1 + lib/sanitizer_common/tests/sanitizer_libc_test.cc | 1 + lib/sanitizer_common/tests/sanitizer_linux_test.cc | 1 + lib/scudo/scudo_allocator.cpp | 120 +++--- lib/scudo/scudo_flags.cpp | 49 ++- lib/scudo/scudo_flags.inc | 22 +- lib/stats/CMakeLists.txt | 5 +- lib/stats/stats.cc | 1 + lib/tsan/CMakeLists.txt | 5 +- lib/tsan/dd/CMakeLists.txt | 6 +- lib/tsan/go/buildgo.sh | 1 + lib/tsan/rtl/tsan_clock.cc | 436 ++++++++++++++------- lib/tsan/rtl/tsan_clock.h | 207 +++++++--- lib/tsan/rtl/tsan_defs.h | 33 +- lib/tsan/rtl/tsan_fd.cc | 6 +- lib/tsan/rtl/tsan_interceptors.cc | 16 +- lib/tsan/rtl/tsan_libdispatch_mac.cc | 3 +- lib/tsan/rtl/tsan_malloc_mac.cc | 4 +- lib/tsan/rtl/tsan_mman.cc | 87 +++- lib/tsan/rtl/tsan_mman.h | 15 +- lib/tsan/rtl/tsan_report.cc | 1 + lib/tsan/rtl/tsan_rtl.cc | 1 + lib/tsan/tests/CMakeLists.txt | 61 ++- lib/tsan/tests/unit/tsan_clock_test.cc | 33 +- lib/tsan/tests/unit/tsan_mman_test.cc | 83 +++- lib/ubsan/CMakeLists.txt | 11 +- lib/ubsan/ubsan_checks.inc | 1 + lib/ubsan/ubsan_handlers.cc | 24 ++ lib/ubsan/ubsan_handlers.h | 15 + lib/ubsan/ubsan_interface.inc | 2 + lib/xray/tests/CMakeLists.txt | 17 +- lib/xray/xray_init.cc | 3 +- .../{ => Darwin}/suppressions-function.cc | 3 - test/asan/TestCases/Posix/coverage-reset.cc | 65 +++ test/asan/TestCases/Windows/shadow_conflict_32.cc | 6 +- test/asan/TestCases/allocator_returns_null.cc | 12 +- test/asan/TestCases/pass-object-byval.cc | 40 ++ test/asan/TestCases/pass-struct-byval-uar.cc | 38 ++ test/asan/TestCases/pass-struct-byval.cc | 23 ++ test/asan/TestCases/suppressions-function.cc | 4 + test/builtins/Unit/clear_cache_test.c | 2 +- test/builtins/Unit/endianness.h | 4 +- test/esan/TestCases/large-stack-linux.c | 4 +- test/lsan/TestCases/allocator_returns_null.cc | 10 +- test/msan/allocator_returns_null.cc | 11 +- .../TestCases/{ => Darwin}/print-stack-trace.cc | 5 - .../TestCases/print-stack-trace.cc | 2 + .../sanitizer_coverage_inline8bit_counter.cc | 17 +- test/scudo/memalign.cpp | 22 +- test/scudo/overflow.cpp | 6 +- test/scudo/quarantine.cpp | 79 +++- test/scudo/valloc.cpp | 63 +++ test/tsan/Linux/check_memcpy.cc | 2 + test/tsan/allocator_returns_null.cc | 12 +- test/ubsan/TestCases/Misc/builtins.cpp | 35 ++ test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp | 2 +- test/ubsan/TestCases/TypeCheck/PR33221.cpp | 2 +- .../TypeCheck/vptr-corrupted-vtable-itanium.cpp | 2 +- .../TestCases/TypeCheck/vptr-virtual-base.cpp | 2 +- test/ubsan/TestCases/TypeCheck/vptr.cpp | 23 +- test/ubsan/lit.common.cfg | 2 + test/xray/TestCases/Linux/fdr-thread-order.cc | 2 +- test/xray/TestCases/Linux/quiet-start.cc | 26 ++ test/xray/lit.cfg | 5 + 138 files changed, 2887 insertions(+), 1374 deletions(-) create mode 100644 cmake/Modules/HandleCompilerRT.cmake create mode 100644 lib/asan/asan_interceptors_memintrinsics.cc create mode 100644 lib/asan/asan_interceptors_memintrinsics.h create mode 100644 lib/asan/asan_shadow_setup.cc create mode 100644 lib/sanitizer_common/sanitizer_allocator_checks.h create mode 100644 lib/sanitizer_common/sanitizer_file.cc create mode 100644 lib/sanitizer_common/sanitizer_file.h copy test/asan/TestCases/{ => Darwin}/suppressions-function.cc (78%) create mode 100644 test/asan/TestCases/Posix/coverage-reset.cc create mode 100644 test/asan/TestCases/pass-object-byval.cc create mode 100644 test/asan/TestCases/pass-struct-byval-uar.cc create mode 100644 test/asan/TestCases/pass-struct-byval.cc copy test/sanitizer_common/TestCases/{ => Darwin}/print-stack-trace.cc (64%) create mode 100644 test/scudo/valloc.cpp create mode 100644 test/ubsan/TestCases/Misc/builtins.cpp create mode 100644 test/xray/TestCases/Linux/quiet-start.cc