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 9e63074 Updating branches/google/stable to r297704 adds 1b3f101 Some ASan bots (AArch64 at least) use SEGV for a unit test er [...] adds eac3043 [ubsan] Add diagnostic handlers for nullability errors adds d112f65 [ubsan] Add nullability handlers to interface file adds 38d71b5 [compiler-rt][builtins] __isOSVersionAtLeast should load Core [...] adds 622ea83 After rL297370 and rL297383, instead of a platform check, exp [...] adds 625d95f [cfi] Add test for type metadata split issue. adds 69dc77e [cfi] Disable bad-split test on win32. adds 13cc5fb [msan] Intercept wcsncpy, wcsnlen. adds 56deed0 Fix a build break with xray adds 438d9c8 [XRay][compiler-rt] Support TSC emulation even for x86_64 adds ed26f06 [XRay] [compiler-rt] Refactor logic for xray fdr logging. NFC. adds 5492941 [compiler-rt][builtins] Ignore the deprecated warning for CFP [...] adds ca1faf3 [msan] Relax lit check in wcsncpy.cc adds 53923f5 Fix -Wstring-conversion instance adds 9f44a79 Add NO_EXEC_STACK_DIRECTIVE to xray assembly files. adds 17eb0ac [PGO] Value profile support for value ranges adds ae48dbe [asan] add one more argument to __sanitizer_print_memory_prof [...] adds 201864e [asan] trying to fix the windows build adds fe89b8c [msan] Intercept getloadavg. adds ad103a5 [compiler-rt] Add undefined "dup" symbol into internal symbol [...] adds 539aa9b [PowerPC] Fix sanitizer frame unwind on 32-bit ABIs adds a9c6084 Fix macOS version detection to also allow missing 3rd part of [...] adds 0dc7254 Revert "[PowerPC] Fix sanitizer frame unwind on 32-bit ABIs" adds 44a0242 [XRay][compiler-rt] Add missing include for <functional> adds 7e119a3 [XRay][compiler-rt] Add missing include to <string> adds 4fdab5b Resubmit r295469 [PGO] Suspend SIGKILL for PR_SET_PDEATHSIG i [...] adds b044070 [ubsan] Add e2e test for -fsanitize=nullability adds 93b8798 [asan] Fix dead stripping of globals on Linux (compiler-rt) adds 209c570 [asan] Disable globals-gc test with ld.bfd. adds a938e22 [asan] Remove gc-sections test with bfd. adds 3cdb20b Fix sanitizer tests with LLVM_TOOL_LLD_BUILD=OFF. adds e656508 Add extra return value checks into stack-use-after-return.cc [...] adds 257bbc4 Change stack-use-after-return.cc to respect PTHREAD_STACK_MIN [...] adds acee824 Apparently, PTHREAD_STACK_MIN can be in limits.h on some systems... adds da9f41b Re-commit of r296706 ("Increase stack size for stack-use-afte [...] adds 5b35013 Use pthreads for thread-local lsan allocator cache on darwin adds 101784f Revert "Use pthreads for thread-local lsan allocator cache on [...] adds c8bc492 Disable stack-use-after-return.cc on AArch64. The test was n [...] adds a361250 Use pthreads for thread-local lsan allocator cache on darwin adds dc8b945 Revert r298174, r298173, r298169, r298159. adds 2435d1f Bypass potential libc's sysconf wrappers for sysconf(_SC_PAGE [...] adds 43d584f [Builtin] Implement lit-test support (part 1 of 2: test cases [...] adds afa3b5b Revert "Bypass potential libc's sysconf wrappers for sysconf( [...] adds 1698c9f tsan: add test for pie/no aslr adds 8f11738 tsan: support __ATOMIC_HLE_ACQUIRE/RELEASE flags adds 9ede2eb Revert r298274: "Use pthreads for thread-local lsan allocator [...] adds 7ea4025 tsan: fix pie_no_aslr test adds ba802a4 [compiler-rt] respect CMAKE_EXE_LINKER_FLAGS in compiler and [...] adds 101bbf4 Revert "[compiler-rt][asan] Turn on ASAN unittests for win64." adds 4273830 XFAIL CFI stats test while LLD produces corrupt PDBs that con [...] adds 6a33234 [XRay][compiler-rt] Remove dependency on <system_error> adds ec69c0c tsan: fix a typo adds 955475a [compiler-rt] build compiler-rt runtimes without LTO adds 65ede46 Factor lsan allocator cache accesses into a function adds 5d7bda4 Make nullability test pass on Windows, which evaluates parame [...] adds 9440162 Use lld-link /nopdb to suppress PDB generation when DWARF is [...] adds aaa8f43 Bypass potential libc's sysconf interceptors adds 16ed729 [scudo] Add test exercising pthreads adds 8db84b5 [asan] Add an interceptor for strtok adds d218b6e Add strtok interceptor for ASAN for Windows. adds 5788957 Update the Darwin/external.cc testcase to use rpath. This mea [...] adds 4980e83 Fix a warning when running the GotsanRuntimeCheck test on Darwin. adds 4bb8e9c [XRay] [compiler-rt] Plug a file descriptor leak in a failure case. new 04ce634 Updating branches/google/stable to r298696
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 | 10 - cmake/Modules/AddCompilerRT.cmake | 11 +- cmake/Modules/CompilerRTDarwinUtils.cmake | 4 +- cmake/Modules/CompilerRTUtils.cmake | 7 +- include/sanitizer/common_interface_defs.h | 4 +- lib/asan/asan_malloc_win.cc | 2 +- lib/asan/asan_memory_profile.cc | 27 +- lib/asan/asan_win_dll_thunk.cc | 1 + lib/asan/tests/asan_test.cc | 2 +- lib/builtins/os_version_check.c | 88 +++- lib/lsan/lsan_allocator.cc | 17 +- lib/msan/msan_interceptors.cc | 21 + lib/profile/InstrProfData.inc | 17 +- lib/profile/InstrProfilingFile.c | 9 + lib/profile/InstrProfilingUtil.c | 23 + lib/profile/InstrProfilingUtil.h | 8 + lib/profile/InstrProfilingValue.c | 29 ++ .../sanitizer_allocator_interface.h | 5 +- lib/sanitizer_common/sanitizer_common.cc | 7 - .../sanitizer_common_interceptors.inc | 63 +++ .../sanitizer_common_interface.inc | 2 +- lib/sanitizer_common/sanitizer_common_libcdep.cc | 2 +- lib/sanitizer_common/sanitizer_flags.inc | 3 + lib/sanitizer_common/sanitizer_linux.cc | 18 +- lib/sanitizer_common/sanitizer_mac.cc | 6 +- .../sanitizer_platform_interceptors.h | 4 + .../symbolizer/scripts/global_symbols.txt | 1 + lib/tsan/rtl/tsan_interface_atomic.cc | 19 +- lib/ubsan/ubsan_handlers.cc | 51 ++- lib/ubsan/ubsan_handlers.h | 8 +- lib/ubsan/ubsan_interface.inc | 4 + lib/xray/tests/unit/CMakeLists.txt | 2 + lib/xray/tests/unit/buffer_queue_test.cc | 35 +- lib/xray/tests/unit/xray_fdr_log_printer_tool.cc | 330 ++++++++++++++ lib/xray/xray_buffer_queue.cc | 26 +- lib/xray/xray_buffer_queue.h | 37 +- .../{xray_fdr_logging.h => xray_fdr_log_records.h} | 41 +- lib/xray/xray_fdr_logging.cc | 349 +------------- lib/xray/xray_fdr_logging.h | 54 +-- ...xray_fdr_logging.cc => xray_fdr_logging_impl.h} | 506 ++++++++++----------- lib/xray/xray_inmemory_log.cc | 43 +- lib/xray/xray_trampoline_AArch64.S | 4 + lib/xray/xray_trampoline_arm.S | 4 + lib/xray/xray_trampoline_x86_64.S | 4 + lib/xray/xray_tsc.h | 8 +- lib/xray/xray_utils.cc | 1 + lib/xray/xray_x86_64.cc | 2 +- test/asan/CMakeLists.txt | 12 + .../TestCases/Linux/print_memory_profile_test.cc | 26 +- .../asan/TestCases/Posix/stack-use-after-return.cc | 36 +- test/asan/TestCases/Windows/fuse-lld.cc | 4 +- test/asan/TestCases/strtok.c | 108 +++++ .../os_version_check_test_no_core_foundation.c | 12 + test/builtins/Unit/absvdi2_test.c | 1 + test/builtins/Unit/absvsi2_test.c | 1 + test/builtins/Unit/absvti2_test.c | 1 + test/builtins/Unit/adddf3vfp_test.c | 1 + test/builtins/Unit/addsf3vfp_test.c | 1 + test/builtins/Unit/addtf3_test.c | 1 + test/builtins/Unit/addvdi3_test.c | 1 + test/builtins/Unit/addvsi3_test.c | 1 + test/builtins/Unit/addvti3_test.c | 1 + test/builtins/Unit/arm/aeabi_cdcmpeq_test.c | 3 + test/builtins/Unit/arm/aeabi_cdcmple_test.c | 4 + test/builtins/Unit/arm/aeabi_cfcmpeq_test.c | 3 + test/builtins/Unit/arm/aeabi_cfcmple_test.c | 4 + test/builtins/Unit/arm/aeabi_drsub_test.c | 2 + test/builtins/Unit/arm/aeabi_frsub_test.c | 2 + test/builtins/Unit/arm/aeabi_idivmod_test.c | 2 + test/builtins/Unit/arm/aeabi_uidivmod_test.c | 2 + test/builtins/Unit/arm/aeabi_uldivmod_test.c | 2 + test/builtins/Unit/arm/call_apsr.S | 8 +- test/builtins/Unit/ashldi3_test.c | 1 + test/builtins/Unit/ashlti3_test.c | 1 + test/builtins/Unit/ashrdi3_test.c | 1 + test/builtins/Unit/ashrti3_test.c | 1 + test/builtins/Unit/bswapdi2_test.c | 2 + test/builtins/Unit/bswapsi2_test.c | 2 + test/builtins/Unit/clear_cache_test.c | 3 + test/builtins/Unit/clzdi2_test.c | 1 + test/builtins/Unit/clzsi2_test.c | 1 + test/builtins/Unit/clzti2_test.c | 1 + test/builtins/Unit/cmpdi2_test.c | 1 + test/builtins/Unit/cmpti2_test.c | 1 + test/builtins/Unit/comparedf2_test.c | 4 + test/builtins/Unit/comparesf2_test.c | 4 + test/builtins/Unit/cpu_model_test.c | 8 +- test/builtins/Unit/ctzdi2_test.c | 1 + test/builtins/Unit/ctzsi2_test.c | 1 + test/builtins/Unit/ctzti2_test.c | 1 + test/builtins/Unit/divdc3_test.c | 1 + test/builtins/Unit/divdf3vfp_test.c | 1 + test/builtins/Unit/divdi3_test.c | 1 + test/builtins/Unit/divmodsi4_test.c | 1 + test/builtins/Unit/divsc3_test.c | 1 + test/builtins/Unit/divsf3vfp_test.c | 1 + test/builtins/Unit/divsi3_test.c | 1 + test/builtins/Unit/divtc3_test.c | 1 + test/builtins/Unit/divtf3_test.c | 1 + test/builtins/Unit/divti3_test.c | 1 + test/builtins/Unit/divxc3_test.c | 1 + test/builtins/Unit/enable_execute_stack_test.c | 2 + test/builtins/Unit/eqdf2vfp_test.c | 4 + test/builtins/Unit/eqsf2vfp_test.c | 4 + test/builtins/Unit/eqtf2_test.c | 1 + test/builtins/Unit/extebdsfdf2vfp_test.c | 1 + test/builtins/Unit/extenddftf2_test.c | 1 + test/builtins/Unit/extendhfsf2_test.c | 1 + test/builtins/Unit/extendsftf2_test.c | 1 + test/builtins/Unit/ffsdi2_test.c | 1 + test/builtins/Unit/ffsti2_test.c | 1 + test/builtins/Unit/fixdfdi_test.c | 1 + test/builtins/Unit/fixdfsivfp_test.c | 4 + test/builtins/Unit/fixdfti_test.c | 1 + test/builtins/Unit/fixsfdi_test.c | 1 + test/builtins/Unit/fixsfsivfp_test.c | 4 + test/builtins/Unit/fixsfti_test.c | 1 + test/builtins/Unit/fixtfdi_test.c | 1 + test/builtins/Unit/fixtfsi_test.c | 1 + test/builtins/Unit/fixtfti_test.c | 1 + test/builtins/Unit/fixunsdfdi_test.c | 1 + test/builtins/Unit/fixunsdfsi_test.c | 1 + test/builtins/Unit/fixunsdfsivfp_test.c | 1 + test/builtins/Unit/fixunsdfti_test.c | 1 + test/builtins/Unit/fixunssfdi_test.c | 1 + test/builtins/Unit/fixunssfsi_test.c | 1 + test/builtins/Unit/fixunssfsivfp_test.c | 4 + test/builtins/Unit/fixunssfti_test.c | 1 + test/builtins/Unit/fixunstfdi_test.c | 1 + test/builtins/Unit/fixunstfsi_test.c | 1 + test/builtins/Unit/fixunstfti_test.c | 1 + test/builtins/Unit/fixunsxfdi_test.c | 1 + test/builtins/Unit/fixunsxfsi_test.c | 1 + test/builtins/Unit/fixunsxfti_test.c | 4 + test/builtins/Unit/fixxfdi_test.c | 1 + test/builtins/Unit/fixxfti_test.c | 4 + test/builtins/Unit/floatdidf_test.c | 1 + test/builtins/Unit/floatdisf_test.c | 1 + test/builtins/Unit/floatditf_test.c | 1 + test/builtins/Unit/floatdixf_test.c | 1 + test/builtins/Unit/floatsidfvfp_test.c | 1 + test/builtins/Unit/floatsisfvfp_test.c | 1 + test/builtins/Unit/floatsitf_test.c | 1 + test/builtins/Unit/floattidf_test.c | 1 + test/builtins/Unit/floattisf_test.c | 1 + test/builtins/Unit/floattitf_test.c | 1 + test/builtins/Unit/floattixf_test.c | 4 + test/builtins/Unit/floatundidf_test.c | 1 + test/builtins/Unit/floatundisf_test.c | 1 + test/builtins/Unit/floatunditf_test.c | 1 + test/builtins/Unit/floatundixf_test.c | 1 + test/builtins/Unit/floatunsitf_test.c | 1 + test/builtins/Unit/floatunssidfvfp_test.c | 1 + test/builtins/Unit/floatunssisfvfp_test.c | 1 + test/builtins/Unit/floatuntidf_test.c | 1 + test/builtins/Unit/floatuntisf_test.c | 1 + test/builtins/Unit/floatuntitf_test.c | 1 + test/builtins/Unit/floatuntixf_test.c | 4 + test/builtins/Unit/gcc_personality_test.c | 3 + test/builtins/Unit/gedf2vfp_test.c | 4 + test/builtins/Unit/gesf2vfp_test.c | 4 + test/builtins/Unit/getf2_test.c | 1 + test/builtins/Unit/gtdf2vfp_test.c | 4 + test/builtins/Unit/gtsf2vfp_test.c | 4 + test/builtins/Unit/gttf2_test.c | 1 + test/builtins/Unit/ledf2vfp_test.c | 4 + test/builtins/Unit/lesf2vfp_test.c | 4 + test/builtins/Unit/letf2_test.c | 1 + test/builtins/Unit/lshrdi3_test.c | 1 + test/builtins/Unit/lshrti3_test.c | 1 + test/builtins/Unit/ltdf2vfp_test.c | 4 + test/builtins/Unit/ltsf2vfp_test.c | 4 + test/builtins/Unit/lttf2_test.c | 1 + test/builtins/Unit/moddi3_test.c | 1 + test/builtins/Unit/modsi3_test.c | 1 + test/builtins/Unit/modti3_test.c | 1 + test/builtins/Unit/muldc3_test.c | 1 + test/builtins/Unit/muldf3vfp_test.c | 1 + test/builtins/Unit/muldi3_test.c | 1 + test/builtins/Unit/mulodi4_test.c | 1 + test/builtins/Unit/mulosi4_test.c | 1 + test/builtins/Unit/muloti4_test.c | 1 + test/builtins/Unit/mulsc3_test.c | 1 + test/builtins/Unit/mulsf3vfp_test.c | 1 + test/builtins/Unit/multc3_test.c | 1 + test/builtins/Unit/multf3_test.c | 1 + test/builtins/Unit/multi3_test.c | 1 + test/builtins/Unit/mulvdi3_test.c | 1 + test/builtins/Unit/mulvsi3_test.c | 1 + test/builtins/Unit/mulvti3_test.c | 1 + test/builtins/Unit/mulxc3_test.c | 1 + test/builtins/Unit/nedf2vfp_test.c | 4 + test/builtins/Unit/negdf2vfp_test.c | 1 + test/builtins/Unit/negdi2_test.c | 1 + test/builtins/Unit/negsf2vfp_test.c | 1 + test/builtins/Unit/negti2_test.c | 1 + test/builtins/Unit/negvdi2_test.c | 1 + test/builtins/Unit/negvsi2_test.c | 1 + test/builtins/Unit/negvti2_test.c | 1 + test/builtins/Unit/nesf2vfp_test.c | 4 + test/builtins/Unit/netf2_test.c | 1 + test/builtins/Unit/paritydi2_test.c | 1 + test/builtins/Unit/paritysi2_test.c | 1 + test/builtins/Unit/parityti2_test.c | 1 + test/builtins/Unit/popcountdi2_test.c | 1 + test/builtins/Unit/popcountsi2_test.c | 1 + test/builtins/Unit/popcountti2_test.c | 1 + test/builtins/Unit/powidf2_test.c | 1 + test/builtins/Unit/powisf2_test.c | 1 + test/builtins/Unit/powitf2_test.c | 1 + test/builtins/Unit/powixf2_test.c | 1 + test/builtins/Unit/ppc/fixtfdi_test.c | 2 + test/builtins/Unit/ppc/floatditf_test.c | 2 + test/builtins/Unit/ppc/floatunditf_test.c | 2 + test/builtins/Unit/ppc/qadd_test.c | 2 + test/builtins/Unit/ppc/qdiv_test.c | 2 + test/builtins/Unit/ppc/qmul_test.c | 2 + test/builtins/Unit/ppc/qsub_test.c | 2 + test/builtins/Unit/subdf3vfp_test.c | 1 + test/builtins/Unit/subsf3vfp_test.c | 1 + test/builtins/Unit/subtf3_test.c | 1 + test/builtins/Unit/subvdi3_test.c | 1 + test/builtins/Unit/subvsi3_test.c | 1 + test/builtins/Unit/subvti3_test.c | 1 + test/builtins/Unit/trampoline_setup_test.c | 1 + test/builtins/Unit/truncdfhf2_test.c | 4 + test/builtins/Unit/truncdfsf2_test.c | 4 + test/builtins/Unit/truncdfsf2vfp_test.c | 1 + test/builtins/Unit/truncsfhf2_test.c | 4 + test/builtins/Unit/trunctfdf2_test.c | 1 + test/builtins/Unit/trunctfsf2_test.c | 1 + test/builtins/Unit/ucmpdi2_test.c | 1 + test/builtins/Unit/ucmpti2_test.c | 1 + test/builtins/Unit/udivdi3_test.c | 1 + test/builtins/Unit/udivmoddi4_test.c | 1 + test/builtins/Unit/udivmodsi4_test.c | 1 + test/builtins/Unit/udivmodti4_test.c | 1 + test/builtins/Unit/udivsi3_test.c | 1 + test/builtins/Unit/udivti3_test.c | 1 + test/builtins/Unit/umoddi3_test.c | 1 + test/builtins/Unit/umodsi3_test.c | 1 + test/builtins/Unit/umodti3_test.c | 1 + test/builtins/Unit/unorddf2vfp_test.c | 4 + test/builtins/Unit/unordsf2vfp_test.c | 4 + test/builtins/Unit/unordtf2_test.c | 1 + test/cfi/bad-split.cpp | 21 + test/lit.common.cfg | 8 +- test/msan/getloadavg.cc | 16 + test/msan/wcsncpy.cc | 38 ++ .../Linux/sysconf_interceptor_bypass_test.cc | 25 + .../threads.cpp} | 32 +- test/tsan/Darwin/external.cc | 15 +- test/tsan/Linux/pie_no_aslr.cc | 6 + test/tsan/atomic_hle.cc | 25 + test/ubsan/TestCases/Misc/nullability.c | 62 +++ 255 files changed, 1804 insertions(+), 874 deletions(-) create mode 100644 lib/xray/tests/unit/xray_fdr_log_printer_tool.cc copy lib/xray/{xray_fdr_logging.h => xray_fdr_log_records.h} (63%) copy lib/xray/{xray_fdr_logging.cc => xray_fdr_logging_impl.h} (58%) create mode 100644 test/asan/TestCases/strtok.c create mode 100644 test/builtins/TestCases/Darwin/os_version_check_test_no_core_fo [...] create mode 100644 test/cfi/bad-split.cpp create mode 100644 test/msan/getloadavg.cc create mode 100644 test/msan/wcsncpy.cc create mode 100644 test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypas [...] copy test/{lsan/TestCases/high_allocator_contention.cc => scudo/threads.cpp} (53%) create mode 100644 test/tsan/Linux/pie_no_aslr.cc create mode 100644 test/tsan/atomic_hle.cc create mode 100644 test/ubsan/TestCases/Misc/nullability.c