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 e883fbd Updating branches/google/stable to r275480 adds 787bbab Add runtime support for __cpu_model (__builtin_cpu_supports) adds b15fb92 [compiler-rt] Fix missing frame with stackwalking on windows 64-bits adds 4990a15 [compiler-rt] Add internal wcslen to avoid crashing on window [...] adds 89b4df6 [compiler-rt] Add more assembly patterns for interception adds e673d26 [compiler-rt] Fix missing argument in asan unittest adds 552ecd1 address comments in: https://reviews.llvm.org/D22363 adds 48ccea3 [asan] Avoid hooking memchr() on Windows64 adds d52bb2c [asan] Reduce flakiness of halt_on_error-torture.cc testcase. adds 69d7486 TestCase null_deref was failing in Win64: adds 3b79223 [compiler-rt] Fix incorrect handling of indirect load. adds aff36bd [compiler-rt] Fix 64-bits exception handlers in ASAN 64-bits runtime adds 35348de [Profile] instroduce portability macro for dir separator(s adds b2df854 [sanitizers] add interceptor for memmem; add weak hooks for s [...] adds 906ef8a Fix a typeo. adds 6b635bc [asan] trying to fix the windows build adds 72a44e7 [compiler-rt] Change all asm directives to __asm__ in cpu_model. adds f9fc3de [Compiler-rt][MIPS] Fix simple test failure when using gcc adds 3e87a26 [asan] Enable 48-bit VMA support on aarch64 adds 53e2f16 Code refactoring: extract path prefix handling code adds a355ad7 revert https://reviews.llvm.org/D22393 adds f49accb [compiler-rt] Allow trampoline allocation further and 1 gig. adds 30e6ecf [compiler-rt] Fix incorrect handling of indirect load. adds f609165 [interception] Remove extra whitespace to appease linters (NFC) adds 189001e [esan] Fix sideline thread flaky assert adds 818c124 [esan|wset] Fix flaky sampling tests adds 39eb588 [compiler-rt] Fix Asan imports/exports unittest adds ed089f6 fix compiler warnings [NFC] adds b6496a0 Add detect_stack_use_after_scope runtime flag adds 81ebff1 [Profile] use portable macro /NFC adds cb081e1 [Profile] move utility interfaces to the right header /NFC adds d9a4e3b [Profile] introduce reusable internal interfaces to find dir [...] adds 66e5058 [asan] trying to fix the android bot adds 2de41ff [Profile] Introduce lit test vars for IR based instrumentation adds c2512f9 [Profile] Test cleanup -- use new lit var for IR PGO tests /NFC adds cd77671 [Profile] implement interface to get profile path prefix adds 23636c0 Minor cleanup -- clear name structure before parsing adds dfe8529 tsan: fix leak of shadow stacks adds 5868c7a tsan: fix windows build adds e35e7c0 tsan: fix windows build adds 9b1dbf0 [compiler-rt] [XRay] Basic initialization and flag definition [...] adds 9b0d7ca [compiler-rt/asan] Disable irrelevant unittest on win64 adds 93908cb [xray] Only build xray on Linux for now adds d12ad4c Try to deflake Windows/dll_host.cc test by not using repeated [...] adds 3cc261c [asan] trying to fix the android bot adds 04bd193 fix flaky test on windows sanitizer bots adds ff39f08 [compiler-rt] Fix target architecture matching adds 577d0c7 [compiler-rt] Don't require c++ headers when configuring comp [...] adds 3aa2882 [compiler-rt] Fix broken unittest related to 64-bit print format adds 3261cf3 Revert r276117 "[XRay] Basic initialization and flag definiti [...] adds 60a3529 revert rL276179: [compiler-rt] Fix broken unittest related to [...] adds c700ae8 [sanitizers] split sanitizer_allocator.h into a number of sma [...] adds 25323c8 Sync up with llvm copy /NFC adds 7e0b650 [Profile] Cleanup test to use new dir input feature adds a793e98 [Profile] More test clean up to read profile from directory s [...] adds b935daf [compiler-rt] Fix broken SymInitialize unittest adds ab43867 [Profile] Add new test to cover %m specifier with shared libr [...] adds 60e43fa [Profile] bug fix: profile dir not recursively created adds 1158112 [compiler-rt][XRay] re-submitting r276117, with fixes for bui [...] adds 1690c43 Default XRay building to OFF to let build bots that do not su [...] adds 437846d Attempt to fix clang-cmake-mips after r268977. adds f71ccc4 Revert r276256 - Attempt to fix clang-cmake-mips after r268977. adds 3b9d484 [compiler-rt] Fix broken unittest on win64 adds 8a7ad02 [compiler-rt] Disable some unittests on windows that rely on [...] adds dbd9120 [compiler-rt] Fix memmove/memcpy overlap detection on windows adds 4cfee0d fix https://reviews.llvm.org/D22610 AppleClang can't compile [...] adds c8da6db Fix clang-cl warning and crash in sanitizers adds 52ee88f [sanitizer] allocator: remove kPopulateSize and only use Size [...] adds 9a0088d [compiler-rt] Fix interception of memcpy/memmove on win64 adds 69027c3 Fix unsymbolize unittest. Adding win64 address. adds 839a300 Disable thread safe statics in clang-cl, they call the CRT adds 1a53607 [asan] Fix Win64 test portability issues adds 6ba3f10 Enable cross-compilation across architectures on android adds 829778e [compiler-rt] Add support for relative offset adjustment in i [...] adds 396ca7b [sanitizer] better allocator stats (with rss) adds 3fceb3a [sanitizer] trying to fix Mac bots adds 1b003f1 [Profile] deprecate __llvm_profile_override_default_filename (part2) adds 8fae70f Add test to check detection of stack-use-after-scope on vario [...] adds 60d3255 Fix test on windows adds 35fed24 [sanitizer] allocator: introduce kUseSeparateSizeClassForBatc [...] adds e59bbb7 fix windows adds 621a4a2 [asan] revert to using -std=c++11 on test/asan/TestCases/use [...] adds a8fa5b0 Fix test on windows, symbolizer returns invalid line adds e7c718a [sanitizer] refactor TransferBatch to hide the implementation. NFC adds a581715 [Profile] cleanup: do not reference name directly of vars sha [...] adds cdd2596 [compiler-rt][cmake] Don't reset CAN_TARGET_${arch} on every [...] adds 1f1a9f3 [sanitizers] Enable sanitizer_common tests on Win64 adds 29ebba1 Try to fix more Windows portability issues in sanitizer tests adds 3aeb91b [sanitizer] revert r276383 while investigating failures on bot adds 5e3c08d Revert "fix https://reviews.llvm.org/D22610" and "[compiler-r [...] adds bdfee44 [Profile] Add new test adds bad1992 [Profile] Fix a fixme in the test adds 0aa44be [Profile] Tighten test with expected profile count adds fdf64a3 Fix buildbot failure adds d307ca2 Silence -Wpointer-bool-conversion warning after r276324 adds bb6c145 Revert r276539 "Silence -Wpointer-bool-conversion warning aft [...] adds 5d5ea7d Revert "Enable cross-compilation across architectures on android" adds 897f910 Define compatibility flag if not defined with -std=c++ adds 347a2df [sanitizer] Try to fix LargeMmapAllocator test on Windows adds f3d08b7 [asan] Hardcode page size 4096 on Android. adds f31b45b [asan] Remove zero FSR check on ARM. adds 4074d89 Use RAII for ensuring that mprotect calls are undone adds 23240d8 Default COMPILER_RT_BUILD_XRAY=ON adds 8f6f382 Revert "Default COMPILER_RT_BUILD_XRAY=ON" adds e6d3245 tsan: don't deliver signals when they are blocked adds 1b184ea [compiler-rt] Activate interception unittests adds be0a858 [compiler-rt] Fix warnings in interception code adds 9eac489 Fix broken build bot adds 41a0641 [asan] Enable the rest of use-after-scope tests adds 7a19aeb [compiler-rt][XRay] Address follow-up comments to initial int [...] adds ceb8b23 tsan: Enable 48-bit VMA support on aarch64 adds 637bbbc [Profile] Add a new test case adds 455c89e [compiler-rt] Add support for interception redirect exports. adds 4e4cbf9 XFAIL one sanitizer symbolizer test for FreeBSD adds c4a8d5b Fix ASan alloca_constant_size.cc test on FreeBSD. adds df1cd1f Fix a bug in lit var def: remove extra space new ee15478 Updating branches/google/stable to r277323
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 +- cmake/Modules/CompilerRTUtils.cmake | 24 +- cmake/base-config-ix.cmake | 4 +- cmake/config-ix.cmake | 15 +- include/CMakeLists.txt | 13 +- include/sanitizer/common_interface_defs.h | 11 + include/sanitizer/esan_interface.h | 4 + include/xray/xray_interface.h | 58 + lib/CMakeLists.txt | 14 +- lib/asan/asan_flags.inc | 2 + lib/asan/asan_interceptors.cc | 8 +- lib/asan/asan_interface_internal.h | 4 + lib/asan/asan_poisoning.cc | 2 + lib/asan/asan_rtl.cc | 5 +- lib/asan/asan_win.cc | 28 +- lib/asan/asan_win_dll_thunk.cc | 14 + lib/asan/asan_win_dynamic_runtime_thunk.cc | 18 + lib/asan/tests/asan_str_test.cc | 2 + lib/builtins/CMakeLists.txt | 3 +- lib/builtins/cpu_model.c | 797 +++++++++++ lib/esan/esan.cpp | 8 + lib/esan/esan.h | 1 + lib/esan/esan_interface.cpp | 4 + lib/esan/esan_sideline_linux.cpp | 9 +- lib/esan/working_set.cpp | 5 + lib/esan/working_set.h | 1 + lib/interception/interception.h | 2 + lib/interception/interception_win.cc | 104 +- lib/interception/tests/interception_linux_test.cc | 3 +- lib/profile/GCDAProfiling.c | 44 +- lib/profile/InstrProfData.inc | 11 +- lib/profile/InstrProfiling.c | 4 +- lib/profile/InstrProfiling.h | 41 +- lib/profile/InstrProfilingFile.c | 86 +- lib/profile/InstrProfilingPort.h | 14 + lib/profile/InstrProfilingRuntime.cc | 3 +- lib/profile/InstrProfilingUtil.c | 77 +- lib/profile/InstrProfilingUtil.h | 21 + lib/sanitizer_common/CMakeLists.txt | 8 + lib/sanitizer_common/sanitizer_allocator.cc | 14 + lib/sanitizer_common/sanitizer_allocator.h | 1447 +------------------- lib/sanitizer_common/sanitizer_allocator_bytemap.h | 103 ++ .../sanitizer_allocator_combined.h | 207 +++ .../sanitizer_allocator_local_cache.h | 133 ++ .../sanitizer_allocator_primary32.h | 254 ++++ .../sanitizer_allocator_primary64.h | 328 +++++ .../sanitizer_allocator_secondary.h | 268 ++++ .../sanitizer_allocator_size_class_map.h | 212 +++ lib/sanitizer_common/sanitizer_allocator_stats.h | 107 ++ .../sanitizer_common_interceptors.inc | 63 +- lib/sanitizer_common/sanitizer_flags.inc | 2 + lib/sanitizer_common/sanitizer_libc.cc | 6 + lib/sanitizer_common/sanitizer_libc.h | 11 +- lib/sanitizer_common/sanitizer_linux.cc | 9 +- lib/sanitizer_common/sanitizer_mac.cc | 3 + lib/sanitizer_common/sanitizer_platform.h | 2 + .../sanitizer_platform_interceptors.h | 10 +- lib/sanitizer_common/sanitizer_symbolizer.h | 4 + lib/sanitizer_common/sanitizer_symbolizer_win.cc | 4 +- lib/sanitizer_common/sanitizer_win.cc | 17 +- .../tests/sanitizer_allocator_test.cc | 16 +- .../tests/sanitizer_allocator_testlib.cc | 20 + .../tests/sanitizer_symbolizer_test.cc | 2 + lib/tsan/rtl/tsan_interceptors.cc | 41 +- lib/tsan/rtl/tsan_platform.h | 111 +- lib/tsan/rtl/tsan_platform_linux.cc | 4 +- lib/tsan/rtl/tsan_rtl.cc | 4 + lib/tsan/rtl/tsan_rtl_thread.cc | 6 + lib/tsan/rtl/tsan_sync.h | 8 +- lib/xray/CMakeLists.txt | 47 + lib/xray/xray_flags.cc | 61 + lib/xray/xray_flags.h | 37 + .../interception_mac.cc => xray/xray_flags.inc} | 16 +- lib/xray/xray_init.cc | 68 + lib/xray/xray_interface.cc | 245 ++++ lib/xray/xray_interface_internal.h | 42 + lib/xray/xray_trampoline_x86.S | 93 ++ test/CMakeLists.txt | 3 + test/asan/TestCases/Linux/memmem_test.cc | 24 + test/asan/TestCases/Posix/halt_on_error-torture.cc | 8 +- .../TestCases/{ => Posix}/no_asan_gen_globals.c | 1 - test/asan/TestCases/Windows/dll_host.cc | 31 +- .../dll_operator_array_new_with_dtor_left_oob.cc | 4 +- test/asan/TestCases/Windows/dll_seh.cc | 4 +- test/asan/TestCases/Windows/intercept_memcpy.cc | 4 +- test/asan/TestCases/Windows/oom.cc | 1 + .../operator_array_new_with_dtor_left_oob.cc | 4 +- .../Windows/report_after_syminitialize.cc | 4 +- .../TestCases/Windows/shadow_mapping_failure.cc | 1 + test/asan/TestCases/Windows/unsymbolized.cc | 4 +- test/asan/TestCases/alloca_constant_size.cc | 2 + test/asan/TestCases/coverage-order-pcs.cc | 2 +- test/asan/TestCases/coverage-tracing.cc | 2 +- test/asan/TestCases/debug_mapping.cc | 8 +- test/asan/TestCases/debug_stacks.cc | 14 +- test/asan/TestCases/intra-object-overflow.cc | 2 + test/asan/TestCases/use-after-scope-capture.cc | 2 +- test/asan/TestCases/use-after-scope-chars.cc | 15 - test/asan/TestCases/use-after-scope-loop-bug.cc | 7 +- .../asan/TestCases/use-after-scope-loop-removed.cc | 9 +- test/asan/TestCases/use-after-scope-temp.cc | 12 +- test/asan/TestCases/use-after-scope-types.cc | 76 + test/asan/TestCases/use-after-scope.cc | 9 +- test/asan/lit.cfg | 8 + .../builtins/Unit/cpu_model_test.c | 17 +- test/esan/TestCases/workingset-midreport.cpp | 18 +- test/esan/TestCases/workingset-samples.cpp | 19 +- test/interception/CMakeLists.txt | 16 + .../Unit/lit.site.cfg.in | 6 +- test/profile/Linux/instrprof-cs.c | 35 + test/profile/gcc-flag-compatibility.test | 8 +- test/profile/instrprof-basic.c | 43 +- test/profile/instrprof-icall-promo.test | 14 +- ...nstrprof-override-filename-then-reset-default.c | 6 +- .../profile/instrprof-override-filename-with-env.c | 6 +- test/profile/instrprof-override-filename.c | 6 +- test/profile/instrprof-path.c | 39 + test/profile/instrprof-value-prof-evict.test | 4 +- test/profile/instrprof-value-prof-shared.test | 27 +- test/profile/instrprof-value-prof.test | 4 +- test/profile/lit.cfg | 12 +- test/sanitizer_common/CMakeLists.txt | 4 +- .../TestCases/Linux/weak_hook_test.cc | 82 ++ test/tsan/signal_block.cc | 60 + 124 files changed, 4397 insertions(+), 1793 deletions(-) create mode 100644 include/xray/xray_interface.h create mode 100644 lib/builtins/cpu_model.c create mode 100644 lib/sanitizer_common/sanitizer_allocator_bytemap.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_combined.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_local_cache.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_primary32.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_primary64.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_secondary.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_size_class_map.h create mode 100644 lib/sanitizer_common/sanitizer_allocator_stats.h create mode 100644 lib/xray/CMakeLists.txt create mode 100644 lib/xray/xray_flags.cc create mode 100644 lib/xray/xray_flags.h copy lib/{interception/interception_mac.cc => xray/xray_flags.inc} (57%) create mode 100644 lib/xray/xray_init.cc create mode 100644 lib/xray/xray_interface.cc create mode 100644 lib/xray/xray_interface_internal.h create mode 100644 lib/xray/xray_trampoline_x86.S create mode 100644 test/asan/TestCases/Linux/memmem_test.cc rename test/asan/TestCases/{ => Posix}/no_asan_gen_globals.c (99%) delete mode 100644 test/asan/TestCases/use-after-scope-chars.cc create mode 100644 test/asan/TestCases/use-after-scope-types.cc copy lib/builtins/negdf2.c => test/builtins/Unit/cpu_model_test.c (54%) create mode 100644 test/interception/CMakeLists.txt copy test/{sanitizer_common => interception}/Unit/lit.site.cfg.in (72%) create mode 100644 test/profile/Linux/instrprof-cs.c create mode 100644 test/profile/instrprof-path.c create mode 100644 test/sanitizer_common/TestCases/Linux/weak_hook_test.cc create mode 100644 test/tsan/signal_block.cc