This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/testing in repository compiler-rt.
from ed25c72 Updating branches/google/testing to r273260 adds 7342946 trimming whitespaces adds a6c33c4 [compiler-rt] Split cflags and link flags to avoid warnings adds fd3dcb8 [asan] Fix shifting compiler warnings when compiler in 64-bits adds 489644a Change the shadow memory address for win64. adds bc51862 Fix asan_win_dll_thunk.cc test adds af56780 [CMake] NFC. An unset variable evaluates to false, so this el [...] adds 19c4576 [asan] Add a test case for global registration adds 57f74a9 [asan] Relax a flaky invalid-pointer-pairs test adds 1b1a911 [asan] Fix global-registration.c on Linux adds 4c71a47 builtins: tag with noexecstack adds 84e4423 [CMake] Converting darwin_test_archs simple source to C adds 1f08b20 Use CreateFileA and add a FIXME to switch to the wide variant adds 9130cad [asan] Add failure logging to global-registration.c test case adds e0d0c11 Change shared library load path to appease Android bot adds 2114513 fix a test bug when executed remotedly adds 0346427 [msan] Fix syscall handlers for pipe, pipe2, socketpair. adds 55482b2 cfi: Apply pass rename to tests. adds 4fce1d7 [asan] Improve global-registration.c test adds a6d57df [sanitizer] Add syscall handlers for sigaction and rt_sigaction. adds 0bd51bb [msan] Intercept eventfd_read, eventfd_write. adds 8ec81ae cfi: Start testing CFI in both standalone and devirtualizatio [...] adds f61c4d6 [tsan] Intercept libcxx __release_shared to avoid false posit [...] adds 1cf5ae0 Move -ldl to the correct compiler invocation adds 28f8c79 tsan: don't create sync objects on acquire adds 7d98ad9 [sanitizer] Stop unwinding the stack when a close-to-zero PC [...] adds fa9b324 [asan] fix false dynamic-stack-buffer-overflow report with co [...] adds cb4b1c1 [tsan] Treat non-barrier OSAtomic* functions as barriers to a [...] adds d648ecb [tsan] Add HB edges for GCD barrier blocks adds c95a1ea Parse the triple in base-config-ix to propagate ANDROID varia [...] adds 5619f19 Revert "Parse the triple in base-config-ix to propagate ANDRO [...] adds bbe3db0 [CMake] Check for androidabi in CMakeLists.txt not base-confi [...] adds 9c6389d Adding a comment to explain r273886 ("Stop unwinding the stac [...] adds 1fa87e3 Adapt the "objc-race.mm" test to use ignore_interceptors_acce [...] adds ce10b55 [CMake] In r273957, I deleted a line that shouldn't have been [...] adds e1c2e60 [msan] Fix handling of padding in sendmsg control data. adds f7e391c [tsan] Stop extending the block’s lifetime in dispatch_group_async adds c9bc2ab [compiler-rt] Fix passing debug information to unittest. adds 277ecbf [compiler-rt] Fix the Asan unittest on Windows adds 5981c62 [compiler-rt] Fix Sanitizer-common Unittests on win64 adds fb014e7 [compiler-rt] Fix broken unittest using alloca on MSVC. adds 95781ef [compiler-rt] Reset global variables in ThreadRegistryThreadedTest adds add5967 [compiler-rt] Fix broken (flaky) unittests based on FlagParser. adds 25f7b99 [compiler-rt] Fix TLS resource leaking in unittest adds 24e2814 [compiler-rt] Re-active unittest previously broken on windows. adds 141531e [tsan] Relax the "ignored-interceptors.mm" testcase. The tes [...] adds 5540777 tab to whitespaces adds 5e3cd28 [compiler-rt] Fix cmake to propagate debug info to runtime unittests adds 0ef859b [esan|cfrag] Add struct array access report adds 81dbf02 [tsan] dispatch_once interceptor will cause a crash/deadlock [...] adds eb3bc5d [tsan] Synchronize leaving a GCD group with notifications adds e4df56b [asan] Update tests according to r274578 adds d3a51eb Attempt to reduce flakiness in workingset-samples.cpp adds 22ffca5 [tsan] Fix false positives with GCD dispatch_source_* adds 91787ac [asan Win64] Implement atomic_compare_exchange_strong for 8 bit adds 85a88e6 [compilter-rt] Add unittests for interception library adds 2e7ce13 [sanitizer] Handle null in internal_sigaction_syscall adds 36c88f5 [compiler-rt] Disable interception tests on Apple adds f9c7797 [esan|wset] Further reduce flakiness of sampling test adds ccf627e Fix cmake generation on Apple for interception unittests adds 3df3942 [esan|wset] Ensure SIGSEGV is not blocked adds 4f47f51 [esan|cfrag] Handle binaries built with -esan-aux-field-info=false adds e6b095b [tsan] Avoid false positives with GCD data callbacks adds 2b4c950 [compiler-rt] Fix AllocatorCacheDeallocNewThread unittest adds 19dd369 [compiler-rt] Fix sanitizer memory allocator on win64. adds de52fc0 [compiler-rt] Enhance unittest coverage for lib interception adds 4f7667c [compiler-rt] Fix minimal stack reserved for unittest on MSVC build adds df2829e Add runtime support for __cpu_model (__builtin_cpu_supports) adds db6d35e clang-format it adds 088ae11 Add default initialization. Add unit test. adds 81ba9da Check cpuid supported for i386. adds 985d2ff Added comments identifing code source adds f47f3dd Revert r274865-r274870 adds ecd733e Add runtime support for __cpu_model (__builtin_cpu_supports) adds 87110b4 Revert "Add runtime support for __cpu_model (__builtin_cpu_su [...] adds bcdfb40 [esan] Add __esan_report for mid-run data adds a0619b8 test: Use %clangxx in objc++ test files adds cfbeec2 whitespaces + re-indent adds c03c841 [tsan] Add support for GCD IO channels on Darwin adds 1567598 [compiler-rt] Refactor the interception code on windows. adds 9fcd497 [asan] Add exception handler to map memory on demand on Win64 [...] adds a088b36 [compiler-rt] Fix VisualStudio virtual folders layout adds 90306c1 remove empty lines adds 51a6b97 [compiler-rt] Refactor the interception code on windows. adds 3e3f7da missing modifications for http://reviews.llvm.org/D21952 adds fb8ec51 fix incorrect constant (from http://reviews.llvm.org/D22111) adds adfc702 [compiler-rt] Enhance function padding detection for function [...] adds e9dbae9 [compiler-rt] Disable a test failing on windows. adds 05cef40 Disable the "gcd-io-race.mm" test to investigate bot hangs du [...] adds cb44d52 [asan] Fix interception unittest on Windows64. adds 14f04db [sanitizers] Allocate 12MB for stack instead of 134MB adds e423310 [RT-ARM] Syntax unified for aeabi_mem* functions adds 0528f1e Upgrade all the .arcconfigs to https. adds 6aa450c Replace -mllvm -asan-use-after-scope=1 with -fsanitize-addres [...] new 3c87980 Updating branches/google/testing to r275480
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: .arcconfig | 2 +- CMakeLists.txt | 5 +- cmake/Modules/AddCompilerRT.cmake | 61 +- cmake/Modules/CompilerRTDarwinUtils.cmake | 6 +- cmake/Modules/CompilerRTUtils.cmake | 1 + cmake/base-config-ix.cmake | 15 +- include/CMakeLists.txt | 2 + include/sanitizer/esan_interface.h | 46 ++ include/sanitizer/linux_syscall_hooks.h | 23 +- lib/asan/CMakeLists.txt | 80 +- lib/asan/asan_fake_stack.cc | 4 +- lib/asan/asan_fake_stack.h | 15 +- lib/asan/asan_interceptors.cc | 6 +- lib/asan/asan_internal.h | 4 +- lib/asan/asan_linux.cc | 1 + lib/asan/asan_mac.cc | 1 + lib/asan/asan_mapping.h | 3 + lib/asan/asan_poisoning.cc | 2 +- lib/asan/asan_rtl.cc | 2 + lib/asan/asan_win.cc | 50 ++ lib/asan/asan_win_dll_thunk.cc | 2 + lib/asan/tests/CMakeLists.txt | 19 +- lib/asan/tests/asan_test.cc | 2 + lib/builtins/CMakeLists.txt | 1 + lib/builtins/arm/adddf3vfp.S | 3 + lib/builtins/arm/addsf3vfp.S | 3 + lib/builtins/arm/aeabi_cdcmp.S | 2 + lib/builtins/arm/aeabi_cfcmp.S | 2 + lib/builtins/arm/aeabi_dcmp.S | 3 + lib/builtins/arm/aeabi_fcmp.S | 3 + lib/builtins/arm/aeabi_idivmod.S | 3 + lib/builtins/arm/aeabi_ldivmod.S | 3 + lib/builtins/arm/aeabi_memcmp.S | 4 + lib/builtins/arm/aeabi_memcpy.S | 4 + lib/builtins/arm/aeabi_memmove.S | 3 + lib/builtins/arm/aeabi_memset.S | 3 + lib/builtins/arm/aeabi_uidivmod.S | 3 + lib/builtins/arm/aeabi_uldivmod.S | 3 + lib/builtins/arm/bswapdi2.S | 3 + lib/builtins/arm/bswapsi2.S | 3 + lib/builtins/arm/clzdi2.S | 3 + lib/builtins/arm/clzsi2.S | 3 + lib/builtins/arm/comparesf2.S | 3 + lib/builtins/arm/divdf3vfp.S | 3 + lib/builtins/arm/divmodsi4.S | 3 + lib/builtins/arm/divsf3vfp.S | 3 + lib/builtins/arm/divsi3.S | 3 + lib/builtins/arm/eqdf2vfp.S | 3 + lib/builtins/arm/eqsf2vfp.S | 3 + lib/builtins/arm/extendsfdf2vfp.S | 3 + lib/builtins/arm/fixdfsivfp.S | 3 + lib/builtins/arm/fixsfsivfp.S | 3 + lib/builtins/arm/fixunsdfsivfp.S | 3 + lib/builtins/arm/fixunssfsivfp.S | 3 + lib/builtins/arm/floatsidfvfp.S | 3 + lib/builtins/arm/floatsisfvfp.S | 3 + lib/builtins/arm/floatunssidfvfp.S | 3 + lib/builtins/arm/floatunssisfvfp.S | 3 + lib/builtins/arm/gedf2vfp.S | 3 + lib/builtins/arm/gesf2vfp.S | 3 + lib/builtins/arm/gtdf2vfp.S | 3 + lib/builtins/arm/gtsf2vfp.S | 3 + lib/builtins/arm/ledf2vfp.S | 3 + lib/builtins/arm/lesf2vfp.S | 3 + lib/builtins/arm/ltdf2vfp.S | 3 + lib/builtins/arm/ltsf2vfp.S | 3 + lib/builtins/arm/modsi3.S | 3 + lib/builtins/arm/muldf3vfp.S | 3 + lib/builtins/arm/mulsf3vfp.S | 3 + lib/builtins/arm/nedf2vfp.S | 3 + lib/builtins/arm/negdf2vfp.S | 3 + lib/builtins/arm/negsf2vfp.S | 3 + lib/builtins/arm/nesf2vfp.S | 3 + lib/builtins/arm/restore_vfp_d8_d15_regs.S | 2 + lib/builtins/arm/save_vfp_d8_d15_regs.S | 2 + lib/builtins/arm/subdf3vfp.S | 3 + lib/builtins/arm/subsf3vfp.S | 3 + lib/builtins/arm/switch16.S | 2 + lib/builtins/arm/switch32.S | 2 + lib/builtins/arm/switch8.S | 2 + lib/builtins/arm/switchu8.S | 2 + lib/builtins/arm/sync_fetch_and_add_4.S | 2 + lib/builtins/arm/sync_fetch_and_add_8.S | 2 + lib/builtins/arm/sync_fetch_and_and_4.S | 3 + lib/builtins/arm/sync_fetch_and_and_8.S | 3 + lib/builtins/arm/sync_fetch_and_max_4.S | 2 + lib/builtins/arm/sync_fetch_and_max_8.S | 3 + lib/builtins/arm/sync_fetch_and_min_4.S | 2 + lib/builtins/arm/sync_fetch_and_min_8.S | 3 + lib/builtins/arm/sync_fetch_and_nand_4.S | 2 + lib/builtins/arm/sync_fetch_and_nand_8.S | 2 + lib/builtins/arm/sync_fetch_and_or_4.S | 2 + lib/builtins/arm/sync_fetch_and_or_8.S | 2 + lib/builtins/arm/sync_fetch_and_sub_4.S | 2 + lib/builtins/arm/sync_fetch_and_sub_8.S | 2 + lib/builtins/arm/sync_fetch_and_umax_4.S | 2 + lib/builtins/arm/sync_fetch_and_umax_8.S | 3 + lib/builtins/arm/sync_fetch_and_umin_4.S | 2 + lib/builtins/arm/sync_fetch_and_umin_8.S | 3 + lib/builtins/arm/sync_fetch_and_xor_4.S | 2 + lib/builtins/arm/sync_fetch_and_xor_8.S | 2 + lib/builtins/arm/sync_synchronize.S | 3 + lib/builtins/arm/truncdfsf2vfp.S | 3 + lib/builtins/arm/udivmodsi4.S | 3 + lib/builtins/arm/udivsi3.S | 3 + lib/builtins/arm/umodsi3.S | 3 + lib/builtins/arm/unorddf2vfp.S | 3 + lib/builtins/arm/unordsf2vfp.S | 3 + lib/builtins/assembly.h | 10 + lib/builtins/i386/ashldi3.S | 3 + lib/builtins/i386/ashrdi3.S | 3 + lib/builtins/i386/divdi3.S | 3 + lib/builtins/i386/floatdidf.S | 3 + lib/builtins/i386/floatdisf.S | 3 + lib/builtins/i386/floatdixf.S | 3 + lib/builtins/i386/floatundidf.S | 3 + lib/builtins/i386/floatundisf.S | 3 + lib/builtins/i386/floatundixf.S | 3 + lib/builtins/i386/lshrdi3.S | 3 + lib/builtins/i386/moddi3.S | 3 + lib/builtins/i386/muldi3.S | 3 + lib/builtins/i386/udivdi3.S | 3 + lib/builtins/i386/umoddi3.S | 3 + lib/builtins/ppc/restFP.S | 3 + lib/builtins/ppc/saveFP.S | 3 + lib/builtins/x86_64/floatundidf.S | 3 + lib/builtins/x86_64/floatundisf.S | 3 + lib/builtins/x86_64/floatundixf.S | 3 + lib/cfi/CMakeLists.txt | 1 + lib/dfsan/CMakeLists.txt | 2 + lib/esan/CMakeLists.txt | 1 + lib/esan/cache_frag.cpp | 33 +- lib/esan/cache_frag.h | 1 + lib/esan/esan.cpp | 15 + lib/esan/esan.h | 2 + lib/esan/esan_interceptors.cpp | 39 + lib/esan/esan_interface.cpp | 7 + lib/esan/working_set.cpp | 26 +- lib/esan/working_set.h | 2 + lib/esan/working_set_posix.cpp | 25 +- lib/interception/CMakeLists.txt | 4 + lib/interception/interception_win.cc | 908 +++++++++++++++------ lib/interception/interception_win.h | 17 + lib/interception/tests/CMakeLists.txt | 142 ++++ lib/interception/tests/interception_linux_test.cc | 65 ++ .../tests/interception_test_main.cc} | 13 +- lib/interception/tests/interception_win_test.cc | 592 ++++++++++++++ lib/lsan/CMakeLists.txt | 1 + lib/msan/CMakeLists.txt | 2 + lib/profile/CMakeLists.txt | 1 + lib/profile/InstrProfilingUtil.c | 5 +- lib/safestack/CMakeLists.txt | 2 + lib/sanitizer_common/sanitizer_allocator.h | 5 +- lib/sanitizer_common/sanitizer_atomic_msvc.h | 16 +- lib/sanitizer_common/sanitizer_common.cc | 8 +- lib/sanitizer_common/sanitizer_common.h | 7 +- .../sanitizer_common_interceptors.inc | 60 +- lib/sanitizer_common/sanitizer_common_syscalls.inc | 54 +- lib/sanitizer_common/sanitizer_linux.cc | 16 + .../sanitizer_platform_interceptors.h | 1 + lib/sanitizer_common/sanitizer_posix.h | 2 + lib/sanitizer_common/sanitizer_stacktrace.cc | 6 + .../sanitizer_unwind_linux_libcdep.cc | 5 + lib/sanitizer_common/sanitizer_win.cc | 30 +- lib/sanitizer_common/tests/CMakeLists.txt | 17 +- .../tests/sanitizer_allocator_test.cc | 12 +- lib/sanitizer_common/tests/sanitizer_flags_test.cc | 6 + lib/sanitizer_common/tests/sanitizer_posix_test.cc | 1 + .../tests/sanitizer_printf_test.cc | 6 +- .../tests/sanitizer_pthread_wrappers.h | 4 +- .../tests/sanitizer_stacktrace_test.cc | 13 + .../tests/sanitizer_thread_registry_test.cc | 4 + lib/scudo/CMakeLists.txt | 1 + lib/stats/CMakeLists.txt | 1 + lib/tsan/CMakeLists.txt | 1 + lib/tsan/rtl/tsan_flags.inc | 2 + lib/tsan/rtl/tsan_interceptors_mac.cc | 85 +- lib/tsan/rtl/tsan_libdispatch_mac.cc | 382 +++++++-- lib/tsan/rtl/tsan_rtl_mutex.cc | 8 +- lib/tsan/rtl/tsan_rtl_report.cc | 2 +- lib/tsan/rtl/tsan_sync.cc | 4 +- lib/tsan/rtl/tsan_sync.h | 2 +- lib/tsan/tests/unit/tsan_sync_test.cc | 14 +- lib/ubsan/CMakeLists.txt | 1 + test/asan/CMakeLists.txt | 4 +- test/asan/TestCases/Darwin/address-range-limit.mm | 4 +- test/asan/TestCases/Darwin/dead-strip.c | 2 +- test/asan/TestCases/Posix/global-registration.c | 69 ++ test/asan/TestCases/alloca_constant_size.cc | 51 ++ test/asan/TestCases/initialization-bug.cc | 2 +- test/asan/TestCases/invalid-pointer-pairs.cc | 6 +- test/asan/TestCases/use-after-scope-capture.cc | 2 +- test/asan/TestCases/use-after-scope-chars.cc | 2 +- test/asan/TestCases/use-after-scope-dtor-order.cc | 2 +- test/asan/TestCases/use-after-scope-if.cc | 2 +- test/asan/TestCases/use-after-scope-inlined.cc | 2 +- test/asan/TestCases/use-after-scope-loop-bug.cc | 2 +- .../asan/TestCases/use-after-scope-loop-removed.cc | 2 +- test/asan/TestCases/use-after-scope-loop.cc | 2 +- test/asan/TestCases/use-after-scope-nobug.cc | 2 +- test/asan/TestCases/use-after-scope-temp.cc | 2 +- test/asan/TestCases/use-after-scope.cc | 2 +- test/cfi/CMakeLists.txt | 18 +- test/cfi/create-derivers.test | 8 +- test/cfi/lit.cfg | 8 + test/cfi/lit.site.cfg.in | 2 + test/cfi/overwrite.cpp | 7 +- test/cfi/stats.cpp | 3 + test/dfsan/CMakeLists.txt | 2 +- test/esan/CMakeLists.txt | 2 +- test/esan/TestCases/struct-simple.cpp | 61 +- test/esan/TestCases/workingset-midreport.cpp | 71 ++ test/esan/TestCases/workingset-samples.cpp | 20 +- test/esan/TestCases/workingset-signal-posix.cpp | 23 +- test/esan/lit.cfg | 2 + test/lit.common.cfg | 6 +- test/lsan/CMakeLists.txt | 2 +- test/msan/CMakeLists.txt | 2 +- test/msan/Linux/cmsghdr.cc | 101 +++ test/msan/Linux/eventfd.cc | 18 + test/msan/Linux/syscalls.cc | 14 +- test/msan/Linux/syscalls_sigaction.cc | 40 + test/profile/CMakeLists.txt | 2 +- test/profile/instrprof-hostname.c | 3 +- test/safestack/CMakeLists.txt | 2 +- test/sanitizer_common/CMakeLists.txt | 2 +- test/scudo/CMakeLists.txt | 2 +- test/tsan/CMakeLists.txt | 2 +- test/tsan/Darwin/dispatch_once_deadlock.mm | 41 + .../{gcd-sync-race.mm => gcd-barrier-race.mm} | 24 +- test/tsan/Darwin/gcd-barrier.mm | 49 ++ test/tsan/Darwin/gcd-blocks.mm | 2 +- test/tsan/Darwin/gcd-data.mm | 36 + test/tsan/Darwin/gcd-fd.mm | 60 ++ test/tsan/Darwin/gcd-groups-destructor.mm | 43 + test/tsan/Darwin/gcd-groups-leave.mm | 56 ++ test/tsan/Darwin/gcd-io-barrier-race.mm | 55 ++ test/tsan/Darwin/gcd-io-barrier.mm | 48 ++ test/tsan/Darwin/gcd-io-cleanup.mm | 56 ++ test/tsan/Darwin/gcd-io-race.mm | 56 ++ test/tsan/Darwin/gcd-io.mm | 117 +++ test/tsan/Darwin/gcd-source-serial.mm | 33 + test/tsan/Darwin/ignored-interceptors.mm | 2 +- test/tsan/Darwin/libcxx-shared-ptr-recursive.mm | 36 + test/tsan/Darwin/libcxx-shared-ptr-stress.mm | 75 ++ test/tsan/Darwin/libcxx-shared-ptr.mm | 50 ++ test/tsan/Darwin/objc-simple.mm | 2 +- test/tsan/Darwin/osatomics-add.mm | 2 +- test/tsan/Darwin/osatomics-list.mm | 2 +- test/ubsan/CMakeLists.txt | 2 +- 250 files changed, 4129 insertions(+), 635 deletions(-) create mode 100644 include/sanitizer/esan_interface.h create mode 100644 lib/interception/tests/CMakeLists.txt create mode 100644 lib/interception/tests/interception_linux_test.cc copy lib/{tsan/tests/unit/tsan_unit_test_main.cc => interception/tests/interceptio [...] create mode 100644 lib/interception/tests/interception_win_test.cc create mode 100644 test/asan/TestCases/Posix/global-registration.c create mode 100644 test/asan/TestCases/alloca_constant_size.cc create mode 100644 test/esan/TestCases/workingset-midreport.cpp create mode 100644 test/msan/Linux/cmsghdr.cc create mode 100644 test/msan/Linux/eventfd.cc create mode 100644 test/msan/Linux/syscalls_sigaction.cc create mode 100644 test/tsan/Darwin/dispatch_once_deadlock.mm copy test/tsan/Darwin/{gcd-sync-race.mm => gcd-barrier-race.mm} (59%) create mode 100644 test/tsan/Darwin/gcd-barrier.mm create mode 100644 test/tsan/Darwin/gcd-data.mm create mode 100644 test/tsan/Darwin/gcd-fd.mm create mode 100644 test/tsan/Darwin/gcd-groups-destructor.mm create mode 100644 test/tsan/Darwin/gcd-groups-leave.mm create mode 100644 test/tsan/Darwin/gcd-io-barrier-race.mm create mode 100644 test/tsan/Darwin/gcd-io-barrier.mm create mode 100644 test/tsan/Darwin/gcd-io-cleanup.mm create mode 100644 test/tsan/Darwin/gcd-io-race.mm create mode 100644 test/tsan/Darwin/gcd-io.mm create mode 100644 test/tsan/Darwin/gcd-source-serial.mm create mode 100644 test/tsan/Darwin/libcxx-shared-ptr-recursive.mm create mode 100644 test/tsan/Darwin/libcxx-shared-ptr-stress.mm create mode 100644 test/tsan/Darwin/libcxx-shared-ptr.mm