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 679fdd604 Updating branches/google/stable to r313876 adds 0b01c05ec [tsan] Annotate function parameters with attribute 'noescape'. adds acea4097c [asan/lsan] Make LSan compliant with recovery mode when runni [...] adds 5ee8cc231 [asan/lsan] Trying to fix buildbots after r313966 adds 7e3a14329 [asan/lsan] Trying to fix PPC64 and x380x buildbots after r313966 adds 10b087da0 [scudo] Scudo thread specific data refactor, part 1 adds 4401e9e8e Removed platform-specific ifdefs from sanitizer_procmaps.h adds b5edc3e43 Fix windows buildbot broken by r313999 adds fa06689f9 [sanitizer] Move CommonSanitizerReportMutex from _print.cc to [...] adds 106ad97ba [asan] Fix unlocking order for CommonSanitizerReportMutex and [...] adds 13b2b2b88 [sanitizer] Move report locking code from asan into common adds b774cd86d Deflake the "xpc-race.mm" test. adds 988561edd [sanitizer] Replace AddressSanitizer with correct tool name adds feeabcf3b Fix fuchsia builds broken by r313999 adds 9b376627e [sanitizer] Move ScopedErrorReportLock into libcdep version adds 4365a0449 [sanitizer] Replace thread id with GetThreadSelf adds 67a6c824c [lsan] Deadly signal handler for lsan adds 36e72f5e2 [lsan] Add __lsan_default_options adds 6ae24b6fa [ubsan] Support signal specific options in ubsan adds a7018c1d0 [ubsan] Replace CommonSanitizerReportMutex with ScopedErrorRe [...] adds 836cd12c0 [ubsan] Fix assert.cc test by compiling it as C++ adds ae2601605 [mips][compiler-rt] Disable sem_init_glibc.cc for MIPS64. adds 9230e8345 [scudo] Scudo thread specific data refactor, part 2 adds 2c712e992 [sanitizer_common] Don't provide sanitizer_procmaps API funct [...] adds 8c42acfdc Fix style in sanitizer_procmaps.h adds 1f707b9f7 Add missing include to sanitizer procmaps adds 03dddb6de [mips][asan] Fix preinstalled_signal.cc test for mips adds 1ea789be4 Invalidate symbolizer module list from dlopen/dlclose interceptors adds 7db641bc3 [scudo] Scudo thread specific data refactor, part 3 adds 3ba54520f [Builtins] Use 4 byte alignment for __aeabi_memclr. adds 660505745 [Builtins] ARM: Fix msr assembly instruction use for Thumb2. adds 979ca6560 [Builtins] ARM: Fix assembling files in thumb mode. adds 1df07ed12 [builtins] fix build error on non-ARM for r314285. adds 37865adcd [Sanitizers] Allocator: new "release memory to OS" implementation adds 9dae4270d [Sanitizer] Disable compact size class tests on Android adds 3ac72d809 [ARM] builtins: Replace abort by assert in clear_cache. adds ebab22405 [builtins] ARM: Revert r314284, r314285 and r314289 adds 24050b5dd Add support for custom loaders to symbolizer adds b5a79d0a6 [scudo] Temporary disabling the valloc test on armhf adds 5b19f39ab Revert "Add support for custom loaders to symbolizer" adds bc4debffe ASan allocates a global data initialization array at the tail [...] adds 59f023a92 [ubsan] Merge ubsan_standalone_cxx shared library. adds af46bb333 [XRay] [compiler-rt] FDR logging arg1 handler adds 2c81ea0cc tsan: handle signals in pause call adds 4d153fb22 [asan] Unpoison global metadata on dlclose. adds 81f388fe5 Add support for custom loaders to the sanitizer symbolizer adds 35bf44512 [asan] Fix the bug number in the error message. adds c76c49014 Revert "Add support for custom loaders to the sanitizer symbolizer" adds 283e436ec [XRay][compiler-rt][NFC] Remove loggingInitialized() convenie [...] adds 87e43ef9d [CMake] Fix configuration on PowerPC with sanitizers adds d04247a9f Refactor android fallback procmaps init. NFC. adds 0c8ffd513 Remove recursion from FindModuleForAddress. NFC. adds 685813843 Add missing header definition adds 9d26c0129 Fix cmake file broken by D38277. adds 5e66b692b Move LoadedModule list to a NoCtor vector and initialize on demand. adds faf993b37 Revert "Move LoadedModule list to a NoCtor vector and initial [...] adds c9b5e685a Move LoadedModule list to a NoCtor vector and initialize on demand. adds 63780036d [cmake] Add a separate CMake var to control profile runtime adds 4f725d63b Use %run for running CFI tests adds 4969c048f Add support for custom loaders to the sanitizer symbolizer adds 6b550d45f Revert "Add support for custom loaders to the sanitizer symbolizer" adds 3ce56013c Add support for custom loaders to the sanitizer symbolizer adds 4ce970d86 [builtins] ARM: Reland fix for assembling builtins in thumb state. adds a1604ad3b [XRay][compiler-rt] Use pthread for initializing thread-local data adds dad2946b5 fixup: use UNUSED, restore alignment for cache-line friendlin [...] adds ebffae6c6 [XRay][compiler-rt] Use a hand-written circular buffer in Buf [...] adds 8f30a9c5f Revert "[XRay][compiler-rt] Use a hand-written circular buffe [...] adds 83774b46b [compiler-rt] Add back ARM EABI aliases where legal. adds 640d7d1f9 [XRay] [compiler-rt] make sure single threaded programs get t [...] adds 06f288ce3 [XRay][compiler-rt] Use a hand-written circular buffer in Buf [...] adds a16d35ab9 [XRay][compiler-rt] Fix logical failure in BufferQueue::getBuffer() adds 9433990fc [sanitizer] Move cxx-abi library earlier in link flags. adds 3d259d643 [XRay][compiler-rt] Write out arg1 payload in naive mode logging adds f4abfe4e8 [cfi] Test on all available targets. adds ad59ece0e [cfi] Mark a test as unsupported on darwin. adds 576e89666 [sanitizer] Move %ld_flags_rpath_exe to common and use it in [...] adds cb012eb23 [asan] Use full binary path in the Android test runner. adds a7688a2f5 [asan] Add --enable-new-dtags in tests on Android. adds 11ad3b8e2 [LSan] Detect dynamic loader by its base address. adds 2edf23743 [cfi] Disable tests with lld on i386. adds 590a32da4 [libFuzzer] Disable experimental clang coverage support by default. adds 2d21e8df3 Revert "[LSan] Detect dynamic loader by its base address." adds b3c632084 [asan] Use gold linker in android tests. adds e9b56a340 [sanitizer] Test ubsan and cfi on android. adds 8501b0e87 Factor out default_(a|ub)sanitizer_opts in lit. adds 83fd3a851 [asan] Disable wcslen test on 32-bit Android. adds f41e67051 [ubsan] Add a static runtime on Darwin adds 3d16ad721 Use list(APPEND) instead of append() adds 748c5c762 cmake: Fix one more usage of append() adds b9f54537f Make the cfi target available on more platforms. adds 5c1865cfa Limit CFI blacklist entries to specific CFI mode adds 23784812b [ubsan] Disable one test on Android. adds 1da2a1c41 [sanitizer] Don't intercept signal and sigaction on Fuchsia adds e21fc3327 [ubsan] Fix Asan internal alloc corruption in PR33221 test. adds 7904451fe [XRay][compiler-rt] Fix rdtscp support check for x86_64 adds 35440ac3d [sanitizer] Move the errno/ENOMEM allocator checks logic to s [...] adds 5b96e8b6f [sanitizer] Revert D38706 adds 69abe65f0 XFAIL ubsan/TestCases/TypeCheck/Function/function.cpp on Windows adds 45675f2e9 Factor out "stable-runtime" feature and enable it on all android. adds 3fc89a412 [sanitizer] Re-disable several tests on Android. adds 452879a46 [libFuzzer] experimental flag to tweak the corpus distributio [...] adds 0ba9bf56c [asan] Tweak test output to diagnose buildbot failures. adds f5ee4a4c0 [libFuzzer] make -use_feature_frequency less aggressive and e [...] adds c37be534a [sanitizer] Introduce ReservedAddressRange to sanitizer_common adds 7898b35d6 Revert "[sanitizer] Introduce ReservedAddressRange to sanitiz [...] adds 18d746da7 [libFuzzer] disable use_feature_frequency as it degrades some [...] adds 974d31232 [X86] Add Knights Mill CPU to cpu_indicator support to match libgcc. adds 57e44143e [ubsan] Support ubsan-minimal tests on Android. adds 95281d613 [sanitizer] Move the errno/ENOMEM allocator checks logic to s [...] adds c16a15f6e Disable profile tests on Android. adds e3e1659d1 Disable TSan tests on Android. adds 8c026f722 Reland "[sanitizer] Introduce ReservedAddressRange to sanitiz [...] adds 286d9a10a Revert r315533 "Reland "[sanitizer] Introduce ReservedAddress [...] adds 389cffef8 [scudo] Allow for non-Android Shared TSD platforms, part 1 adds c0ec5c621 [asan] Disable a flaky test on android. adds a09806de6 [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile() adds c02f2d0ab [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS adds fbade2dae [cmake] [asan] Remove unnecessary gtest dep from dynamic tests adds 44c688de4 [sanitizer] Workaround a Linux kernel bug in hard_rss_limit_mb_test. adds 617d610c7 [libFuzzer] tweam use_feature_frequency to be less aggressive [...] new 9325b3af3 Updating branches/google/stable to r315680
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: CMakeLists.txt | 2 + cmake/Modules/CompilerRTCompile.cmake | 2 +- cmake/base-config-ix.cmake | 6 + cmake/config-ix.cmake | 5 +- include/sanitizer/lsan_interface.h | 4 + include/xray/xray_log_interface.h | 3 + include/xray/xray_records.h | 30 +- lib/CMakeLists.txt | 2 +- lib/asan/CMakeLists.txt | 4 +- lib/asan/asan_flags.cc | 4 + lib/asan/asan_globals.cc | 7 + lib/asan/asan_report.cc | 57 +--- lib/asan/asan_rtl.cc | 5 +- lib/asan/asan_shadow_setup.cc | 2 +- lib/asan/tests/CMakeLists.txt | 2 +- lib/asan/tests/asan_str_test.cc | 6 +- lib/builtins/adddf3.c | 5 +- lib/builtins/addsf3.c | 5 +- lib/builtins/arm/aeabi_cdcmp.S | 5 +- lib/builtins/arm/aeabi_cfcmp.S | 5 +- lib/builtins/arm/aeabi_memset.S | 1 + lib/builtins/ashldi3.c | 5 +- lib/builtins/ashrdi3.c | 5 +- lib/builtins/assembly.h | 9 +- lib/builtins/clear_cache.c | 5 +- lib/builtins/comparedf2.c | 5 +- lib/builtins/comparesf2.c | 5 +- lib/builtins/cpu_model.c | 5 + lib/builtins/divdf3.c | 5 +- lib/builtins/divsf3.c | 5 +- lib/builtins/divsi3.c | 5 +- lib/builtins/extendhfsf2.c | 5 +- lib/builtins/extendsfdf2.c | 5 +- lib/builtins/fixdfdi.c | 12 +- lib/builtins/fixdfsi.c | 5 +- lib/builtins/fixsfdi.c | 12 +- lib/builtins/fixsfsi.c | 5 +- lib/builtins/fixunsdfdi.c | 12 +- lib/builtins/fixunsdfsi.c | 5 +- lib/builtins/fixunssfdi.c | 12 +- lib/builtins/fixunssfsi.c | 5 +- lib/builtins/floatdidf.c | 5 +- lib/builtins/floatdisf.c | 5 +- lib/builtins/floatsidf.c | 5 +- lib/builtins/floatsisf.c | 5 +- lib/builtins/floatundidf.c | 5 +- lib/builtins/floatundisf.c | 5 +- lib/builtins/floatunsidf.c | 5 +- lib/builtins/floatunsisf.c | 5 +- lib/builtins/int_lib.h | 4 +- lib/builtins/lshrdi3.c | 5 +- lib/builtins/muldf3.c | 5 +- lib/builtins/muldi3.c | 5 +- lib/builtins/mulsf3.c | 5 +- lib/builtins/negdf2.c | 5 +- lib/builtins/negsf2.c | 5 +- lib/builtins/subdf3.c | 5 +- lib/builtins/subsf3.c | 5 +- lib/builtins/truncdfhf2.c | 5 +- lib/builtins/truncdfsf2.c | 5 +- lib/builtins/truncsfhf2.c | 5 +- lib/builtins/udivsi3.c | 5 +- lib/cfi/CMakeLists.txt | 60 ++-- lib/cfi/cfi_blacklist.txt | 1 + lib/fuzzer/FuzzerCorpus.h | 45 ++- lib/fuzzer/FuzzerDriver.cpp | 2 + lib/fuzzer/FuzzerFlags.def | 2 + lib/fuzzer/FuzzerLoop.cpp | 11 +- lib/fuzzer/FuzzerOptions.h | 2 + lib/fuzzer/FuzzerTracePC.h | 5 +- lib/interception/tests/CMakeLists.txt | 2 +- lib/lsan/lsan.cc | 16 + lib/lsan/lsan_common.cc | 12 + lib/lsan/lsan_common.h | 5 + lib/lsan/lsan_interceptors.cc | 5 + lib/lsan/weak_symbols.txt | 1 + lib/sanitizer_common/CMakeLists.txt | 16 + ..._allocator.cc => sanitizer_allocator_checks.cc} | 16 +- lib/sanitizer_common/sanitizer_allocator_checks.h | 9 +- .../sanitizer_allocator_primary64.h | 345 ++++++++++++++++++--- lib/sanitizer_common/sanitizer_common.cc | 2 + lib/sanitizer_common/sanitizer_common.h | 39 ++- .../sanitizer_common_interceptors.inc | 3 + lib/sanitizer_common/sanitizer_common_libcdep.cc | 52 ++++ lib/sanitizer_common/sanitizer_fuchsia.cc | 1 - lib/sanitizer_common/sanitizer_internal_defs.h | 2 + lib/sanitizer_common/sanitizer_linux.h | 13 + lib/sanitizer_common/sanitizer_linux_libcdep.cc | 42 ++- lib/sanitizer_common/sanitizer_mac.cc | 4 +- lib/sanitizer_common/sanitizer_mac.h | 11 + .../sanitizer_platform_interceptors.h | 2 +- lib/sanitizer_common/sanitizer_printf.cc | 2 - lib/sanitizer_common/sanitizer_procmaps.h | 50 +-- lib/sanitizer_common/sanitizer_procmaps_common.cc | 39 ++- lib/sanitizer_common/sanitizer_procmaps_freebsd.cc | 10 +- lib/sanitizer_common/sanitizer_procmaps_linux.cc | 60 ++-- lib/sanitizer_common/sanitizer_procmaps_mac.cc | 103 +++--- lib/sanitizer_common/sanitizer_symbolizer.cc | 4 + lib/sanitizer_common/sanitizer_symbolizer.h | 4 + .../sanitizer_symbolizer_libcdep.cc | 49 ++- lib/sanitizer_common/sanitizer_win.cc | 7 +- .../tests/sanitizer_allocator_test.cc | 277 +++++++++++++++++ lib/scudo/CMakeLists.txt | 4 +- lib/scudo/scudo_allocator.cpp | 103 ++---- lib/scudo/scudo_allocator.h | 16 +- lib/scudo/scudo_platform.h | 58 ++++ lib/scudo/scudo_tls.h | 47 --- lib/scudo/scudo_tls_android.cpp | 95 ------ lib/scudo/scudo_tls_android.inc | 44 --- lib/scudo/scudo_tls_context_android.inc | 54 ---- lib/scudo/scudo_tls_context_linux.inc | 29 -- lib/scudo/scudo_tsd.h | 73 +++++ ...scudo_tls_linux.cpp => scudo_tsd_exclusive.cpp} | 26 +- ...scudo_tls_linux.inc => scudo_tsd_exclusive.inc} | 34 +- lib/scudo/scudo_tsd_shared.cpp | 97 ++++++ lib/scudo/scudo_tsd_shared.inc | 42 +++ lib/tsan/CMakeLists.txt | 3 +- lib/tsan/dd/CMakeLists.txt | 4 +- lib/tsan/rtl/tsan_interceptors.cc | 6 + lib/tsan/rtl/tsan_libdispatch_mac.cc | 8 +- lib/tsan/rtl/tsan_mman.cc | 1 + lib/tsan/tests/CMakeLists.txt | 2 +- lib/ubsan/CMakeLists.txt | 33 +- lib/ubsan/ubsan_diag.cc | 10 +- lib/ubsan/ubsan_diag.h | 8 + lib/ubsan/ubsan_init_standalone.cc | 8 +- lib/ubsan/ubsan_init_standalone_preinit.cc | 13 +- lib/ubsan/ubsan_signals_standalone.cc | 54 ++++ lib/ubsan/ubsan_signals_standalone.h | 25 ++ lib/xray/xray_buffer_queue.cc | 47 ++- lib/xray/xray_buffer_queue.h | 30 +- lib/xray/xray_fdr_log_records.h | 1 + lib/xray/xray_fdr_logging.cc | 27 +- lib/xray/xray_fdr_logging.h | 1 + lib/xray/xray_fdr_logging_impl.h | 272 +++++++++------- lib/xray/xray_inmemory_log.cc | 120 ++++++- lib/xray/xray_trampoline_x86_64.S | 6 +- lib/xray/xray_x86_64.cc | 4 +- test/CMakeLists.txt | 4 +- test/asan/TestCases/Helpers/underflow.cc | 1 + test/asan/TestCases/Linux/preinstalled_signal.cc | 6 + test/asan/TestCases/Linux/recoverable-lsan.cc | 22 ++ test/asan/TestCases/global-underflow.cc | 17 + test/asan/lit.cfg | 54 +--- test/cfi/CMakeLists.txt | 28 +- test/cfi/anon-namespace.cpp | 12 +- test/cfi/bad-cast.cpp | 104 +++---- test/cfi/bad-split.cpp | 2 +- test/cfi/base-derived-destructor.cpp | 36 +-- test/cfi/cross-dso/lit.local.cfg | 2 +- test/cfi/icall/external-call.c | 3 +- test/cfi/lit.cfg | 7 +- test/cfi/lit.site.cfg.in | 2 + test/cfi/multiple-inheritance.cpp | 24 +- test/cfi/nvcall.cpp | 12 +- test/cfi/overwrite.cpp | 12 +- test/cfi/sibling.cpp | 10 +- test/cfi/simple-fail.cpp | 38 +-- test/cfi/simple-pass.cpp | 2 +- test/cfi/stats.cpp | 5 +- test/cfi/target_uninstrumented.cpp | 8 +- test/cfi/two-vcalls.cpp | 2 +- test/cfi/vdtor.cpp | 12 +- test/fuzzer/FlagsTest.cpp | 2 +- test/fuzzer/fprofile-instr-generate.test | 7 + test/fuzzer/fuzzer-flags.test | 8 +- test/lit.common.cfg | 32 +- test/lsan/TestCases/default_options.cc | 11 + test/msan/Linux/mallinfo.cc | 2 +- test/msan/lit.cfg | 3 - test/profile/lit.cfg | 3 + test/safestack/lit.cfg | 5 - .../TestCases/Linux/allow_user_segv.cc | 5 +- test/sanitizer_common/TestCases/Linux/assert.cc | 7 +- .../TestCases/Linux/decorate_proc_maps.cc | 2 +- .../TestCases/Linux/hard_rss_limit_mb_test.cc | 5 +- test/sanitizer_common/TestCases/Linux/ill.cc | 3 +- .../TestCases/Linux/sem_init_glibc.cc | 2 +- .../TestCases/Posix/dedup_token_length_test.cc | 4 +- .../TestCases/Posix/dump_instruction_bytes.cc | 4 +- test/sanitizer_common/TestCases/Posix/fpe.cc | 1 - test/sanitizer_common/TestCases/Posix/getpass.cc | 2 +- .../Posix/sanitizer_set_report_fd_test.cc | 4 +- .../TestCases/sanitizer_coverage_no_prune.cc | 2 +- .../sanitizer_coverage_trace_pc_guard-dso.cc | 2 +- .../TestCases/sanitizer_coverage_trace_pc_guard.cc | 2 +- .../android_commands/android_common.py | 9 +- .../android_commands/android_run.py | 5 +- test/sanitizer_common/lit.common.cfg | 3 - test/scudo/valloc.cpp | 2 +- test/tsan/CMakeLists.txt | 2 +- test/tsan/Darwin/xpc-race.mm | 53 ++-- test/tsan/lit.cfg | 6 +- test/tsan/signal_pause.cc | 35 +++ test/ubsan/CMakeLists.txt | 11 +- test/ubsan/TestCases/Integer/suppressions.cpp | 1 + test/ubsan/TestCases/Misc/coverage-levels.cc | 1 + .../TestCases/TypeCheck/Function/function.cpp | 1 + .../TestCases/TypeCheck/Function/lit.local.cfg | 2 +- test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp | 2 +- .../TypeCheck/vptr-non-unique-typeinfo.cpp | 4 +- test/ubsan/TestCases/TypeCheck/vptr.cpp | 2 + test/ubsan/lit.common.cfg | 19 +- test/ubsan_minimal/lit.common.cfg | 2 +- test/xray/TestCases/Linux/arg1-logger.cc | 6 +- test/xray/TestCases/Linux/fdr-mode.cc | 13 +- test/xray/TestCases/Linux/fdr-single-thread.cc | 37 +++ test/xray/TestCases/Linux/fdr-thread-order.cc | 48 ++- test/xray/lit.cfg | 5 - 209 files changed, 2637 insertions(+), 1309 deletions(-) copy lib/sanitizer_common/{sanitizer_persistent_allocator.cc => sanitizer_allocato [...] create mode 100644 lib/scudo/scudo_platform.h delete mode 100644 lib/scudo/scudo_tls.h delete mode 100644 lib/scudo/scudo_tls_android.cpp delete mode 100644 lib/scudo/scudo_tls_android.inc delete mode 100644 lib/scudo/scudo_tls_context_android.inc delete mode 100644 lib/scudo/scudo_tls_context_linux.inc create mode 100644 lib/scudo/scudo_tsd.h rename lib/scudo/{scudo_tls_linux.cpp => scudo_tsd_exclusive.cpp} (79%) rename lib/scudo/{scudo_tls_linux.inc => scudo_tsd_exclusive.inc} (53%) create mode 100644 lib/scudo/scudo_tsd_shared.cpp create mode 100644 lib/scudo/scudo_tsd_shared.inc create mode 100644 lib/ubsan/ubsan_signals_standalone.cc create mode 100644 lib/ubsan/ubsan_signals_standalone.h create mode 100644 test/asan/TestCases/Helpers/underflow.cc create mode 100644 test/asan/TestCases/Linux/recoverable-lsan.cc create mode 100644 test/asan/TestCases/global-underflow.cc create mode 100644 test/fuzzer/fprofile-instr-generate.test create mode 100644 test/lsan/TestCases/default_options.cc create mode 100644 test/tsan/signal_pause.cc create mode 100644 test/xray/TestCases/Linux/fdr-single-thread.cc