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 9fe132dca Updating branches/google/stable to r312634 adds 35e74d5f6 [scudo] getauxval alternative for Android adds 89c935629 [asan] Add a note to shadow memory setup error. adds 9c4184904 [cmake] Work around more -Wunused-driver-argument warnings adds e914d8b10 [libFuzzer] simplify and re-enable CustomCrossOverTest adds 43832ee47 [libFuzzer] simplify CustomCrossOverTest a bit more adds 3057bb94d [libFuzzer] simplify CustomCrossOverTest even more adds 94345c67b Prevent DCE on __lsan_is_turned_off and re-enable test case adds c6ca7345f Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case" adds f7a6956f0 [libFuzzer] remove a couple of reduntant includes adds 49cac23f3 [asan] Use more generic string in error message adds c5cad77b9 [compiler-rt] Move allow_user_segv.cc into sanitizer_common adds 689b841c1 [ubsan] Enable UBsan in sanitizer_common tests adds 8726d8366 [asan] Fix tests broken by r312858 adds 4224e9ead [ubsan] Save binary name before parsing options adds 2f11426d3 [asan] Include asan-dynamic into check-all adds 234cf084c [scudo] Fix improper TSD init after TLS destructors are called adds 2b6ced66b [compiler-rt] Cleanup decorators adds bc89e23c3 [compiler-rt] Move IsStackOverflow from asan into sanitizer_common adds 0be5c228f Revert "[ubsan] Save binary name before parsing options" adds 7aef37045 [ubsan] Save binary name before parsing options adds 81aed931b [ubsan] Make ubsan version of __sanitizer_print_stack_trace c [...] adds d65db8479 [ubsan-minimal] Enable on Darwin adds 2b4678996 Runtime detection of android_set_abort_message. adds 21edaff6f [ubsan-minimal] Disable x86_64h tests when not on x86_64h adds 6e990c4bc Revert "[compiler-rt] Move IsStackOverflow from asan into san [...] adds 5b686ccf0 [compiler-rt] Move IsStackOverflow from asan into sanitizer_common adds a16d671c8 [XRay][compiler-rt] Use a single global volatile recursion gu [...] adds 79d3d0a1e [libfuzzer] Compare TotalNumberOfRuns with MaxNumberOfRuns wh [...] adds 3fc19e291 [libFuzzer] Fix lit files to make running tests more straight [...] adds 9765720e3 [ubsan-minimal] Fix the x86_64h config check adds 45735bcdc [tsan] Disable user_malloc test which fails glibc 2.24 adds fd50a2ebe [libFuzzer] factor out some code into GetSizedFilesFromDir; NFC adds f98401fb5 Determine up front which projects are enabled. adds 284242005 [ubsan] Enable -fsanitize=function test on Darwin adds cad7a086b [compiler-rt] Move IsStackOverflow into sanitizer_posix_libcd [...] adds 995eff563 [Fuchsia] Magenta -> Zircon adds 79b583e7f [compiler-rt] Move *Sanitizer:DEADLYSIGNAL printing into common part adds a2354569b [compiler-rt] Move dump_instruction_bytes and dump_registers [...] adds d113a775f Fix line breaks. adds 0a5592717 [compiler-rt] Add test for not fully implemented dump_registers adds 5c8c2c47d [compiler-rt] Compile signal specific functions only for !SAN [...] adds 2eaff6eec [compiler-rt] Add siginfo into SignalContext adds a8682fdf7 [compiler-rt] Use SignalContext in ErrorStackOverflow and Err [...] adds 1fb9a540c [asan] Fix Windows build adds 9b8d2f223 [ubsan-minimal] Temporarily disable x86_64h testing on Darwin adds 90837bb59 Revert "Determine up front which projects are enabled." adds 2984766b0 [ubsan-minimal] Filter targets to test by host arch on Darwin adds a2a96a61a [compiler-rt] Cleanup SignalContext initialization adds 8b1cb01a8 [compiler-rt] Fix Windows build adds 2586e28f7 [asan] Add const into ScarinessScoreBase::Print adds 308321151 [sanitizer] Add BufferedStackTrace::Reset() adds f08436351 [sanitizer] Move IsStackOverflow into SignalContext adds 51d0db2cf [lsan] Extract GetStackTraceWithPcBpAndContext similar to asa [...] adds 86427f15a [sanitizer] Add empty Fuchsia and Win versions of StartReport [...] adds 6f6220991 [sanitizer] Mark allow_user_segv as XFAIL instead of UNSUPPORTED adds a403018d6 [mips] Fix sem_init_glibc test for MIPS. adds f796a78bc [lit] Force site configs to be run before source-tree configs adds ee5ce553a [asan] Disable two dynamic tests on armhf adds aa753d2df Revert "[mips] Fix sem_init_glibc test for MIPS." adds 9ff24034f [scudo] Fix bad request handling when allocator has not been [...] adds 66d44ca69 [ASAN] Add macro denoting availability of new `__asan_handle_ [...] adds bb16fc935 [ASAN] Revert r313303 - Add macro denoting availability of ne [...] adds e3c17f186 [asan] Remove ErrorStackOverflow adds 476bb23ca [sanitizer] Move stack overflow and signal reporting from Asa [...] adds 973030f71 [lsan] Disable clang-format on few RUN: statements adds e765db3a1 Revert "[lit] Force site configs to run before source-tree configs" adds a1a53ed7b [sanitizer] Use __sanitizer:: in CHECK_IMPL on both sides of [...] adds 58f0da745 [sanitizer] Simplify checks in allow_user_segv.cc adds 2187d5ac0 tsan: respect LDFLAGS when build Go test adds 3ed5043d1 [ubsan] Extract GetStackTraceWithPcBpAndContext similar to as [...] adds dc6a7dbdb [sanitizer][mips64] fix MIPS64 kernel_stat_to_stat() adds 1a95a19d0 ubsan: Stop building the DLL version of the runtime library o [...] adds 958f7a8d5 cfi: Enable ThinLTO tests on Windows. adds 76cdb7459 ubsan: Unbreak ubsan_cxx runtime library on Windows. adds f621dd83d [libFuzzer] reduce the size of the merge control file by not [...] adds 4c3260342 [libFuzzer] minor refactoring, NFC adds bf4ab7a4a Resubmit "[lit] Force site configs to run before source-tree [...] adds e0a2ec37f [libFuzzer] test fix adds 2fd9c24c1 [libFuzzer] add linux-specific test for gc-sections adds 1d17d2ba0 Try to fix check-asan. adds 763214631 [ubsan] Update ubsan_interface.inc adds 9ad3f7468 [asan] Enable asan_and_llvm_coverage_test.cc on Android adds b1a3dbe82 Revert "[ubsan] Update ubsan_interface.inc" adds 04f544bb4 [asan] Remove not-android adds 3c6b80464 [builtins] Remove one more missed not-android adds 2e99c092c [sanitizer] Move android_commoands from asan into sanitizer_common adds d27254a74 [sanitizer] Support check-asan on Android adds 384eeea2d [sanitizer] Disable sanitizer test which already fails on And [...] adds 6ec8636dc [sanitizer] Move signal interceptors from asan to sanitizer_common adds e7f4e4a34 [sanitizer] Fix check for i386 Android in lit tests adds 4c69a6571 [compiler-rt] Fix build break after r313277 on s390x adds 502737ef9 Mark various failing tests with "UNSUPPORTED: ios". adds 655b76e99 [sanitizer] Use SI_ instead of SANITIZER_ in sanitizer_platfo [...] adds 7c29ef848 [XRay][compiler-rt] Handle tail-call exits in the XRay runtime adds fabb9da57 [asan] Remove ScopedDeadlySignal adds 0af795304 [sanitizer] Move StartReportDeadlySignal into sanitizer_commo [...] adds 7d99e86de [ubsan] Add RTUbsan_standalone into UBSAN standalone shared adds 5de033a80 Revert "[ubsan] Add RTUbsan_standalone into UBSAN standalone shared" adds f951abe99 [scudo] Android build support adds 6a0bc1fdc [cmake] Make it possible to build and test profile without sa [...] adds 3a6c8910a [ubsan] Fix interface_symbols_windows test adds eca49ebb0 [scudo] Additional modifications for Android tests support adds 474ec9e95 [ubsan] Fix conflict with previous declaration on Mac adds 7055da967 [ubsan] Split ubsan_init_standalone adds 084609f43 [ubsan] Add file missing from r313583 adds 9be9a94b0 Revert "[ubsan] Split ubsan_init_standalone" adds 3b5c45da8 [profile] Update InstrProfData.inc adds 7bd22ca12 [profile] Update Linux-only tests after r313597 adds c85c0b5fe [ubsan-minimal] Make the interface more compatible with RTUBSan adds f9dd70c49 [ubsan-minimal] Test exported symbol set against RTUBsan adds daa58c8bf [sanitizer] Don't define common ReportDeadlySignal on Fuchsia adds 4035097ab [mips][compiler-rt] UnXFAIL test. adds af5d32eeb Ensure that armhf builtins library is created when using an hf abi adds 0feb616cb Set ANDROID when any android abi is used, not just androideabi adds 387a685d2 [asan] Resolve FIXME by converting gtest into lit test adds e07838d51 [asan] Try to fix windows test by fflush(stderr) adds eb117e449 [asan] Fix nested error detection adds a70d41b8c [asan] Remove "rm -f" in tests where it was needed only becau [...] adds 368e57c46 [asan] Remove "COLLISION" workaround for datarace in asan adds e9e2379f3 [asan] Remove trailing spaces adds 28ad3fe83 [ubsan] Split ubsan_init_standalone adds 1fc69acfb [XRay][compiler-rt] Remove non-trivial globals from xray_log_ [...] new 679fdd604 Updating branches/google/stable to r313876
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 | 37 +++- cmake/Modules/AddCompilerRT.cmake | 9 +- cmake/config-ix.cmake | 4 +- include/sanitizer/lsan_interface.h | 2 + include/xray/xray_records.h | 5 +- lib/CMakeLists.txt | 2 + lib/asan/asan_descriptions.cc | 18 +- lib/asan/asan_descriptions.h | 6 - lib/asan/asan_errors.cc | 113 +++-------- lib/asan/asan_errors.h | 66 ++----- lib/asan/asan_flags.inc | 5 - lib/asan/asan_fuchsia.cc | 14 +- lib/asan/asan_interceptors.cc | 48 +---- lib/asan/asan_interceptors.h | 6 - lib/asan/asan_posix.cc | 55 +----- lib/asan/asan_report.cc | 102 ++++------ lib/asan/asan_report.h | 3 +- lib/asan/asan_scariness_score.h | 2 +- lib/asan/asan_shadow_setup.cc | 10 + lib/asan/asan_stack.h | 6 - lib/asan/asan_thread.h | 19 -- lib/asan/asan_win.cc | 4 +- lib/asan/tests/asan_interface_test.cc | 17 -- lib/fuzzer/FuzzerDriver.cpp | 6 +- lib/fuzzer/FuzzerIO.cpp | 9 + lib/fuzzer/FuzzerIO.h | 8 + lib/fuzzer/FuzzerLoop.cpp | 35 ++-- lib/fuzzer/FuzzerMerge.cpp | 29 +-- lib/fuzzer/FuzzerTracePC.h | 2 +- lib/fuzzer/FuzzerUtilPosix.cpp | 1 - lib/fuzzer/FuzzerUtilWindows.cpp | 1 - lib/interception/interception.h | 2 +- lib/lsan/lsan.h | 40 ++-- lib/lsan/lsan_common.cc | 5 +- lib/msan/msan_report.cc | 23 ++- lib/profile/InstrProfData.inc | 2 +- lib/sanitizer_common/sanitizer_common.h | 61 ++++-- lib/sanitizer_common/sanitizer_common_libcdep.cc | 111 +++++++++++ lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 38 ++-- lib/sanitizer_common/sanitizer_flags.inc | 5 + lib/sanitizer_common/sanitizer_fuchsia.cc | 209 +++++++++++---------- lib/sanitizer_common/sanitizer_fuchsia.h | 2 +- lib/sanitizer_common/sanitizer_internal_defs.h | 4 +- lib/sanitizer_common/sanitizer_linux.cc | 41 +++- lib/sanitizer_common/sanitizer_linux_libcdep.cc | 8 +- lib/sanitizer_common/sanitizer_mac.cc | 6 +- .../sanitizer_platform_interceptors.h | 2 + lib/sanitizer_common/sanitizer_posix.cc | 24 ++- lib/sanitizer_common/sanitizer_posix_libcdep.cc | 48 ++++- lib/sanitizer_common/sanitizer_report_decorator.h | 5 +- .../sanitizer_signal_interceptors.inc | 67 +++++++ lib/sanitizer_common/sanitizer_stacktrace.h | 9 +- .../sanitizer_stoptheworld_linux_libcdep.cc | 2 +- .../sanitizer_symbolizer_fuchsia.cc | 10 +- lib/sanitizer_common/sanitizer_win.cc | 116 ++++++++---- lib/scudo/scudo_allocator.cpp | 21 ++- lib/scudo/scudo_tls.h | 2 +- lib/scudo/scudo_tls_android.cpp | 2 +- lib/scudo/scudo_tls_android.inc | 4 +- lib/scudo/scudo_tls_linux.cpp | 4 +- lib/scudo/scudo_tls_linux.inc | 6 +- lib/scudo/scudo_utils.cpp | 56 ++++-- lib/tsan/go/buildgo.sh | 2 +- lib/tsan/rtl/tsan_report.cc | 29 ++- lib/ubsan/CMakeLists.txt | 48 ++--- lib/ubsan/ubsan_diag.cc | 28 +-- lib/ubsan/ubsan_diag.h | 4 + lib/ubsan/ubsan_diag_standalone.cc | 5 +- lib/ubsan/ubsan_handlers.cc | 28 ++- lib/ubsan/ubsan_handlers.h | 7 + lib/ubsan/ubsan_handlers_cxx.cc | 4 +- lib/ubsan/ubsan_init.cc | 38 +--- lib/ubsan/ubsan_init_standalone.cc | 7 - ...ndalone.cc => ubsan_init_standalone_preinit.cc} | 21 +-- lib/ubsan/ubsan_interface.inc | 3 + lib/ubsan_minimal/CMakeLists.txt | 5 +- lib/ubsan_minimal/ubsan_minimal_handlers.cc | 23 ++- lib/xray/xray_fdr_logging.cc | 7 +- lib/xray/xray_fdr_logging_impl.h | 4 +- lib/xray/xray_inmemory_log.cc | 11 +- lib/xray/xray_log_interface.cc | 12 +- lib/xray/xray_trampoline_x86_64.S | 6 +- test/CMakeLists.txt | 11 +- test/asan/CMakeLists.txt | 13 +- test/asan/TestCases/Darwin/abort_on_error.cc | 2 + ...ymbols_darwin.c => interface_symbols_darwin.cc} | 3 +- .../Darwin/reexec-insert-libraries-env.cc | 2 + .../Darwin/unset-insert-libraries-on-exec.cc | 2 + test/asan/TestCases/Linux/abort_on_error.cc | 1 + test/asan/TestCases/Linux/asan_preload_test-1.cc | 2 +- test/asan/TestCases/Linux/asan_preload_test-2.cc | 2 +- test/asan/TestCases/Linux/calloc-preload.c | 2 +- ..._symbols_linux.c => interface_symbols_linux.cc} | 3 +- test/asan/TestCases/Linux/preinstalled_signal.cc | 8 +- .../TestCases/Posix/asan-symbolize-sanity-test.cc | 2 + test/asan/TestCases/Posix/concurrent_overflow.cc | 33 ++++ test/asan/TestCases/Posix/deep_call_stack.cc | 3 + test/asan/TestCases/Posix/halt_on_error-signals.c | 5 +- test/asan/TestCases/Posix/halt_on_error-torture.cc | 26 +-- .../Posix/halt_on_error_suppress_equal_pcs.cc | 5 +- test/asan/TestCases/Posix/handle_abort_on_error.cc | 2 + test/asan/TestCases/Posix/new_array_cookie_test.cc | 3 + .../TestCases/Posix/new_array_cookie_uaf_test.cc | 3 + .../Posix/new_array_cookie_with_new_from_class.cc | 3 + test/asan/TestCases/Posix/stack-overflow.cc | 2 + .../asan/TestCases/Posix/stack-use-after-return.cc | 3 + ...bols_windows.c => interface_symbols_windows.cc} | 1 + test/asan/TestCases/asan_and_llvm_coverage_test.cc | 2 +- test/asan/TestCases/error_report_callback.cc | 21 +++ test/asan/TestCases/global-address.cpp | 4 +- test/asan/TestCases/heavy_uar_test.cc | 5 + test/asan/TestCases/pass-struct-byval-uar.cc | 2 +- test/asan/lit.cfg | 15 +- test/asan/lit.site.cfg.in | 2 - test/builtins/Unit/lit.cfg | 1 - test/cfi/CMakeLists.txt | 2 +- test/cfi/target_uninstrumented.cpp | 1 + test/fuzzer/CustomCrossOverTest.cpp | 45 ++--- test/fuzzer/{LeakTest.cpp => GcSectionsTest.cpp} | 9 +- test/fuzzer/fuzzer-customcrossover.test | 21 +-- test/fuzzer/fuzzer-flags.test | 2 +- test/fuzzer/gc-sections.test | 13 ++ test/fuzzer/lit.cfg | 3 +- test/fuzzer/lit.site.cfg.in | 2 +- test/fuzzer/max-number-of-runs.test | 10 + test/lit.common.cfg | 23 ++- test/lit.common.configured.in | 1 + test/lsan/TestCases/link_turned_off.cc | 2 +- test/profile/Inputs/extern_template.h | 2 +- test/profile/Linux/coverage_test.cpp | 2 +- test/profile/lit.cfg | 11 -- test/sanitizer_common/CMakeLists.txt | 10 +- .../TestCases/Linux/abort_on_error.cc | 3 + .../TestCases/Linux}/allow_user_segv.cc | 38 ++-- test/sanitizer_common/TestCases/Linux/assert.cc | 5 + .../TestCases/Linux/decorate_proc_maps.cc | 6 +- test/sanitizer_common/TestCases/Linux/deepbind.cc | 2 +- .../TestCases/Linux/getpwnam_r_invalid_user.cc | 2 - .../TestCases/Linux/hard_rss_limit_mb_test.cc | 1 + test/sanitizer_common/TestCases/Linux/iconv_test.c | 3 + test/sanitizer_common/TestCases/Linux/ill.cc | 5 + .../sanitizer_common/TestCases/Linux/mlock_test.cc | 2 +- test/sanitizer_common/TestCases/Linux/mprobe.cc | 2 +- test/sanitizer_common/TestCases/Linux/ptrace.cc | 2 + .../TestCases/Linux/sem_init_glibc.cc | 2 +- .../TestCases/Linux/soft_rss_limit_mb_test.cc | 1 + .../Linux/sysconf_interceptor_bypass_test.cc | 2 + .../Linux/unexpected_format_specifier_test.cc | 1 + .../TestCases/Posix/dedup_token_length_test.cc | 1 + .../TestCases/Posix/dump_instruction_bytes.cc | 12 +- .../TestCases/Posix/dump_registers.cc | 20 ++ test/sanitizer_common/TestCases/Posix/fpe.cc | 1 + test/sanitizer_common/TestCases/Posix/getpass.cc | 3 + .../Posix/sanitizer_set_death_callback_test.cc | 1 + .../Posix/sanitizer_set_report_fd_test.cc | 2 + .../TestCases/Posix/weak_hook_test.cc | 1 + test/sanitizer_common/TestCases/corelimit.cc | 2 +- .../TestCases/get_module_and_offset_for_pc.cc | 4 +- test/sanitizer_common/TestCases/malloc_hook.cc | 1 + test/sanitizer_common/TestCases/options-include.cc | 2 + .../TestCases/print-stack-trace.cc | 6 +- .../TestCases/sanitizer_coverage_no_prune.cc | 7 +- .../sanitizer_coverage_trace_pc_guard-dso.cc | 10 +- .../TestCases/sanitizer_coverage_trace_pc_guard.cc | 15 +- .../android_commands/android_common.py | 0 .../android_commands/android_compile.py | 0 .../android_commands/android_run.py | 2 +- test/sanitizer_common/lit.common.cfg | 11 +- test/scudo/CMakeLists.txt | 10 +- test/scudo/lit.cfg | 23 ++- test/scudo/memalign.cpp | 5 +- test/scudo/mismatch.cpp | 16 +- test/scudo/options.cpp | 6 +- test/scudo/overflow.cpp | 4 +- test/scudo/preinit.cpp | 4 + test/scudo/quarantine.cpp | 12 +- test/scudo/random_shuffle.cpp | 1 + test/scudo/sized-delete.cpp | 12 +- test/scudo/sizes.cpp | 18 +- test/scudo/threads.cpp | 4 +- test/scudo/tsd_destruction.cpp | 42 +++++ test/scudo/valloc.cpp | 6 +- test/tsan/Linux/user_malloc.cc | 7 + .../TestCases/TypeCheck/Function/function.cpp | 9 +- test/ubsan/TestCases/TypeCheck/PR33221.cpp | 1 + .../TypeCheck/vptr-non-unique-typeinfo.cpp | 1 + .../TypeCheck/vptr-virtual-base-construction.cpp | 1 + .../TestCases/TypeCheck/vptr-virtual-base.cpp | 1 + test/ubsan/TestCases/TypeCheck/vptr.cpp | 1 + test/ubsan_minimal/CMakeLists.txt | 3 + test/ubsan_minimal/TestCases/recover-dedup.cpp | 16 +- .../TestCases/test-darwin-interface.c | 16 ++ test/ubsan_minimal/lit.common.cfg | 6 +- test/xray/TestCases/Linux/fdr-mode.cc | 14 +- test/xray/TestCases/Linux/fdr-thread-order.cc | 4 +- unittests/lit.common.unit.cfg | 2 +- 196 files changed, 1557 insertions(+), 1090 deletions(-) create mode 100644 lib/sanitizer_common/sanitizer_signal_interceptors.inc copy lib/ubsan/{ubsan_init_standalone.cc => ubsan_init_standalone_preinit.cc} (52%) rename test/asan/TestCases/Darwin/{interface_symbols_darwin.c => interface_symbols [...] rename test/asan/TestCases/Linux/{interface_symbols_linux.c => interface_symbols_l [...] create mode 100644 test/asan/TestCases/Posix/concurrent_overflow.cc rename test/asan/TestCases/Windows/{interface_symbols_windows.c => interface_symbo [...] create mode 100644 test/asan/TestCases/error_report_callback.cc copy test/fuzzer/{LeakTest.cpp => GcSectionsTest.cpp} (62%) create mode 100644 test/fuzzer/gc-sections.test create mode 100644 test/fuzzer/max-number-of-runs.test rename test/{asan/TestCases/Posix => sanitizer_common/TestCases/Linux}/allow_user_ [...] rename test/{asan => sanitizer_common}/TestCases/Posix/dump_instruction_bytes.cc (67%) create mode 100644 test/sanitizer_common/TestCases/Posix/dump_registers.cc rename test/{asan => sanitizer_common}/android_commands/android_common.py (100%) rename test/{asan => sanitizer_common}/android_commands/android_compile.py (100%) rename test/{asan => sanitizer_common}/android_commands/android_run.py (94%) create mode 100644 test/scudo/tsd_destruction.cpp create mode 100644 test/ubsan_minimal/TestCases/test-darwin-interface.c