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 a4f8494b4 Creating branches/google/stable and tags/google/stable/2018-0 [...] adds 3c5a7c781 [hwasan] Add a (almost) no-interceptor mode. adds bf533e046 SafeStack: Use correct unsafe stack sizes adds 34f496d50 [tsan] Avoid calling Block_copy in the "sync" GCD interceptors adds c4e9bffcf Fixup for r340342: Avoid Block_release'ing the block since we [...] adds ce17deac2 [tsan] Adjust setjmp/longjmp handling on Darwin for macOS Mojave adds 2eb125877 [hwasan] remove stale data field adds fb896cb35 [hwasan] make error reporting look more like in asan, print t [...] adds 661d1ea41 [sanitizer] Change Mmap*NoAccess to return nullptr on error adds 3775d228a [sanitizer] Don't call task_for_pid(mach_task_self). NFC. adds aa0393ed6 [hwasan] implement detection of double-free (invalid-free) adds 85403213e [hwasan] implement detection of realloc-after-free adds 96957aef4 [Sanitizer] implementing remaining function under OSX adds 40e883a24 [scudo] Replace eraseHeader with compareExchangeHeader for Qu [...] adds 2de6c3ce4 Revert "[lsan] Do not check for leaks in the forked process" adds fca07fb9a [sanitizer][fuzzer] Transition back to ZX_TIME_INFINITE adds 6052ea872 [lsan] Check that leak sanitizer works in the forked process adds b0cd143d4 [XRay][compiler-rt] Stash flags as well in x86_64 trampoline adds a813e12f4 [XRay][compiler-rt] Remove uses of internal allocator in prof [...] adds d5d5b2224 SafeStack: Fix thread liveness check on *BSD adds 5ca960ada [libFuzzer] Port to Windows adds dfdafdfd4 Revert "[libFuzzer] Port to Windows" adds cbe0dd812 Add a RingBuffer class to sanitizer_common adds 50d3ed579 [sanitizer] fix a test adds e701be565 Introduce new type for inteceptors UINTMAX_T adds 813e6b2d3 Revert r340884 "Add a RingBuffer class to sanitizer_common" adds 3ef5d5638 [libFuzzer] Port to Windows adds 5b20f00cb Revert "[libFuzzer] Port to Windows" adds d0859f227 [sanitizer] Revert D50940 adds a043682ad [sanitizer] reapply r340884 'Add a RingBuffer class to saniti [...] adds 28553c2a0 Add a thread-local ring buffer of heap allocations adds a327fdf5f [hwasan] simplify the realloc implementation: always allocate [...] adds 9bf9f89d6 [libFuzzer] Remove mutation stats and weighted mutation selection. adds 5c8eb9d4b [hwasan] rename some variables and functions for better reada [...] adds 2541f4516 [hwasan] formatting change, NFC adds 0399f45cd [hwasan] get rid of some macros, remove the fixed shadow mapping adds 50636f181 [hwasan] remove more stale code adds 07eac276d [hwasan] remove even more stale code adds 2b0f211fd [hwasan] add basic ThreadRegistry plumbing, also rename Hwasa [...] adds eee2a4b4c [hwasan] add a simple threaded UAF test, make it work on x86 [...] adds 7125568eb [sanitizer] Transition to new _zx_vmar_... calls adds 63e473d06 [Xray] Darwin improving slightly the support adds 0364b6483 [libFuzzer] Port to Windows adds d55730859 [Xray] Darwin fix variable typo adds b13c16313 [hwasan] simplify the thread hangling: instead of the ThreadR [...] adds 3b8e065e7 [hwasan] temporarily remove two tests to silence the bots adds a370a1998 [hwasan] use thread-local ring buffers to properly report hea [...] adds bdd3a3bda [hwasan] fix the linux-only pthread_create interceptor and re [...] adds c5ef5718e [hwasan] make malloc(0) return nullptr, add basic address des [...] adds f19416e3c [hwasan] fix the build on Linux Ubuntu 14.04. We don't need _ [...] adds 9eba657ef [hwasan] properly report heap-buffer-overflow adds f88441256 [hwasan] report heap-buffer-overflow location, once, not once [...] adds c855fffef [hwasan] more heap-buffer-overflow tests adds e01a321f5 [hwasan] simplify the code, NFC adds b2160f6dc [hwasan] move code around to remove an opaque class definitio [...] adds cd8dd9818 Add internal_sysctl() used by FreeBSD, NetBSD, OpenBSD and MacOSX adds f941029be Improve portability of internal_sysctl() adds 35b9301b1 Try to fix internal_sysctl() for MacOSX adds 1c6ca257c Try to unbreak internal_sysctl() for MacOSX adds 86f808bd5 [hwasan] Fix new[] with zero size. adds 32db9b4a7 [Sanitizer] openbsd build fix adds e37f920f0 Fix buildbot test adds 8ea71f14f [UBSan] Add missing `%run` prefixes to Pointer tests. adds 4c71e881c [UBSan] Propagate `UBSAN_OPTIONS` environment variable when r [...] adds ef6849882 Give a better error message when trying to run the iossim tes [...] adds 44decdfe9 [UBSan] Add CMake and lit support for configuring and running [...] adds fcdf41c51 [asan] Clean up some confusing code in `test/asan/TestCases/D [...] adds 036762794 [TSan] Update assembly code check. adds 323cb70b7 [TSan] Update assembly test again. adds f2f515f81 [libFuzzer] Enable tests on Windows adds 380632208 [sanitizer] optimize internal_memset for the most performance [...] adds 2b4497d17 [hwasan] add a unique id to a thread and add debug prints for [...] adds c6f74b297 [hwasan] remove stale Thread:: data members. While doing so n [...] adds 1bb74365d [hwasan] simplify the code, NFC adds c7eeac62b [hwasan] use real TLS on linux to store the current thread -- [...] adds 9f05349d7 [hwasan] print thread IDs when reporting a bug (also had to f [...] adds 4a25392c9 [hwasan] fix colored output adds b453ba0c6 [hwasan] revert r341435 as it breaks the bot on aarch64 adds 04755d673 Add glibc_prereq to platform limits mmsghdr adds b6bc00854 [Xray] Darwin providing defined value for weak symbols to fix [...] adds 9c7752695 Enable symbolize-deadlock.test on Windows adds ce4cd8613 [hwasan] deflake a test adds 5d9beaaf6 [libfuzzer] Replace memmem with strstr. adds eed7437a9 [hwasan] Don't handle signals on Android. adds fa9b5b44c [hwasan] simplify the code, NFC adds 7030ca8df [hwasan] when verbose_threads==1, print the memory usage per thread adds 07074edb9 [libfuzzer] Temporarily disable unittests failing on Windows. adds e4f05366b [MSan] store origins for variadic function parameters in __ms [...] adds e19c0b525 ARM: wrap call to __clzsi2 so that the name is correct on MachO. adds 5c244d0e0 [MSan] revert r341528 to unbreak the bots adds 1b5bbce04 [MSan] store origins for variadic function parameters in __ms [...] adds 2f42a5332 [libfuzzer] Fix fuzzer-oom.test on windows and reenable it. adds 475f14d20 [libfuzzer] Correct typo in comment (test commit). adds 6ec1600f2 [hwasan] introduce __hwasan_print_memory_usage adds 5f312b5cc [hwasan] fix pthread_exit adds d93b34be1 [hwasan] Remove allocator interceptors. adds 0a64c4f71 [hwasan] change the thread list so that main_thread can also [...] adds a65c89cd5 [hwasan] Fix malloc overflow detection. adds 8fa9bde1c [hwasan] make the print-memory-usage.c less agressive: do not [...] adds a677d5043 [libfuzzer] Use cl driver mode for tests and enable another t [...] adds 55b45084a [hwasan] relax the rint-memory-usage.c test further adds b0116e83c [libfuzzer] Enable trace-malloc-unballanced.test on Windows. adds 3218974ec [MSan] Define %clang_kmsan for KMSAN tests adds 92e97d13f [XRay] XRAY_NEVER_INSTRUMENT more functions, consolidate allocators adds e99eae546 [hwasan] Export memory stats through /proc/$PID/maps. adds 6b0b63ea5 Switch to using a reserved identifier for this internal compi [...] adds 8945e6a26 [hwasan] Disable print-memory-usage-android test. adds e843a7f98 [hwasan] rename two .cc tests into .c adds 74374cb96 [Windows] Include BaseTsd.h with lowercase adds 0433dc0b8 [hwasan] Re-enable print-memory-usage-android test. adds 12e9b20af [ASan] [Windows] Remove const from _msize function declaratio [...] adds d2e706f33 [Msan] Fix unit test linkage issue on FreeBSD adds 7da037031 [gcov] Fix branch counters with switch statements (fix PR38821) adds cd1fe50e5 [libFuzzer] [Windows] Include windows.h and psapi.h with lowercase adds e3814b050 [hwasan] tests for a buffer overflow with a large allocation adds d957c1601 [hwasan] On every use-after-free print a developer note: the [...] adds 0bd317ebc [TSan] Update test values adds c75544b66 [XRay] Bug fixes for FDR custom event and arg-logging adds 4ef35aa14 [hwasan] use a single Printf per line when printing a report [...] adds 46319a376 [XRay][clang] Emit "never-instrument" attribute adds d923c768a [asan] Fix test case failure on SystemZ adds 9d4690817 [libFuzzer] Disable value-profile-strncmp.test on aarch64. adds 48793d895 [XRay] Remove the deprecated __xray_log_init API adds 04d99b83f [XRay] Remove the unused variable adds 31c8a31fa [XRay] Fix FDR initialization adds 641b24594 [XRay] Simplify FDR buffer management adds 0177850a1 [sanitizer_common] Fuchsia now supports .preinit_array adds 3f946cd76 [UBSan] Partially fix `test/ubsan/TestCases/Misc/log-path_tes [...] adds 6f1aaf12f [libFuzzer] Avoid fuzzer symbols being hidden. adds 0c902dcd5 build: fix standalone builds for compiler-rt on Darwin adds d57a71d01 [builtins] Fix c?zdi2 on sparc64/Linux and ignore riscv32 adds 6c9f8f338 build: clean up some unnecessary cached variables adds f43b0036d [XRay][compiler-rt] FDRLogWriter Abstraction adds 137ed7f44 [XRay] Detect terminfo library adds 2fa618b34 [compiler-rt][TSan] Add TSan runtime support for Go on linux- [...] adds 01c0f7abd [UBSan] Fix typo in CMake conditional that checked if the arc [...] adds dacd48db0 [sanitizer][fuchsia] Fix VMAR leak adds 24e356b7c Revert "[XRay][compiler-rt] FDRLogWriter Abstraction" and 1 more. adds 9b7ccb138 [builtins] Add __emutls_unregister_key function adds 2e91b98ca [XRay][compiler-rt] FDRLogWriter Abstraction adds 58a112ea7 [winasan] Reduce hotpatch prefix check to 8 bytes adds 3d7a4b4d1 [sanitizer] Make __sanitizer::CheckFailed not public adds a5f872209 [winasan] Unpoison the stack in NtTerminateThread adds 04419a7eb Fix test after r342652 adds 00b02ed51 [profile] Fix tests in compiler-rt for patch in gcov (https:/ [...] adds 8ec2b2ea2 [Hwasan] interceptor macro / extra comma removal adds bfbccea25 [fuzzer] Replace FuzzerExtFunctionsDlsymWin.cpp with FuzzerEx [...] adds 28ed779c1 [profile] Fix the tests for patch in https://reviews.llvm.org [...] adds a270cdf8a [libfuzzer] Fix a test's run line adds 58bbd6421 [XRay][compiler-rt] Update use of internal_mmap adds c199a590f [sanitizer] Move __sanitizer_set_death_callback to a more app [...] adds 278a3aad4 SafeStack: Fix flaky test (PR39001) adds 11660ddaa [XRay] Clean up XRay build configuration adds 603f94a9c Fix the configuration of the Primary allocator for Darwin ARM [...] adds 706829da9 When running the ios/iossim prepare script show the script ou [...] adds 51ddca93a [profile] Revert commit https://reviews.llvm.org/rL342718 adds b58a8aade [compiler-rt] [builtins] Add logb/logbf/logbl methods to comp [...] adds 09eb360cf [hwasan] Record and display stack history in stack-based reports. adds e266b158a Revert "[hwasan] Record and display stack history in stack-ba [...] adds 17003a129 [hwasan] Record and display stack history in stack-based reports. adds c5cf78381 [Profile] Fix gcov tests adds c86dbc126 [Sanitizers] [MinGW] Check for __i386__ in addition to _M_IX8 [...] adds a9d51f10a [ASan] [Windows] Avoid including windows.h in asan_malloc_win.cc adds 47a959c92 [Sanitizers] [MinGW] Produce undecorated symbols for /export: [...] adds bf02e1380 Try to fix cosmetics to keep lines below 80 chars. NFC. adds 0813450ae [ASan] [MinGW] Only try to export MSVC specific C++ symbols i [...] adds fbd7e01f7 [CMake] [MinGW] Build address sanitizer for MinGW if building [...] adds 57be09573 Disable tests from r342917 on Windows; -lm won't work there adds 23a1107ab [winasan] Pin the ASan DLL to prevent unloading adds fedf618bc [asan] [windows] Don't use CheckFailed in dynamic runtime thunk mode adds bd8167999 [sanitizer] AndroidGetApiLevel for static executables. adds ff3184a8c [Coverage] Disable Linux/coverage-missing.cc in AddressSaniti [...] adds bf2aafb66 [compiler-rt][cmake][mips] Use -mabi option to select target [...] adds a9ffcafe1 [compiler-rt] [builtins] Restore tests from r342917 (disabled [...] adds fb213cb1e [sanitizer] Introduce a new SizeClassMap with minimal amount [...] adds ddfbfaba3 [compiler-rt][ubsan][NFC] Slight test cleanup in preparation [...] adds 88662d77b [sanitizer] Disable failing Android test after D52371 adds 3b8fabc11 [XRay] Add LD_LIBRARY_PATH to env variables for Unit Tests adds 4b59d3a1b [XRay] Fix argv0-log-file-name.cc race when tests are execute [...] adds ed77a775d [XRay] Guard local variables with `static` and struct with un [...] adds fdc8e0c0b [XRay] Fix fdr-thread-order.cc when current directory contain [...] adds 2979b63c9 Revert r342652 "[winasan] Unpoison the stack in NtTerminateThread" new f8f9fdb85 Creating branches/google/stable and tags/google/stable/2018-1 [...]
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 | 60 ++++ cmake/Modules/AddCompilerRT.cmake | 10 + cmake/Modules/CompilerRTUtils.cmake | 24 +- cmake/base-config-ix.cmake | 8 +- cmake/config-ix.cmake | 34 +- include/sanitizer/hwasan_interface.h | 11 + include/xray/xray_log_interface.h | 25 +- lib/asan/CMakeLists.txt | 5 +- lib/asan/asan_globals_win.cc | 2 +- lib/asan/asan_malloc_win.cc | 15 +- lib/asan/asan_new_delete.cc | 2 +- lib/asan/asan_win.cc | 8 + lib/builtins/arm/addsf3.S | 2 +- lib/builtins/clzdi2.c | 9 +- lib/builtins/ctzdi2.c | 9 +- lib/builtins/divdc3.c | 4 +- lib/builtins/divsc3.c | 5 +- lib/builtins/divtc3.c | 5 +- lib/builtins/emutls.c | 13 + lib/builtins/fp_lib.h | 57 ++++ lib/builtins/int_math.h | 4 - lib/builtins/int_util.c | 8 +- lib/builtins/int_util.h | 6 +- lib/builtins/ppc/divtc3.c | 12 +- lib/fuzzer/CMakeLists.txt | 2 +- lib/fuzzer/FuzzerDefs.h | 7 + lib/fuzzer/FuzzerDriver.cpp | 2 - lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp | 62 ---- lib/fuzzer/FuzzerExtFunctionsWeak.cpp | 2 +- lib/fuzzer/FuzzerFlags.def | 3 - lib/fuzzer/FuzzerIO.cpp | 8 - lib/fuzzer/FuzzerIO.h | 2 +- lib/fuzzer/FuzzerIOPosix.cpp | 7 + lib/fuzzer/FuzzerIOWindows.cpp | 22 +- lib/fuzzer/FuzzerLoop.cpp | 5 - lib/fuzzer/FuzzerMutate.cpp | 82 ++--- lib/fuzzer/FuzzerMutate.h | 25 +- lib/fuzzer/FuzzerOptions.h | 2 - lib/fuzzer/FuzzerTracePC.cpp | 3 +- lib/fuzzer/FuzzerUtilFuchsia.cpp | 11 +- lib/fuzzer/FuzzerUtilWindows.cpp | 6 +- lib/fuzzer/tests/CMakeLists.txt | 2 + lib/fuzzer/tests/FuzzerUnittest.cpp | 7 + lib/hwasan/CMakeLists.txt | 19 +- lib/hwasan/hwasan.cc | 126 +++++-- lib/hwasan/hwasan.h | 26 +- lib/hwasan/hwasan_allocator.cc | 207 +++++------- lib/hwasan/hwasan_allocator.h | 73 +++- lib/hwasan/hwasan_dynamic_shadow.cc | 30 +- lib/hwasan/hwasan_flags.h | 2 +- lib/hwasan/hwasan_flags.inc | 13 +- lib/hwasan/hwasan_interceptors.cc | 321 ++++-------------- lib/hwasan/hwasan_interface_internal.h | 56 +++- lib/hwasan/hwasan_linux.cc | 180 +++++----- lib/hwasan/hwasan_mapping.h | 63 +--- lib/hwasan/hwasan_poisoning.cc | 6 +- lib/hwasan/hwasan_poisoning.h | 2 +- lib/hwasan/hwasan_report.cc | 275 ++++++++++++--- lib/hwasan/hwasan_report.h | 1 + lib/hwasan/hwasan_thread.cc | 113 +++---- lib/hwasan/hwasan_thread.h | 62 +++- lib/hwasan/hwasan_thread_list.cc | 15 + lib/hwasan/hwasan_thread_list.h | 200 +++++++++++ lib/interception/interception.h | 1 + lib/interception/interception_win.cc | 8 +- lib/lsan/lsan_common.cc | 9 - lib/lsan/lsan_common_mac.cc | 8 +- lib/msan/msan.cc | 6 + lib/profile/WindowsMMap.h | 2 +- lib/safestack/safestack.cc | 9 +- lib/sanitizer_common/CMakeLists.txt | 1 + .../sanitizer_allocator_size_class_map.h | 5 + lib/sanitizer_common/sanitizer_common.cc | 5 - .../sanitizer_common_interceptors.inc | 4 +- lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 6 +- .../sanitizer_coverage_win_sections.cc | 53 ++- lib/sanitizer_common/sanitizer_fuchsia.cc | 55 +-- lib/sanitizer_common/sanitizer_internal_defs.h | 7 +- lib/sanitizer_common/sanitizer_libc.cc | 12 + lib/sanitizer_common/sanitizer_linux.cc | 41 ++- lib/sanitizer_common/sanitizer_linux_libcdep.cc | 4 +- lib/sanitizer_common/sanitizer_mac.cc | 24 +- lib/sanitizer_common/sanitizer_mac.h | 4 + lib/sanitizer_common/sanitizer_openbsd.cc | 16 +- lib/sanitizer_common/sanitizer_platform.h | 7 +- .../sanitizer_platform_limits_posix.cc | 9 +- lib/sanitizer_common/sanitizer_posix.h | 3 + lib/sanitizer_common/sanitizer_procmaps_mac.cc | 8 +- lib/sanitizer_common/sanitizer_ring_buffer.h | 162 +++++++++ lib/sanitizer_common/sanitizer_termination.cc | 9 + lib/sanitizer_common/sanitizer_win_defs.h | 20 +- lib/sanitizer_common/tests/CMakeLists.txt | 1 + .../tests/sanitizer_allocator_test.cc | 18 + .../tests/sanitizer_common_test.cc | 3 +- .../tests/sanitizer_ring_buffer_test.cc | 99 ++++++ lib/scudo/scudo_allocator.cpp | 15 +- lib/tsan/CMakeLists.txt | 9 + lib/tsan/check_analyze.sh | 12 +- lib/tsan/go/buildgo.sh | 13 +- lib/tsan/rtl/tsan_interceptors.cc | 3 +- lib/tsan/rtl/tsan_libdispatch_mac.cc | 5 +- lib/tsan/rtl/tsan_platform.h | 44 +++ lib/tsan/rtl/tsan_platform_linux.cc | 8 + lib/tsan/rtl/tsan_platform_mac.cc | 8 + lib/tsan/rtl/tsan_rtl_aarch64.S | 12 +- lib/tsan/rtl/tsan_rtl_amd64.S | 3 + lib/xray/CMakeLists.txt | 2 +- lib/xray/tests/CMakeLists.txt | 42 ++- lib/xray/tests/unit/CMakeLists.txt | 20 +- lib/xray/tests/unit/fdr_log_writer_test.cc | 92 +++++ lib/xray/tests/unit/fdr_logging_test.cc | 202 ----------- lib/xray/xray_allocator.h | 86 ++++- lib/xray/xray_basic_logging.cc | 75 ++--- lib/xray/xray_buffer_queue.cc | 102 +++--- lib/xray/xray_buffer_queue.h | 26 +- lib/xray/xray_fdr_log_records.h | 5 + lib/xray/xray_fdr_log_writer.h | 119 +++++++ lib/xray/xray_fdr_logging.cc | 369 ++++++++++----------- lib/xray/xray_function_call_trie.h | 61 ++-- lib/xray/xray_init.cc | 9 + lib/xray/xray_profile_collector.cc | 59 ++-- lib/xray/xray_profiling.cc | 68 ++-- lib/xray/xray_segmented_array.h | 84 +++-- lib/xray/xray_trampoline_x86_64.S | 2 + lib/xray/xray_x86_64.cc | 7 +- test/asan/TestCases/Darwin/segv_read_write.c | 5 +- test/asan/TestCases/Linux/coverage-missing.cc | 10 +- test/asan/TestCases/throw_catch.cc | 2 + test/builtins/Unit/compiler_rt_logb_test.c | 63 ++++ test/builtins/Unit/compiler_rt_logbf_test.c | 63 ++++ test/builtins/Unit/compiler_rt_logbl_test.c | 79 +++++ test/fuzzer/InitializeTest.cpp | 5 +- test/fuzzer/SymbolizeDeadlock.cpp | 1 - test/fuzzer/afl-driver-extra-stats.test | 2 + test/fuzzer/afl-driver-stderr.test | 3 +- test/fuzzer/coverage.test | 3 +- test/fuzzer/dso.test | 2 + test/fuzzer/dump_coverage.test | 3 +- test/fuzzer/exit_on_src_pos.test | 10 +- test/fuzzer/fuzzer-mutationstats.test | 10 - test/fuzzer/fuzzer-oom.test | 20 +- test/fuzzer/handle-unstable.test | 3 +- test/fuzzer/lit.cfg | 20 +- test/fuzzer/merge-control-file.test | 18 +- test/fuzzer/merge-posix.test | 1 + test/fuzzer/merge-sigusr.test | 4 +- test/fuzzer/minimize_crash.test | 1 + test/fuzzer/minimize_two_crashes.test | 4 +- test/fuzzer/null-deref-on-empty.test | 1 + test/fuzzer/null-deref.test | 1 + test/fuzzer/print_unstable_stats.test | 5 +- test/fuzzer/sigusr.test | 4 +- test/fuzzer/trace-malloc-threaded.test | 3 +- test/fuzzer/trace-malloc-unbalanced.test | 9 +- test/fuzzer/ulimit.test | 2 + test/fuzzer/value-profile-cmp.test | 2 + test/fuzzer/value-profile-cmp4.test | 2 + test/fuzzer/value-profile-load.test | 2 + test/fuzzer/value-profile-strncmp.test | 2 +- test/hwasan/TestCases/deep-recursion.c | 73 ++++ test/hwasan/TestCases/double-free.c | 23 ++ test/hwasan/TestCases/heap-buffer-overflow.c | 26 ++ test/hwasan/TestCases/longjmp.c | 8 +- test/hwasan/TestCases/malloc-test.c | 16 + test/hwasan/TestCases/many-threads-uaf.c | 45 +++ test/hwasan/TestCases/new-test.cc | 18 + test/hwasan/TestCases/print-memory-usage-android.c | 21 ++ test/hwasan/TestCases/print-memory-usage.c | 72 ++++ test/hwasan/TestCases/pthread_exit.c | 5 + test/hwasan/TestCases/realloc-after-free.c | 28 ++ test/hwasan/TestCases/realloc-test.cc | 37 +++ test/hwasan/TestCases/rich-stack.c | 66 ++++ test/hwasan/TestCases/sizes.cpp | 80 +++++ test/hwasan/TestCases/stack-history-length.c | 36 ++ test/hwasan/TestCases/stack-oob.c | 25 ++ test/hwasan/TestCases/stack-oob.cc | 25 -- .../hwasan/TestCases/{stack-uar.cc => stack-uar.c} | 6 +- test/hwasan/TestCases/thread-uaf.c | 56 ++++ test/hwasan/TestCases/uaf_with_rb_distance.c | 27 ++ test/hwasan/TestCases/use-after-free.c | 40 ++- test/lit.common.cfg | 26 +- .../TestCases/Linux/{fork.cc => fork_and_leak.cc} | 15 +- test/lsan/TestCases/Linux/fork_with_threads.cc | 35 -- test/msan/lit.cfg | 8 +- test/msan/vararg.cc | 60 ++++ .../Inputs/instrprof-gcov-exceptions.cpp.gcov | 2 +- test/profile/Inputs/instrprof-gcov-switch1.c.gcov | 4 +- test/profile/Inputs/instrprof-gcov-switch2.c.gcov | 4 +- test/profile/Inputs/instrprof-shared-main.c.gcov | 4 +- test/profile/instrprof-dlopen-dlclose-gcov.test | 4 +- .../instrprof-gcov-multiple-bbs-single-line.test | 2 - test/profile/instrprof-gcov-two-objects.test | 2 +- test/profile/instrprof-shared-gcov-flush.test | 8 +- test/safestack/pthread-cleanup.c | 24 +- test/safestack/pthread-stack-size.c | 53 +++ test/sanitizer_common/ios_commands/iossim_run.py | 24 +- test/tsan/Darwin/gcd-sync-block-copy.mm | 34 ++ test/ubsan/CMakeLists.txt | 63 ++++ .../ImplicitConversion/integer-conversion.c | 332 +++++++++++++++--- .../ImplicitConversion/integer-truncation.c | 363 +++++++++++++++++--- test/ubsan/TestCases/Misc/log-path_test.cc | 2 + test/ubsan/TestCases/Pointer/index-overflow.cpp | 6 +- .../Pointer/unsigned-index-expression.cpp | 2 +- test/ubsan/lit.common.cfg | 5 + test/ubsan/lit.site.cfg.in | 1 + test/xray/TestCases/Posix/argv0-log-file-name.cc | 2 +- .../TestCases/Posix/clang-no-xray-instrument.cc | 11 + test/xray/TestCases/Posix/fdr-mode.cc | 1 - test/xray/TestCases/Posix/fdr-single-thread.cc | 8 +- test/xray/TestCases/Posix/fdr-thread-order.cc | 27 +- .../TestCases/Posix/profiling-multi-threaded.cc | 2 +- test/xray/Unit/lit.site.cfg.in | 8 + unittests/lit.common.unit.configured.in | 1 + 213 files changed, 4738 insertions(+), 2072 deletions(-) delete mode 100644 lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp create mode 100644 lib/hwasan/hwasan_thread_list.cc create mode 100644 lib/hwasan/hwasan_thread_list.h create mode 100644 lib/sanitizer_common/sanitizer_ring_buffer.h create mode 100644 lib/sanitizer_common/tests/sanitizer_ring_buffer_test.cc create mode 100644 lib/xray/tests/unit/fdr_log_writer_test.cc delete mode 100644 lib/xray/tests/unit/fdr_logging_test.cc create mode 100644 lib/xray/xray_fdr_log_writer.h create mode 100644 test/builtins/Unit/compiler_rt_logb_test.c create mode 100644 test/builtins/Unit/compiler_rt_logbf_test.c create mode 100644 test/builtins/Unit/compiler_rt_logbl_test.c delete mode 100644 test/fuzzer/fuzzer-mutationstats.test create mode 100644 test/hwasan/TestCases/deep-recursion.c create mode 100644 test/hwasan/TestCases/double-free.c create mode 100644 test/hwasan/TestCases/heap-buffer-overflow.c create mode 100644 test/hwasan/TestCases/malloc-test.c create mode 100644 test/hwasan/TestCases/many-threads-uaf.c create mode 100644 test/hwasan/TestCases/new-test.cc create mode 100644 test/hwasan/TestCases/print-memory-usage-android.c create mode 100644 test/hwasan/TestCases/print-memory-usage.c create mode 100644 test/hwasan/TestCases/pthread_exit.c create mode 100644 test/hwasan/TestCases/realloc-after-free.c create mode 100644 test/hwasan/TestCases/realloc-test.cc create mode 100644 test/hwasan/TestCases/rich-stack.c create mode 100644 test/hwasan/TestCases/sizes.cpp create mode 100644 test/hwasan/TestCases/stack-history-length.c create mode 100644 test/hwasan/TestCases/stack-oob.c delete mode 100644 test/hwasan/TestCases/stack-oob.cc rename test/hwasan/TestCases/{stack-uar.cc => stack-uar.c} (61%) create mode 100644 test/hwasan/TestCases/thread-uaf.c create mode 100644 test/hwasan/TestCases/uaf_with_rb_distance.c copy test/lsan/TestCases/Linux/{fork.cc => fork_and_leak.cc} (52%) delete mode 100644 test/lsan/TestCases/Linux/fork_with_threads.cc create mode 100644 test/msan/vararg.cc create mode 100644 test/safestack/pthread-stack-size.c create mode 100644 test/tsan/Darwin/gcd-sync-block-copy.mm create mode 100644 test/xray/TestCases/Posix/clang-no-xray-instrument.cc