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 9cc1fb9 Updating branches/google/stable to r263175 adds 2ecf56a [UBSan] Improve bufferization of UBSan error reports. adds 967630a [sanitizer] Add strlen to the common interceptors adds 60edc3c Fix ASan test cases after r263177 adds cea17ff [Compiler-rt] Fix ioctl codes for MIPS in sanitizer_ioctl_test adds 9c1c931 [Sanitizer][MIPS] internal lstat and fstat for mips64 adds 5fc9856 Make printf-4 more robust to strlen interception after r263177 adds 7363dfb Switch to fputs stderr to try to fix output buffering issues adds a7074f2 Fix order of arguments to fputs adds 4332700 Disable a test that started failing recently; see PR26919. adds 961e787 Fix bad regression from r263077 when building with MSVC. adds d7724fc [sanitizer] On OS X, verify that interceptors work and abort if not adds 08eefe1 Revert r263551 due to a test failure. adds 86dc981 [ASan] Make sure unittest works if sized-delete is enabled by [...] adds 0813bfe [ASAN] Add support for mips/mips64 android adds cf3edeb [tsan] Detect uses of uninitialized, destroyed and invalid mutexes adds caee885 [sanitizer] On OS X, verify that interceptors work and abort [...] adds 39a3033 Removing a non-intentional debug output that got committed in [...] adds 61d4798 [CMake] Remove bash-ism in SanitizerLintCheck adds 0db9110 [TSAN] Relax the expected output of race_on_mutex.c adds 3422c9c [TSAN] Fix build bot failure for powerpc64le adds fcae61d [tsan] Add interceptor for pthread_cond_timedwait_relative_np adds 06e9031 [sancov] common flags initialization. adds c6ba553 builtins: port __clear_cache to Windows ARM adds 0bebd75 builtins: make __clear_cache work on Linux-ARM adds bf72ac0 [tsan] Build TSan dylibs for iOS-style simulators adds 22d61da [tsan] Add some NULL pointer checks into the debugging API adds 1c60e62 [tsan] Adding a test case for r263939 ("Add some NULL pointer [...] adds f6d64f4 [asan] Update hotpatch code for VS 2015 memset implementation adds 6cd1c74 [asan] Pass -fms-compatibility-version=19 with VS 2015 adds 8f72cd3 [asan] Disable thread-safe static initilization with VS 2015 adds 6843d5a [sanitizier] initializing common flags. adds dce5c80 [sanitizer] Add strchr* to the common interceptors adds 312b788 [asan] Add strrchr to asan_win_dll_thunk. adds 1312519 [asan] Add new _*_base interceptors for VS 2015 adds e80e01a [asan] Set the unhandled exception filter slightly later duri [...] adds 95c5771 Fix coverage-related asan tests for VS 2015 adds dfde195 [asan] Also apply r264006 to asan_win_dynamic_runtime_thunk.cc adds 71e5da6 [asan] Intercept strdup on Windows adds d04b5d4 Wrap 81 character line to satisfy linter adds 32897ea [asan] Relax strdup test check lines adds 0cd4db6 Move -fms-compatibility-version=19 into target cflags adds 013ac89 [tsan] Change nullptr to NULL in one Darwin test. adds 19a482f [asan] Add one more x86 encoding to the interceptor for strrchr adds f65e265 [asan] Add ucrtbase.dll to the list of DLLs to intercept adds e92ab93 [tsan] Disable randomized address space on linux aarch64. adds 1dc4524 [tsan] Fix check-tsan build by using CHECK_NE. adds 6eba2f0 Test commit to verify repository access and fix a typo. adds a7481bb Revert "[tsan] Disable randomized address space on linux aarch64." adds e332fe7 [asan] Export new and delete operators on Windows adds 876379e [sanitizer] Add strnlen to the common interceptors adds fae6b41 [tsan] Use direct syscalls for internal_mmap and internal_mun [...] adds dede08a [tsan] Fix fork() and fork-based tests for OS X adds 60fa02f Follow-up for r264261, adding a comment explaining what the t [...] adds 088aa1a [asan] Intercept all Heap* related imports from ucrtbase.dll adds 8cfa5e3 [sanitizer] Add memset, memmove, and memcpy to the common int [...] adds b7d2b8f [profile] Add integration test to validate PGO function names adds 7fb4fa9 [asan] bump the scariness score of read-after-frees (based on [...] adds 04ef79d Stop depending on the keys in a hash table being in a particu [...] adds 3354f0f [libprofile] Add some missing `env` prefixes on commands. adds 1ce317f [libprofile] Adjust dummy condition to be more forgiving. adds 73cd21d Make vp merge test more robust adds f66c15c Fix-up for OS X test failure after r264451 ("Add memset, memm [...] adds 51e5416 [PGO] Comment how function pointers for indirect calls are ma [...] adds ff6d2cd [PGO] Update r264612 to use C-style comment adds 71491c7 [libprofile] Make this test a bit more specific adds 20268bc [libprofile] Make this test not depend on previous runs. adds b5503d1 [tsan] Fix a crash when exiting the main thread (e.g. dispatch_main) adds 6ac9f5d [asan] Add runtime support for __asan_(un)register_image_globals adds e49604b [libprofile] Handle '\' in __llvm_profile_recursive_mkdir adds bbde6a2 [PGO] More comments how function pointers for indirect calls [...] adds 5fc5f79 [libprofile] Use one fewer -mllvm option in this test. adds 375cd58 [Darwin] [Builtins] Cleaning up 10.4 exclude lists NFC adds 06198eb [Darwin] [Builtins] Remove multi3 from the exclude list. adds f954b26 [Darwin] [Builtins] Cleaning up OS X exclude lists. NFC. adds cc14c4e [asan] Make the Darwin/dead-strip.c test require El Capitan or newer adds 1a266ba [profile] Make a test work if run by the super-user adds cdb0f79 Fix comment in test adds 0a62fb5 [libprofile] Make this test express intent a bit better. adds 4c370c5 [profile] Test error reporting by writing to a temp directory adds a67b4a3 [profile] Remove quotes around env variable, NFC adds d5db7e4 [cmake] Get the MSVC version by running cl rather than relyin [...] adds 418c91a [asan] Mark the initialization-bug.cc unsupported on OS X Yos [...] adds 6d977be Update copyright year to 2016. adds 8a78256 [CMake] Provide the ability to skip stripping when generating dSYMs adds ade90b2 Fix a load of -Wunknown-pragma warnings from clang-cl adds a1ff9c1 Fix warnings uncovered by building with clang-cl adds e8d5921 [sanitizer] Make AtosSymbolizer more resilient when symbolica [...] adds e30e2e5 tsan: fix ignore handling in signal handlers adds c651d88 [asan,tsan] Make Darwin-specific tests more stable (use ignor [...] adds 5e263ef Apply suggestion from HJ Lu to avoid misaligned stack in test adds 1e2eed9 [tsan] Disable randomized address space on aarch64 linux. adds 08d28c8 [tsan] Fix freebsd build. adds 621dec4 Use `CMAKE_HOST_UNIX` to check the host. adds abe3f12 sync up with master copy adds 3dd6535 Another place for CMAKE_HOST_UNIX adds e882cec [sancov] enabling coverage edge pruning by default. adds 870d196 [sancov] removing flaky test case (win) adds a8907b0 [tsan] Fix Darwin tests (missing FileCheck's) adds fc2a80e [tsan] Fix synchronization in dispatch_sync adds a5e1747 [tsan] Add support for dispatch event sources adds 0b46874 [tsan] Add XPC support (OS X) adds c81ba58 [tsan] Add interceptors for dispatch_apply adds f9a02d3 [tsan] Add TSan __tsan_atomic* functions to tsan_interface.h adds 83f803f [tsan] Add support for OS X OSAtomic* functions adds ed2f267 [tsan] Remove long sleeps from fork tests adds caf8023 [sancov] updaing android test adds 92b873c [sanitizer] Add early call handling to strlen interceptor adds b138bb6 [sancov] updaing android test after enabling cc edge pruning adds 8d93681 [sanitizer] Fix sem_init_glibc.cc test on __HAVE_64B_ATOMIC arches. adds 85b89ec [tsan] Replace 'not' with '%deflake' in gcd-apply-race.mm Dar [...] adds 12d2fe2 [sanitizer] Restore stderr when using forkpty() to spawn exte [...] adds 9f41c78 [safestack] A test for stackprotector canaries. adds 96bacf0 [tsan] Fix a crash with dispatch_source_set_cancel_handler(NU [...] adds 47d4145 [safestack] Fix stack canary test on Mac. adds 06fe915 [PGO] Fix the buildbots for r266229. adds f2c7c4a [asan] Prefer alloc-dealloc-mismatch to new-delete-type-mismatch. adds 069018c [tsan] Fix size reporting for OS X zone allocator with 0-size [...] adds efe2dce asan: fix out-of-bounds access in quarantine adds d9e994e asan: fix build adds a7c0f5f Make tsan tests more portable (take 2) adds 4f62bca [sanitizer] [SystemZ] Implement internal_mmap. adds 5cfe468 [sanitizer] [SystemZ] Add virtual space size. adds 0f9d2c5 [sanitizer] [SystemZ] Abort if the kernel might be vulnerable [...] adds 2d5eb71 Revert "Make tsan tests more portable (take 2)" adds 339c6e5 [sanitizer] remove FreeBSD PS_STRINGS fallback adds 89f0b9e [sanitizer] [SystemZ] Add/fix kernel and libc type definitions. adds adcf176 [sanitizer] [SystemZ] Fix stack traces. adds 64dbe06 Fix StaticAnalyzer complaints. NFC. adds 446f7f5 [TSAN] Make tsan tests more portable (take 3) adds 3c7ac8f Revert "[sanitizer] [SystemZ] Abort if the kernel might be vu [...] adds 84515df [sanitizers] [SystemZ] Introduce sanitizer_linux_s390.cc. adds 8a1d938 [sanitizer] [SystemZ] Enable UBSan. adds dbd8ad5 [sanitizers] Teach the internal demangler about Swift names adds 2d112a5 [sanitizers] Fixup r266494; make it build on Linux. adds 1e9990c [sanitizers] Fixup to r266494; the Unit test should not run o [...] adds 7af86a9 Replace hardcoded comment at 'lit.site.cfg.in' adds 9a6fa2d [asan] [SystemZ] Add slop for stack address detection. adds 82cd944 [MSan] [PowerPC] Add loadable library name for testing. adds 67c4cad Additional test for use-after-scope adds de3d40e [msan] Don't hardcode 4kiB page size in msan_test.cc. adds 377ab59 [LSAN] Fix test swapcontext.cc on MIPS adds c59940d [compiler-rt] Remove unwanted --check-prefix=CHECK from unit [...] adds 2d7f4d3 [sanitizer] Fix 'dyld: Symbol not found: _dyldVersionNumber' [...] adds 3d39604 Always inlining PrintCurrentStackSlow of tsan library to fix [...] adds e917f6c builtins: remove use of __attribute__((pcs("aapcs"))) on Windows adds f315fe5 builtins: fix -Werror,-Wunused-variable warning adds 656c2db [msan] Implement GetPageSize in the test. adds b69978d [asan] Add __strdup interceptor. adds f021a7a [asan] Increase LocatePcInTrace threshold. adds 075c251 [sanitizer] update the sanitizer_allocator_testlib adds fc1463a [sanitizer] Use pthread_threadid_np as thread ID on OS X adds 8c06557 [tsan] Rename ReportThread->pid to ReportThread->os_id adds 94a44ec [asan] Mark strdup test as unsupported on arm/linux. adds 33f89a1 [esan] EfficiencySanitizer base runtime library adds d2f951c Enable stack-use-after-scope tests. adds 86ee12b [asan] Disable one test on windows. adds 6b7dd03 [sanitizer] Allow the sanitizer allocator to use a non-fixed [...] adds 6ccdfdf [ASAN] Use struct instead of array in sancov.py adds 164bcc4 Revert "[sanitizer] Allow the sanitizer allocator to use a no [...] adds d61a344 Revert "[LSAN] Fix test swapcontext.cc on MIPS" adds 7575ed5 [sanitizer] allow zero first parameter in MmapNoAccess; This [...] adds 80fd6de [sanitizer] revert r267203 as it breaks aarch64 bots adds dbc8cc0 [sanitizer] partially un-revert r267094: Allow the sanitizer [...] adds b7929de [sanitizer] rename MmapNoAccess to MmapFixedNoAccess; NFC adds 3142d42 [sanitizer] add a function MmapNoAccess that mmaps a protecte [...] adds 5d4cf0c [esan] EfficiencySanitizer libc interceptors adds ffd60c7 [esan] Fix uninitialized warning from interception context adds bbe3712 [sanitizers] read/write page fault detection on mac. adds 499e62c [MSan] Use COMMON_INTERCEPTOR_ENTER in libdl interceptors. adds f796648 Revert "[sanitizers] read/write page fault detection on mac." adds 8bb1577 [sanitizer] [SystemZ] Implement internal_clone. adds 3eab866 [sanitizer] [SystemZ] Add ptrace support bits. adds b8eab08 [CMake] [PR27403] Fix COMPILER_RT_ENABLE_IOS when using Xcode [...] adds bc69cf9 [sanitizers] [NFC] Add defines for the various PowerPC ABIs. adds c20cc02 [sanitizers] rewriting test assuming assert() changes coverage. adds 81bba04 [Compiler-rt][CFI] Enabling CFI for MIPS64 adds 69ca20b tsan: split thread into logical and physical state adds e1f0496 tsan: fix compiler warning adds 485f7b7 tsan: add missing file adds 9f18a5e tsan: fix windows build adds 37f03fe tsan: fix windows build adds dabf0d6 tsan: change tsan/Go interface for obtaining the current Processor adds cd91beb tsan: fix darwin Go build adds ca36bb3 tsan: fix build adds 2a2a42a tsan: make windows shadow mapping a bijection adds bcf9970 tsan: fix darwin Go build adds 9721f9a tsan: fix windows Go support adds 74527d7 tsan: fix darwin Go support adds 9d79ea3 tsan: fix windows support adds 0b438ec Un-XFAIL tests on Windows after fixing PR27492 adds a6a82f3 [sanitizer] [SystemZ] Abort if the kernel might be vulnerable [...] adds 327e730 [sanitizers] read/write page fault detection on mac. new 59a9c97 Updating branches/google/stable to r267754
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 | 6 + LICENSE.TXT | 2 +- cmake/Modules/AddCompilerRT.cmake | 6 +- cmake/Modules/CompilerRTDarwinUtils.cmake | 2 + cmake/Modules/SanitizerUtils.cmake | 4 +- cmake/config-ix.cmake | 54 +++- lib/CMakeLists.txt | 4 + lib/asan/asan_activation.cc | 3 +- lib/asan/asan_allocator.cc | 28 +- lib/asan/asan_allocator.h | 2 +- lib/asan/asan_flags.cc | 10 +- lib/asan/asan_flags.inc | 2 +- lib/asan/asan_globals.cc | 21 +- lib/asan/asan_init_version.h | 15 +- lib/asan/asan_interceptors.cc | 72 ++--- lib/asan/asan_interceptors.h | 14 +- lib/asan/asan_interface_internal.h | 8 + lib/asan/asan_internal.h | 7 + lib/asan/asan_linux.cc | 4 + lib/asan/asan_mac.cc | 26 ++ lib/asan/asan_malloc_win.cc | 133 ++++++-- lib/asan/asan_new_delete.cc | 18 +- lib/asan/asan_posix.cc | 8 + lib/asan/asan_report.cc | 12 +- lib/asan/asan_report.h | 2 +- lib/asan/asan_rtl.cc | 5 +- lib/asan/asan_win.cc | 18 +- lib/asan/asan_win_dll_thunk.cc | 6 + lib/asan/asan_win_dynamic_runtime_thunk.cc | 5 +- lib/asan/tests/asan_noinst_test.cc | 1 - lib/asan/tests/asan_test.cc | 14 +- lib/asan/tests/asan_test_main.cc | 6 + lib/builtins/Darwin-excludes/10.4-x86_64.txt | 35 --- lib/builtins/Darwin-excludes/10.4.txt | 59 +++- lib/builtins/Darwin-excludes/osx-i386.txt | 47 --- lib/builtins/Darwin-excludes/osx-x86_64.txt | 12 - lib/builtins/Darwin-excludes/osx.txt | 6 + lib/builtins/clear_cache.c | 16 +- lib/builtins/emutls.c | 6 +- lib/builtins/int_lib.h | 6 +- lib/cfi/cfi.cc | 2 +- lib/dfsan/dfsan.cc | 5 +- lib/esan/CMakeLists.txt | 36 +++ lib/esan/esan.cpp | 114 +++++++ lib/esan/esan.h | 45 +++ lib/esan/esan.syms.extra | 3 + lib/esan/esan_interceptors.cpp | 340 +++++++++++++++++++++ lib/esan/esan_interface.cpp | 102 +++++++ lib/esan/esan_interface_internal.h | 72 +++++ lib/interception/interception_win.cc | 89 +++++- lib/interception/interception_win.h | 13 + lib/lsan/lsan.cc | 1 + lib/msan/msan.cc | 3 +- lib/msan/msan.h | 2 +- lib/msan/msan_interceptors.cc | 144 +++++---- lib/msan/msan_linux.cc | 4 +- lib/msan/tests/msan_test.cc | 25 +- lib/profile/InstrProfData.inc | 13 + lib/profile/InstrProfilingFile.c | 2 +- lib/profile/InstrProfilingUtil.c | 6 +- lib/sanitizer_common/CMakeLists.txt | 1 + lib/sanitizer_common/sanitizer_allocator.h | 58 ++-- lib/sanitizer_common/sanitizer_common.h | 20 +- .../sanitizer_common_interceptors.inc | 158 +++++++++- lib/sanitizer_common/sanitizer_common_syscalls.inc | 4 +- lib/sanitizer_common/sanitizer_flags.cc | 6 + lib/sanitizer_common/sanitizer_flags.h | 5 + lib/sanitizer_common/sanitizer_flags.inc | 9 + lib/sanitizer_common/sanitizer_internal_defs.h | 5 + lib/sanitizer_common/sanitizer_libc.cc | 2 +- lib/sanitizer_common/sanitizer_linux.cc | 44 ++- lib/sanitizer_common/sanitizer_linux.h | 2 +- lib/sanitizer_common/sanitizer_linux_libcdep.cc | 42 +-- lib/sanitizer_common/sanitizer_linux_s390.cc | 188 ++++++++++++ lib/sanitizer_common/sanitizer_mac.cc | 59 +++- lib/sanitizer_common/sanitizer_platform.h | 48 +++ .../sanitizer_platform_interceptors.h | 19 +- .../sanitizer_platform_limits_linux.cc | 2 +- .../sanitizer_platform_limits_posix.cc | 21 +- .../sanitizer_platform_limits_posix.h | 41 ++- lib/sanitizer_common/sanitizer_posix.cc | 6 + lib/sanitizer_common/sanitizer_posix_libcdep.cc | 7 +- lib/sanitizer_common/sanitizer_quarantine.h | 6 +- lib/sanitizer_common/sanitizer_stacktrace.cc | 4 +- .../sanitizer_stoptheworld_linux_libcdep.cc | 18 +- .../sanitizer_symbolizer_internal.h | 2 +- .../sanitizer_symbolizer_libcdep.cc | 4 + lib/sanitizer_common/sanitizer_symbolizer_mac.cc | 28 +- .../sanitizer_symbolizer_posix_libcdep.cc | 50 ++- lib/sanitizer_common/sanitizer_win.cc | 33 +- lib/sanitizer_common/scripts/sancov.py | 21 +- .../tests/sanitizer_allocator_test.cc | 4 + .../tests/sanitizer_allocator_testlib.cc | 12 +- lib/sanitizer_common/tests/sanitizer_ioctl_test.cc | 6 +- .../tests/sanitizer_symbolizer_test.cc | 12 + lib/tsan/CMakeLists.txt | 1 + lib/tsan/go/build.bat | 2 +- lib/tsan/go/buildgo.sh | 3 +- lib/tsan/go/test.c | 34 ++- lib/tsan/go/tsan_go.cc | 42 ++- lib/tsan/rtl/tsan_debugging.cc | 18 +- lib/tsan/rtl/tsan_defs.h | 1 + lib/tsan/rtl/tsan_flags.cc | 2 +- lib/tsan/rtl/tsan_interceptors.cc | 150 +++------ lib/tsan/rtl/tsan_interceptors_mac.cc | 187 ++++++++++++ lib/tsan/rtl/tsan_interface.h | 237 +++++++++++++- lib/tsan/rtl/tsan_interface_atomic.cc | 25 +- lib/tsan/rtl/tsan_interface_java.cc | 2 +- lib/tsan/rtl/tsan_libdispatch_mac.cc | 204 +++++++++++-- lib/tsan/rtl/tsan_malloc_mac.cc | 3 +- lib/tsan/rtl/tsan_mman.cc | 28 +- lib/tsan/rtl/tsan_mman.h | 4 +- lib/tsan/rtl/tsan_platform.h | 7 +- lib/tsan/rtl/tsan_platform_linux.cc | 17 ++ lib/tsan/rtl/tsan_platform_mac.cc | 6 +- lib/tsan/rtl/tsan_platform_posix.cc | 2 +- lib/tsan/rtl/tsan_report.cc | 4 +- lib/tsan/rtl/tsan_report.h | 3 +- lib/tsan/rtl/tsan_rtl.cc | 7 +- lib/tsan/rtl/tsan_rtl.h | 41 ++- lib/tsan/rtl/tsan_rtl_mutex.cc | 22 +- lib/tsan/rtl/tsan_rtl_proc.cc | 61 ++++ lib/tsan/rtl/tsan_rtl_report.cc | 10 +- lib/tsan/rtl/tsan_rtl_thread.cc | 22 +- lib/tsan/rtl/tsan_suppressions.cc | 2 + lib/tsan/rtl/tsan_sync.cc | 52 ++-- lib/tsan/rtl/tsan_sync.h | 10 +- lib/tsan/tests/rtl/tsan_test.cc | 6 + lib/tsan/tests/unit/tsan_sync_test.cc | 14 +- lib/tsan/tests/unit/tsan_unit_test_main.cc | 6 + lib/ubsan/ubsan_diag.cc | 183 ++++++----- lib/ubsan/ubsan_flags.cc | 2 +- lib/ubsan/ubsan_platform.h | 3 +- lib/ubsan/ubsan_value.cc | 4 +- test/CMakeLists.txt | 5 +- test/asan/TestCases/Android/coverage-android.cc | 4 +- test/asan/TestCases/Darwin/dead-strip.c | 22 ++ test/asan/TestCases/Darwin/objc-odr.mm | 2 +- .../TestCases/{Linux => Darwin}/segv_read_write.c | 2 +- test/asan/TestCases/Darwin/suppressions-darwin.cc | 1 + test/asan/TestCases/Linux/clone_test.cc | 2 +- test/asan/TestCases/Linux/new_delete_mismatch.cc | 16 + test/asan/TestCases/Linux/ptrace.cc | 7 + test/asan/TestCases/Linux/scariness_score_test.cc | 6 +- test/asan/TestCases/Posix/coverage-sandboxing.cc | 4 +- test/asan/TestCases/Posix/start-deactivated.cc | 2 +- test/asan/TestCases/Windows/coverage-basic.cc | 4 +- test/asan/TestCases/Windows/intercept_strdup.cc | 6 +- test/asan/TestCases/coverage-levels.cc | 10 +- test/asan/TestCases/coverage-pc-buffer.cc | 69 +++-- test/asan/TestCases/coverage-reset.cc | 7 + test/asan/TestCases/initialization-bug.cc | 5 +- test/asan/TestCases/printf-2.c | 10 +- test/asan/TestCases/printf-4.c | 14 +- test/asan/TestCases/stack-oob-frames.cc | 3 - test/asan/TestCases/strcasestr-2.c | 2 +- test/asan/TestCases/strdup_oob_test.cc | 9 +- test/asan/TestCases/strstr-2.c | 2 +- test/asan/TestCases/use-after-scope-capture.cc | 17 ++ test/asan/TestCases/use-after-scope-dtor-order.cc | 6 +- test/asan/TestCases/use-after-scope-if.cc | 15 + test/asan/TestCases/use-after-scope-inlined.cc | 4 +- test/asan/TestCases/use-after-scope-loop-bug.cc | 16 + .../asan/TestCases/use-after-scope-loop-removed.cc | 19 ++ test/asan/TestCases/use-after-scope-loop.cc | 14 + test/asan/TestCases/use-after-scope-nobug.cc | 11 +- test/asan/TestCases/use-after-scope-temp.cc | 18 +- test/asan/TestCases/use-after-scope.cc | 9 +- test/asan/Unit/lit.site.cfg.in | 3 +- test/asan/lit.site.cfg.in | 3 +- test/cfi/lit.site.cfg.in | 2 + test/dfsan/lit.site.cfg.in | 3 +- test/esan/CMakeLists.txt | 32 ++ test/esan/TestCases/libc-intercept.c | 20 ++ test/esan/TestCases/verbose-simple.c | 9 + test/esan/lit.cfg | 32 ++ test/{msan => esan}/lit.site.cfg.in | 9 +- test/lit.common.cfg | 16 + test/lit.common.configured.in | 3 +- test/lsan/lit.site.cfg.in | 3 +- test/msan/Unit/lit.site.cfg.in | 3 +- test/msan/coverage-levels.cc | 4 +- test/msan/dlerror.cc | 5 - test/msan/lit.site.cfg.in | 3 +- test/profile/CMakeLists.txt | 2 +- .../profile/Inputs/instrprof-visibility-helper.cpp | 3 + test/profile/Linux/instrprof-merge-vp.c | 31 +- test/profile/gcc-flag-compatibility.test | 1 + test/profile/instrprof-error.c | 5 +- test/profile/instrprof-value-prof-2.c | 173 ++++++----- test/profile/instrprof-value-prof.c | 25 +- test/profile/instrprof-value-prof.test | 4 +- test/profile/instrprof-version-mismatch.c | 2 +- test/profile/instrprof-visibility-kinds.inc | 36 +++ test/profile/instrprof-visibility.cpp | 89 ++++++ test/profile/instrprof-without-libc.c | 32 +- test/profile/instrprof-write-file-only.c | 2 +- test/profile/lit.site.cfg.in | 3 +- test/safestack/canary.c | 37 +++ test/safestack/lit.site.cfg.in | 3 +- test/sanitizer_common/TestCases/Linux/ptrace.cc | 20 ++ .../TestCases/Linux/sem_init_glibc.cc | 19 +- test/sanitizer_common/TestCases/strnlen.c | 12 + test/sanitizer_common/Unit/lit.site.cfg.in | 3 +- test/sanitizer_common/lit.site.cfg.in | 2 + test/tsan/Darwin/dispatch_main.mm | 38 +++ test/tsan/Darwin/dlopen.cc | 41 +++ test/tsan/Darwin/gcd-apply-race.mm | 26 ++ test/tsan/Darwin/gcd-apply.mm | 44 +++ test/tsan/Darwin/gcd-async-norace.mm | 2 +- test/tsan/Darwin/gcd-async-race.mm | 6 +- test/tsan/Darwin/gcd-blocks.mm | 34 +++ test/tsan/Darwin/gcd-groups-norace.mm | 2 +- test/tsan/Darwin/gcd-groups-stress.mm | 4 +- test/tsan/Darwin/gcd-once.mm | 2 +- test/tsan/Darwin/gcd-semaphore-norace.mm | 2 +- test/tsan/Darwin/gcd-serial-queue-norace.mm | 2 +- test/tsan/Darwin/gcd-source-cancel.mm | 36 +++ test/tsan/Darwin/gcd-source-cancel2.mm | 38 +++ test/tsan/Darwin/gcd-source-event.mm | 35 +++ test/tsan/Darwin/gcd-source-event2.mm | 37 +++ test/tsan/Darwin/gcd-source-registration.mm | 33 ++ test/tsan/Darwin/gcd-source-registration2.mm | 35 +++ test/tsan/Darwin/gcd-sync-norace.mm | 2 +- test/tsan/Darwin/gcd-sync-race.mm | 6 +- test/tsan/Darwin/ignored-interceptors.mm | 7 +- test/tsan/Darwin/malloc-stack-logging.cc | 24 ++ test/tsan/Darwin/malloc_size.mm | 23 ++ test/tsan/Darwin/objc-race.mm | 4 +- test/tsan/Darwin/objc-simple.mm | 2 +- test/tsan/Darwin/osatomics-add.mm | 48 +++ test/tsan/Darwin/osatomics-list.mm | 43 +++ test/tsan/Darwin/xpc-race.mm | 80 +++++ test/tsan/Darwin/xpc.mm | 73 +++++ test/tsan/Linux/user_malloc.cc | 2 +- test/tsan/Unit/lit.site.cfg.in | 3 +- test/tsan/aligned_vs_unaligned_race.cc | 4 +- test/tsan/benign_race.cc | 2 +- test/tsan/blacklist.cc | 2 +- test/tsan/blacklist2.cc | 2 +- test/tsan/debugging.cc | 20 ++ test/tsan/dl_iterate_phdr.cc | 2 +- test/tsan/fd_close_norace.cc | 2 +- test/tsan/fd_close_norace2.cc | 2 +- test/tsan/fd_dup_norace.cc | 2 +- test/tsan/fd_dup_norace2.cc | 2 +- test/tsan/fd_dup_race.cc | 2 +- test/tsan/fd_pipe_norace.cc | 2 +- test/tsan/fd_socket_connect_norace.cc | 2 +- test/tsan/fd_socket_norace.cc | 2 +- test/tsan/fd_socketpair_norace.cc | 2 +- test/tsan/fork_atexit.cc | 1 - test/tsan/fork_deadlock.cc | 11 +- test/tsan/fork_multithreaded.cc | 3 +- test/tsan/fork_multithreaded3.cc | 1 - test/tsan/ignore_race.cc | 2 +- test/tsan/inlined_memcpy_race.cc | 4 +- test/tsan/inlined_memcpy_race2.cc | 6 +- test/tsan/interface_atomic_test.c | 4 +- test/tsan/java_alloc.cc | 4 +- test/tsan/java_heap_init.cc | 2 +- test/tsan/java_lock_move.cc | 2 +- test/tsan/java_lock_rec.cc | 8 +- test/tsan/java_lock_rec_race.cc | 6 +- test/tsan/java_move_overlap.cc | 2 +- test/tsan/java_move_overlap_race.cc | 6 +- test/tsan/java_rwlock.cc | 2 +- test/tsan/lit.site.cfg.in | 3 +- test/tsan/longjmp.cc | 4 +- test/tsan/longjmp2.cc | 4 +- test/tsan/longjmp3.cc | 4 +- test/tsan/longjmp4.cc | 4 +- test/tsan/malloc_overflow.cc | 10 +- test/tsan/mutex_lock_destroyed.cc | 25 ++ test/tsan/race_on_mutex.c | 13 +- test/tsan/race_on_speculative_load.cc | 4 +- test/tsan/static_init1.cc | 2 +- test/tsan/static_init2.cc | 2 +- test/tsan/static_init4.cc | 2 +- test/tsan/static_init5.cc | 2 +- test/tsan/static_init6.cc | 2 +- test/tsan/sunrpc.cc | 2 +- test/tsan/suppressions_global.cc | 2 +- test/tsan/suppressions_race.cc | 2 +- test/tsan/suppressions_race2.cc | 2 +- test/tsan/thread_detach.c | 2 +- test/tsan/thread_detach2.c | 2 +- test/tsan/thread_leak.c | 2 +- test/tsan/thread_leak2.c | 2 +- test/tsan/thread_leak4.c | 2 +- test/tsan/tsan-vs-gvn.cc | 2 +- test/tsan/unaligned_norace.cc | 2 +- test/tsan/vfork.cc | 5 +- test/tsan/virtual_inheritance_compile_bug.cc | 2 +- test/ubsan/TestCases/Misc/coverage-levels.cc | 4 +- test/ubsan/lit.site.cfg.in | 2 + unittests/lit.common.unit.configured.in | 3 +- 297 files changed, 4804 insertions(+), 1260 deletions(-) delete mode 100644 lib/builtins/Darwin-excludes/10.4-x86_64.txt delete mode 100644 lib/builtins/Darwin-excludes/osx-x86_64.txt create mode 100644 lib/esan/CMakeLists.txt create mode 100644 lib/esan/esan.cpp create mode 100644 lib/esan/esan.h create mode 100644 lib/esan/esan.syms.extra create mode 100644 lib/esan/esan_interceptors.cpp create mode 100644 lib/esan/esan_interface.cpp create mode 100644 lib/esan/esan_interface_internal.h create mode 100644 lib/sanitizer_common/sanitizer_linux_s390.cc create mode 100644 lib/tsan/rtl/tsan_rtl_proc.cc create mode 100644 test/asan/TestCases/Darwin/dead-strip.c copy test/asan/TestCases/{Linux => Darwin}/segv_read_write.c (96%) create mode 100644 test/asan/TestCases/Linux/new_delete_mismatch.cc create mode 100644 test/asan/TestCases/use-after-scope-capture.cc create mode 100644 test/asan/TestCases/use-after-scope-if.cc create mode 100644 test/asan/TestCases/use-after-scope-loop-bug.cc create mode 100644 test/asan/TestCases/use-after-scope-loop-removed.cc create mode 100644 test/asan/TestCases/use-after-scope-loop.cc create mode 100644 test/esan/CMakeLists.txt create mode 100644 test/esan/TestCases/libc-intercept.c create mode 100644 test/esan/TestCases/verbose-simple.c create mode 100644 test/esan/lit.cfg copy test/{msan => esan}/lit.site.cfg.in (52%) create mode 100644 test/profile/Inputs/instrprof-visibility-helper.cpp create mode 100644 test/profile/instrprof-visibility-kinds.inc create mode 100644 test/profile/instrprof-visibility.cpp create mode 100644 test/safestack/canary.c create mode 100644 test/sanitizer_common/TestCases/strnlen.c create mode 100644 test/tsan/Darwin/dispatch_main.mm create mode 100644 test/tsan/Darwin/dlopen.cc create mode 100644 test/tsan/Darwin/gcd-apply-race.mm create mode 100644 test/tsan/Darwin/gcd-apply.mm create mode 100644 test/tsan/Darwin/gcd-blocks.mm create mode 100644 test/tsan/Darwin/gcd-source-cancel.mm create mode 100644 test/tsan/Darwin/gcd-source-cancel2.mm create mode 100644 test/tsan/Darwin/gcd-source-event.mm create mode 100644 test/tsan/Darwin/gcd-source-event2.mm create mode 100644 test/tsan/Darwin/gcd-source-registration.mm create mode 100644 test/tsan/Darwin/gcd-source-registration2.mm create mode 100644 test/tsan/Darwin/malloc-stack-logging.cc create mode 100644 test/tsan/Darwin/malloc_size.mm create mode 100644 test/tsan/Darwin/osatomics-add.mm create mode 100644 test/tsan/Darwin/osatomics-list.mm create mode 100644 test/tsan/Darwin/xpc-race.mm create mode 100644 test/tsan/Darwin/xpc.mm create mode 100644 test/tsan/mutex_lock_destroyed.cc