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 ee15478 Updating branches/google/stable to r277323 adds 5402bb5 [asan] Reduce flakiness of heavy recovery mode tests. adds 4310642 [compiler-rt] Fix various typos in asan dll [NFC] adds 8d02463 Use 'unsigned long' to match the APIs of the MS bitscan intrinsics adds 4783923 [CMake] Don't trust compiler error code, also check for errors adds 8f0c63a [Profile] Add new test case to cover comdat renaming adds 44ce07f Make test more robust with better matching adds d7ee6f4 [asan] Disable android-coverage test on anything other than arm. adds da505b5 improve test cases to fix bot failure adds 54743f7 [winasan] Try to fix LNK4099 warnings seen by users adds cd0c083 [CMake] Load LLVMConfig for standalone build of builtins adds bff7920 [CMake] Pass -nostdlib if supported adds 15712ac Revert "[CMake] Pass -nostdlib if supported" adds a602a6d [tsan] Fix behavior of realloc(nullptr, 0) on Darwin adds 2ed91f4 [tsan] Fix the behavior of OSAtomicTestAndClear adds 39c283c Follow-up for r277458: Update the tsan_mman_test.cc unit test. adds e00b98f [asan] Remove NtWaitForWorkViaWorkerFactory interceptor adds 2aa3178 [Profile] track ownership of filename pattern string adds 5aa497d fix comments typos [NFC] adds f9dff4e Remove stale CHECK lines that should have been included in r277478 adds fb61214 [asan] Intercept RtlRaiseException instead of kernel32!RaiseE [...] adds 62d95f2 [compiler-rt] Add more interception patterns. adds 4ed012d [sanitizer] Implement a __asan_default_options() equivalent f [...] adds b3e6005 [scudo] add NORETURN to the declaration of dieWithMessage; th [...] adds 89a13f8 [sanitizer] refactor TransferBatch to hide the implementation [...] adds c19a416 Reduce coverage PC buffer size on 32-bit Windows to match 32- [...] adds 35b5cec [compiler-rt] Fix broken interception unittest adds 2b59210 [sanitizer] remove one redundant loop from the allocator adds 9e3843c [compilter-rt] Try to fix correctly rL277560 adds 6b35a57 [compiler-rt] Remove incorrect folder layout for scudo. adds b777b81 [compiler-rt] Fix CHECK coding style [NFC] adds c081bfe [ASan] Report illegal instruction exceptions in ASan adds 7478b20 Add CFI tests for -lowertypetests-bitsets-level. adds 5ccfd63 Only run ill.cc test on x86, 32 or 64 bit adds ed55293 [compiler-rt][XRay] Stash xmm registers in the trampolines adds 8132fd7 [Darwin] Exclude interception union tests on Darwin and Android adds 6c4c464 [ASAN] Mark test/asan/TestCases/ill.cc as unsupported on darwin adds 61fc529 [compiler-rt] Fix memory allocator for dynamic address space adds c750de6 fix whitespaces from https://reviews.llvm.org/D23170 adds 156db7c Avoid re-entrancy between __sanitizer::Report, OutputDebugStr [...] adds 8a88869 builtins: split out the EABI and VFP ARM sources adds d7895f7 CFI: add XFAIL test for a future optimization of two vcalls. adds 045421a Reverting r277632 as it breaks the build on MacOS. adds b84b279 Print a more useful BP value from MSVC-built ASan runtimes adds b151388 builtins: better categorisation of Thumb1 builtins adds bcbb9e6 builtins: windows has only one flavour on ARM adds d10986c Fix dumping of process module list and test it adds a0b4c0e fix random typos [NFC] adds 3ac7cf5 [sanitizers] trace buffer API to use user-allocated buffer. adds 1e3ef23 [sanitizers] remove failing test. adds c550a8b Fix two tests in Win64 ASan adds 0a2b693 Disable a few win asan64 tests that don't reliably pass, http [...] adds d2fca48 Disable a few more flaky asan64 tests. adds 2b1cb39 Use %stdcxx11 instead of -std=c++11 so the test passes with VS 2015 adds bd3c4f9 Try to fix the ill.cc test on Linux adds 790fa40 [sanitizer] allocator: move TransferBatch into SizeClassAlloc [...] adds 585545f [compiler-rt][XRay] Implement __xray_unpatch() and __xray_rem [...] adds 118e955 [compiler-rt][XRay] Fix XRay test build dependencies adds 85e1fdc [compiler-rt][XRay] Default COMPILER_RT_BUILD_XRAY to ON adds d82731d [compiler-rt][XRay] Only add xray dependency if XRay is built [...] adds 8e4aa20 [esan] Add generic resizing hashtable adds 9780916 [esan] Add iterator to esan's generic hashtable adds 662d549 [Profile] Implement new API __llvm_profile_dump adds 055eba8 [sanitizers] Make it possible to XFAIL on the effective targe [...] adds 64b0503 [sanitizer] minor refactoring in the allocator, NFC adds 874f0c1 [test] Update coverage tests to sync up with r278152 adds 9893535 [sanitizer] use 32-bit offset instead of 64-bit pointers in t [...] adds d5bca33 [compiler-rt] Allow nm program to be over-ridden for global s [...] adds 32aebd6 test commit. adds 6043472 tsan: Remove __pointer_chk_guard@GLIBC_PRIVATE requirement fo [...] adds a521e59 [asan] abort_on_error=1 by default on Android. adds 8a22938 [CMake] If the compiler supports _Atomic include atomic.c in [...] adds 7c12957 [mips] XFAIL the new mips64el compiler-rt tests that fail on [...] adds c10f095 [mips] Remove obstack.cc XFAIL added in r278504 since it brok [...] adds 3fbf3a0 Add compiler-rt side test for no_sanitize("cfi") attribute adds bd05f73 [mips] XFAIL mips64el tests that fail on clang-cmake-mipsel adds 8981c04 [ubsan] Initialize Android logging. adds 7b1e0f1 [msan] Fix line number sensitivity in chained_origin.cc and c [...] adds 96ebe14 [msan] Correct @LINE expression in obstack.cc adds 6682359 Split DescribeAddressIfShadow between a function that gets al [...] adds a00b213 [CMake] Renaming test variable to be consistent adds 9528d86 [compiler-rt] Allow c++ abi to be explictly disabled in cmake [...] adds 2829699 Revert "[compiler-rt] Allow c++ abi to be explictly disabled [...] adds cd5fa59 [compiler-rt] Allow c++ abi to be explictly disabled in c [...] adds 0a7584e [TSan][MIPS] Implements setjmp assembly for MIPS64 adds c76504f [MSAN][MIPS] Changed memory mapping to support pie executable. adds 0b5730d Revert "[compiler-rt] Allow c++ abi to be explictly disabled [...] adds b5fd586 Move the Decorator, ThreadNameWithParenthesis, and DescribeTh [...] adds 319435d sanitizer_common: Fix warning adds dbb6e90 [compiler-rt] Allow c++ abi to be explictly disabled in cmake [...] adds b5fd72c Revert "[compiler-rt] Allow c++ abi to be explictly disabled [...] adds 6ea77f0 Rename DescribeHeapAddress to DescribeAddressIfHeap and split [...] adds ce3cbf6 Deal with buildbot fallout from r278917: s/AllocType()/GetAll [...] adds 260ccad Split DescribeAddressIfStack between a function that gets all [...] adds 124a13d Split DescribeAddressIfGlobal between a function that gets al [...] adds e5fb2ba [asan] Remove "Stack partial redzone" from report adds b2d566d [asan] Add __asan_set_shadow_* adds a31805c [sanitizer-coverage] add __sanitizer_cov_trace_cmp[1248] to t [...] adds e1537bc [asan] trying to fix the windows bot adds 5011aa2 Convert AsanLocateAddress to Get*AddressInformation functions. adds 4f061d5 [mips][msan] Fix all the XPASSes following r278793 and r278795 adds 8a8dfd2 Add header guards to asan_descriptions.h adds 361569f [compiler-rt][tests] cpu_model_test.c test fails to compile i [...] adds 1308eb2 [CMake] Stop building eprintf library on Darwin adds eb30ef9 [asan] Add one more test for __asan_set_shadow_* adds 68ca8ed [CMake] Fix ASM building in llvm/runtimes adds 4fd2354 Revert "[CMake] Fix ASM building in llvm/runtimes" adds 9f3462b Cleanup: Move the *AddressDescription printing code to Print( [...] adds 2b23fdc build: allow building a specific set of sanitizers adds 4f1aaec [asan] Temporarily mark test as broken on Windows adds a213e3e [CMake] Add top-level install-compiler-rt target adds 41ebd27 [CMake] Add check-compiler-rt target for runtimes build adds 1ca6b63 [CMake] Support building on OS X without Xcode installation adds 0c224bc [msan] Disable prlimit test on glibc < 2.13. adds 3142c15 [asan] Rename asan-instrument-allocas -> asan-instrument-dyna [...] adds e0c295a [cmake] Fix append_rtti_flag macro and bad var name adds 37a8f48 [compiler-rt] Make cxxabi availability configurable in cmake adds 7b27982 [compiler-rt] Don't build ubsan cxxabi sources when unused adds cfa868e [compiler-rt] Use flags found when configuring builtins durin [...] adds a4a6eab [sanitizer] allocator: split the local cache class into two, [...] adds 47e484f [builtins] Don't always use -ffreestanding when compiling builtins adds e0728bc [asan] Fix OOB_char on arm 32bit adds 9bdf886 [TSan][MIPS] Changes mips memory layout to support pie with a [...] adds 62f82d7 Delete remaining compiler-rt makefiles adds 5bd0203 [asan] minor fix in the asan memory profile adds 11bd557 [sanitizer] adding a threaded performance stress test for mal [...] adds f1626d7 [sanitizer] change the 64-bit allocator to use a single array [...] adds 20878d4 [sanitizer] trying to fix the PPC bots adds e84c21c [asan] Mark asan-symbolize-sanity-test.cc as UNSUPPORTED on x [...] adds 41eabf5 Revert r279572 "[sanitizer] change the 64-bit..." because of [...] adds 0f22006 [ubsan] fix the test to me more resistent against changes in [...] adds ef6dd1d [sanitizer] re-apply r279572 and r279595 reverted in r279643: [...] adds 5646067 [lsan] give a test a bit more stack -- it started failing aft [...] adds 08a8626 [builtins] Make sure builtin compile tests respect CMAKE_C_CO [...] adds 17dcffd msan: Enable 48-bit VMA support on aarch64 adds 888ed0e dfsan: Enable 48-bit VMA support on aarch64 adds eeb461e [lsan] one more test fix to please the Debian Sid bot (this t [...] adds 2521dc2 [sanitizer] change SizeClassAllocator64 to accept just one te [...] adds adc59c3 [sanitizer] add __sanitizer_symbolize_pc. https://github.com/ [...] adds 1a4645d [asan] fix windows bot adds b4544a8 [asan] remove unused kAsanHeapRightRedzoneMagic (NFC) adds d958942 [asan] remove unused kAsanHeapRightRedzoneMagic (NFC); part 2 [...] adds e935ff9 [sanitizer] enable random shuffling the memory chunks inside [...] adds c8b9fd7 Additional update missed by r279793, should hopefully make th [...] adds 03689a4 Include tests only if COMPILER_RT_BUILD_XRAY is ON. adds 403c24e [compiler-rt][XRay] Initial per-thread inmemory logging imple [...] adds 6659b10 [compiler-rt] Allow c++ abi to be explictly disabled in c [...] adds 0c1fcb4 Revert " [compiler-rt] Allow c++ abi to be explictly disab [...] adds 7ec10ea [compiler-rt][XRay] Remove unnecessary assertion. adds 1beba14 Start reifying error descriptions adds 3bb5562 [CMake] Connect Compiler-RT targets to LLVM Runtimes directory adds f832762 Revert "Start reifying error descriptions" adds 7d07acf [asan] Mark symbolize_pc.cc as UNSUPPORTED on i386-apple. adds 28c63a2 [asan] first attempt at releasing free-d memory back to the s [...] adds f32c49c [asan] restrict release_to_os_test.cc to x86_64 adds d570a81 [asan] Use "REQUIRES: x86_64-target-arch" to disable the test [...] adds b8abcb0 [asan] Disable tests more selectively. adds a0e3eb1 Start reifying error descriptions. Second try: Try to appease [...] adds 7dc1023 Revert "Start reifying error descriptions. Second try: Try to [...] adds bcfcbdc [asan] Remove runtime flag detect_stack_use_after_scope adds d1a9fe4 [scudo] use 32 bits of ASLR entropy instead of just 24 when s [...] adds efe61c1 [asan] Attempt to fix test on darwin bot adds de5b670 [asan] Disable test on darwin bot adds a9eceee [sanitizer-coverage] add two more modes of instrumentation: t [...] adds 4e2d008 [asan] Mark failing test as UNSUPPORTED. adds 857f28d [mips][tsan] XFAIL on every MIPS platform an x86_64-specific test. adds 19c0b8f XFAIL cfi/stats.cpp on Windows until we fix our DIA usage adds 9444a23 Split ScarinessScore between its "storage" (POD), and an init [...] adds 43044ab Start reifying error descriptions (Re-do of D23672 supporting [...] adds 4d18829 profile: add missing include for Windows adds 85ef4ce stats: define WIN32_LEAN_AND_MEAN when including windows.h adds b0f82c0 [sanitizer] remove kBatchClassID that is not used any more; NFC adds 61f7c23 Reify ErrorDoubleFree adds 7682d8c Fix buildbot bug: Wasn't printing scariness for DoubleFree adds 7f04ab5 [sanitizer] extend SizeClassMap to take more template paramet [...] adds 1407139 Fix the use of unitialized value while reporting double free [...] adds 367a9a7 Copy over most of the scariness_score test to the general tests adds b64e122 Clear scariness score when initializing ErrorDoubleFree adds 9ecf34a Fix profile test assuming dumb compiler adds 36290a1 Remove extra scariness.Clear() call. adds 8593375 Try to fix another profile test adds 1ceb4c0 build: profile is not a sanitizer adds ab564a8 Fix dll_host.cc test after adding div and gep trace coverage points adds 62aa809 [CMake] Adding compiler-rt-test-depends target adds 99f69ba Revert "Copy over most of the scariness_score test to the gen [...] adds 8ea9f13 [tsan] Bump stack frame size limit. adds 4d103fc [CMake] Add option (defaulted off) to exclude atomic.c adds b64139a Un-XFAIL cfi/stats.cpp, it passes since fixing llvm-symbolize [...] adds 12f0473 [asan] Move scariness_score_test.cc to a common subdirectory adds 5a27c81 asan: allow __asan_{before,after}_dynamic_init without regist [...] adds 22ae7c6 Add #include <cstdio> to unbreak build (missing definition of [...] adds 62b3eec [ESan][MIPS] Adds support for MIPS64 adds ebf5cf8 [asan] Reify ErrorNewDeleteSizeMismatch adds 2983142 [powerpc] Disable ManyThreadsWithStatsStressTest test for ppc64 adds 58a7731 [powerpc] Move #if to appease warnings-as-errors tests adds 4a0c5cd [compiler-rt] Fix library suffixes on windows adds 2af3b68 [compiler-rt] Allow sanitizers to be compiled for windows with clang adds 3327a36 [asan] Add openlog() on Android. adds 4febb1f [asan] Fix a crash in GetCurrentThread() before init. adds ff75f2a builtins: make sure that flags is setup properly for __clear_cache adds 2977495 [asan] Fix build on Linux. adds 101412a [sanitizer] Fix a conflict between abort_on_error and handle_abort. adds 4753c5b [XRay] ARM 32-bit no-Thumb support in compiler-rt adds 5ec37e1 Correctly escape %. adds f463f13 [asan] Test that asan does not report use-after-scope if prog [...] adds 79261d3 [tsan] Support C++11 call_once in TSan on Darwin adds 4fa1ab2 [asan] Reify ErrorDeadlySignal adds 8231599 [asan] Handle SIGBART signal description. (found by buildbot) adds e1be165 [asan] Fix handle_abort_on_error.cc test on Darwin adds 92655f0 [compiler-rt] Don't use -fPIC when building for Windows adds 913a7aa Revert "[ESan][MIPS] Adds support for MIPS64" adds b5dd574 Really fix warnings about passing -std=gnu99 to MSVC adds d9d5d32 Fix linker warning about sanitizer_common_nolibc functions on [...] adds ec17706 Revert "[XRay] ARM 32-bit no-Thumb support in compiler-rt" adds ff3893f [powerpc] Move #if to appease warnings-as-errors tests adds f5a665d Fix tsan-go build. adds 5dc69d4 [sanitizer] fix a potential buffer overflow due to __sanitize [...] adds 8dfde80 [asan] Since r280945 fixed the OS X abort() problem, merge sc [...] adds 8a49986 [asan] Disable handle_abort in Android tests. adds 957480a [asan] Add a new AddressDescription structure, which can desc [...] adds ef30871 [asan] Store access_size in the {Stack,Global}AddressDescript [...] adds e204370 [sanitizer] fix an allocator bug where the allocated memory m [...] adds 011080a [sanitizer] Add interceptor for ttyname_r adds 208c026 [asan] Cleanup: Move tid into ErrorBase, add const to Buffere [...] adds 13cb0a7 [asan] Ease dealing with tagged enum ErrorDescription with so [...] adds 8778ef5 [sanitizer] replace CHECK with CHECK_XY in two places for bet [...] adds e4c1b91 [asan] Add missing include for rand() adds 68d7ac1 [asan] Re-poison all redzones on activation. adds bd67606 Switch to 64-bit allocator on android/aarch64. adds 6f9e6ba [asan] Reify ErrorFreeNotMalloced adds 0ccfdc4 [asan] Reify ErrorAllocTypeMismatch adds 38e2147 [asan] Reify ErrorMallocUsableSizeNotOwned adds 68d1be0 [asan] Reify ErrorSanitizerGetAllocatedSizeNotOwned adds 82a1290 [asan] Remove lit -j5 flag for android tests. adds 73b166f [asan] alloc_dealloc_mismatch=0 by default on Android. adds 3f34cc7 [asan] Reify ErrorStringFunctionMemoryRangesOverlap adds d4837a8 [asan] Reify ErrorStringFunctionSizeOverflow adds 9504db0 [cmake] Support overriding llvm-config query results adds 37f25d7 [tsan] Fix hanging gcd-apply and gcd-apply-race tests on macO [...] adds 645d4bf [asan] Enable -asan-use-private-alias on Darwin/Mach-O, add t [...] adds 0036373 [interception] Avoid duplicate declaration of isdigit in test adds 227634d [compiler-rt] Set asan win 64-bits to use dynamic address for [...] adds d89810a [asan] Disable 64-bit allocator on android/aarch64. adds a4985a8 [asan] add heap_profile=1 to asan to periodically print the h [...] adds 8d9c779 [asan] fix windows adds 94ccae9 [tsan] fix tsan build by adding a dummy __sanitizer_print_mem [...] adds 4875e75 Fix the Windows build after r281546 adds a324b0b Define the weak symbol added by r281546 on mac. adds d3633e8 [sanitizer] one more attempt to fix things with __sanitizer_ [...] adds c6e4ed8 [sanitizer] Fix darwin Go tsan build by unifying r281567 and [...] adds 5e40e76 [asan] Reify ErrorBadParamsToAnnotateContiguousContainer adds a64e604 [asan] Reify ErrorODRViolation adds 1e567a6 [asan] Reify ErrorInvalidPointerPair adds c159cd7 Really fix the Windows sanitizer build adds 02aff9f [sanitizer] Test the allocator with the ASan win64 memory constants adds b5baf5b [sanitizers] DLAddr Symbolizer should fail if demangle fails adds 074767b [compiler-rt] Do not introduce __sanitizer namespace globally adds 4c3be8a [compiler-rt] Remove the system includes from __sanitizer namespace adds 226fa67 [sanitizer] Fixup: Do not introduce __sanitizer namespace globally adds f785825 [sanitizer] Fixup 2: Do not introduce __sanitizer namespace globally adds 4494460 [asan] Reenable 64-bit allocator on android/aarch64. adds c473891 [asan] provide dummy implementations for __sanitizer_cov_trace_pc_* adds 2fa8b5c [asan] fix window build adds 40d1241 [asan] Remove the test as the fix is going to be removed adds 39ea2e7 [compiler-rt] Don't force ASAN_HAS_EXCEPTIONS to be true for [...] adds 45dceee Remove undefined weak hooks from dll thunk export list to rea [...] adds c6e2dc3 [compiler-rt] Disable building of profiling runtime when LLVM [...] adds adecae7 [tsan] Update signal_cond.cc to write to stderr intead of stdout adds 9016490 [tsan] Update fork_atexit.cc to consistently print to stderr [...] adds 82977c3 [sanitizer] add __sanitizer_symbolize_data (can only print th [...] adds 4b894fc [sanitizer] rename __sanitizer_symbolize_data to __sanitizer_ [...] adds 96f3c80 [compiler-rt] Add support for the dynamic shadow allocation adds 42cfe46 [scudo] Modify Scudo to use its own Secondary Allocator adds 3451acb tsan: make CHECK more robust adds d1742d2 tsan: check more addresses in CheckShadowMapping adds 2bc83b9 [XRay] ARM 32-bit no-Thumb support in compiler-rt adds 44a4162 tsan: revert r281970 adds 5b6dd69 [asan] Fix GlobalAddressDescription::Print() adds 321a609 XFAIL cfi/stats.cpp on Windows until we fix LLD adds 265ea62 [asan] Add C++17 aligned new/delete entrypoints. Patch by Jak [...] adds 689eed3 [CMake] Explicitly add --target option to compiler flags adds c49eacf [CMake] Fix error preventing simulator sanitizers from building adds 9a0a029 [scudo] Fix a bug in the new Secondary Allocator adds 4598081 Revert "[CMake] Explicitly add --target option to compiler flags" adds 7ddd599 [CMake] Rename back SIMPLE_SOURCE to compile as C++ adds cf00ba7 [sanitizers] Update sanitizers test to better match glibc internals adds 1d7390e Revert "[sanitizers] Update sanitizers test to better match g [...] adds 4fd2747 [compiler-rt] Fix Asan build on Android adds cbae688 Fix typo in comment [NFC] adds c375aea Remove obsolete XFAIL. adds 8922276 revert 282085, 281909, they broke 32-bit dynamic ASan and the [...] adds 287bcde [asan] Store full AddressDescription objects in ErrorInvalidP [...] adds 371ddbf [asan] Reify ErrorGeneric adds 5042ecd [ESan][MIPS] Fix tests struct-simple.cpp on MIPS adds 16e13a5 tsan: support pie binaries on newer kernels adds 08cd4cf tsan: fix bug introduced in 282152 adds 18d49e2 cfi: Fixes for check-cfi when configured as an external project. adds 3687fff [Profile] suppress verbose rt message by default adds a38f071 [Profile] Remove unused variable adds 827ea20 [msan] Prevent initialization failure with newer (2.23+) glib [...] adds d1c6577 [compiler-rt][lsan] Fix compiler error due to attribute (windows) adds e1c6607 [asan] Stop appending -lm, -pthread and other linker options [...] adds 5ab88bf [compiler-rt] Fix a broken asan 64-bit test using ld_preload adds c58c8bb Fix the following tests when running under cross-compilation: adds 585919a [profile] Hide lprofCurFilename adds aa8a364 Revert "[profile] Hide lprofCurFilename" adds 19087aa [msan] Disable flaky fork.cc on PPC64. adds c8a185b [asan, msan] Fix reallocation logic when IsInDlsymAllocPool(p [...] adds 73a20a8 [msan] Fix second parameter in MsanReallocate from previous commit. adds e89bae6 tsan: simplify meta mapping adds 676c6a9 tsan: remove kMidShadowOff mapping parameter adds 20adfa2 tsan: make shadow mapping linear within a single user region adds 515106e tsan: relaxed check in CheckShadowMapping adds 2b90991 builtins: use thumb-2 if possible on comparesf2 adds 9eb9daa [sanitizer_common] Delete some copy/move methods in InternalS [...] adds 6eef723 [lsan] [aarch64] Fix calculating TLS area adds 0b95585 [ASAN] Pass previous stack information through __sanitizer_fi [...] adds e398a5c [compiler-rt] Fix interception of multiple defined symbols. adds 5969de9 Add build script for symbolizer which can be linked into inst [...] adds 17a10b9 Move verbose clang binaries detection adds 5eab7f6 Limit script to sanitizers as SCUDO does not pass tests if we [...] adds 0688318 Add symbols introduced with -m32 build adds 7473e4c [sancov] removing html report option test, the option doesn't [...] adds 4920473 Don't use internal symbolizer if we are in process of reporti [...] adds 5d910eb Remove Google specific code. adds 8511b59 [compiler-rt][asan] Fix incorrect regexp breaking an asan uni [...] adds 7e05a83 [compiler-rt][asan] Disable a broken test on windows 64-bits adds 49f0371 [compiler-rt] Add support for the dynamic shadow allocation adds 2d58206 [compiler-rt] Fix interception of crt atoll on win10 CRT. adds a1e8a25 [scudo] Fix an edge case in the secondary allocator adds d89e157 [sanitizer-coverage] remove stale code adds 2dca6dc [esan] Fix ESan test failure on Debian Sid bot adds 1aa202a Support configurable path to LLVM src adds fa9562a Revert "[sanitizer-coverage] remove stale code" at it breaks [...] adds 1ef9e7c [sanitizer-coverage] remove stale code, second attempt after [...] adds 4a2d05e [asan] Switch to using dynamic shadow offset on iOS adds 073bb17 [asan] When protect_shadow_gap=0, set up the shadow for the s [...] adds 4dd660e [sanitizers] Update sanitizers test to better match glibc internals adds 79a96a3 Revert "[asan] Switch to using dynamic shadow offset on iOS" adds 3b0bbee [asan] Reapply: Switch to using dynamic shadow offset on iOS adds 12db777 [asan] Fixup: Switch to using dynamic shadow offset on iOS adds 06644fb [compiler-rt] Enable building iOS by default. adds f0ef378 [compiler-rt][XRay][NFC] clang-format XRay sources adds 44c2706 [ESan][MIPS] Adds support for MIPS64 adds 76d9f4a [ESan] [MIPS] Fix workingset-signal-posix.cpp on MIPS adds 344db13 [ubsan] Turn on 'Has CXXABI' to enable support for -fsanitize [...] adds 32e8a12 [ubsan] 0 -> nullptr (NFC) adds 2498141 [ubsan] More 0 -> nullptr conversions (NFC) adds 9b14960 [esan] Fix ESan test failure on Debian Sid bot adds 2232cef [compiler-rt] Exclude compiler-rt from using -fmodules when L [...] adds ab31f66 [profile] Add test for dead_strip+live_support functionality adds e955e0b Fix _recalloc redefinition link error in ASan RTL adds 25a8f31 Follow up to r283955: add _recalloc_base dll thunk adds d3c013b Make __asan_handle_no_return a no-op during initialization adds fc1639b Make lsan complain loudly when running under ptrace adds d9e6c73 [compiler-rt][XRay] Support tail call sleds adds 8c1bb14 [sanitizers] -Wno-macro-redefined for libc++ build adds 0516202 [profile] Mark lprofCurFilename as COMPILER_RT_WEAK adds db2e46d [tsan] Always use -std=c++11 in TSan tests adds d4f13ca [asan] Update test for D25715 adds 3c50048 [lsan] [aarch64] Fix printing of pointers in make check tests adds 6585fd2 adding new symbols to llvm-symbolizer symbol test adds 62ece79 Fix typo (ordered comparison between pointer and 0). adds 339e7df [sanitizers] support strict_string_checks for strncmp adds 80a2185 [compiler-rt] Remove redundant --check-prefix=CHECK from test adds a327647 [asan] relax strstr tests. adds 2f9cee4 [compiler-rt] moved __asan_schedule_unregister_globals out of [...] adds 5452863 scripts: Document existing problems with the symbolizer build [...] adds e04d43d Remove a VS 2012 workaround, we require 2015 now. adds 0d488c2 [lsan] Relax check for allocator_end in ProcessGlobalRegionsC [...] adds 96ea1686 [ARM RT] Fix broken clear_cache debug build on ARM adds 34e89ba [ubsan] Fix vptr.cpp test to be more resilient. NFC. adds 52d212a [scudo] Lay the foundation for 32-bit support adds 7925f54 [sanitizers] Set Darwin specific linker and compiler flags fo [...] adds 1a7e8ec Atomics library: provide operations for __int128 when it is a [...] adds f977078 [asan] Test jumps which bypass variables declaration adds 6fdba17 [asan/lsan] Avoid possible deadlock in dynamic ASan runtime t [...] adds 3d648ec [asan] Disable pthread_create_from_constructor test on PowerPC64. adds f3363f4 [asan] Run pthread_create_from_constructor test on x86 targets. adds 9c1c8a4 tsan: fix windows build adds 5504a5a sanitizer_common: fix description of disable_coredump flag adds fd66b84 tsan: fix code formatting adds 5f4a612 tsan: fix windows meta mapping adds 10a73cb tsan: always define SANITIZER_GO adds d549a8d tsan: set disable_coredump=0 by default for Go adds 75c3b8e tsan: round Go shadow to page boundary adds 68e1532 tsan: add a hook to obtain number of reports adds 0a41fa9 builtins: ensure that VISIBILITY_HIDDEN is defined properly adds b11de00 build: give aliases the same visibility adds fdc221a [asan] Set the darwin deployment target for the dead-strip test adds 83f7c89 [ASan] Initialize cloned dynamic runtime global variables earlier adds b6daed6 [tsan] Add support for GCD target queues adds f99c13a [asan] Move instrumented null-terminated strings to a special [...] adds f1c98b9 [tsan] Implement WriteMemoryProfile for Darwin adds ce7082b [tsan] Enable the tsan/libcxx/ testcase(s) on Darwin adds fb53d09 [XRay][x86_64] Define a tail exit trampoline. adds 692b01c [asan] Add more dynamic CRT mode tests new e19261a Updating branches/google/stable to r285906
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 | 108 +-- Makefile | 275 ------ cmake/Modules/AddCompilerRT.cmake | 26 +- cmake/Modules/BuiltinTests.cmake | 44 +- cmake/Modules/CompilerRTDarwinUtils.cmake | 34 +- cmake/Modules/CompilerRTUtils.cmake | 79 +- cmake/base-config-ix.cmake | 20 +- cmake/builtin-config-ix.cmake | 13 +- cmake/config-ix.cmake | 27 +- docs/TestingGuide.rst | 66 ++ include/sanitizer/common_interface_defs.h | 14 +- include/sanitizer/coverage_interface.h | 8 +- include/xray/xray_interface.h | 2 +- include/xray/xray_records.h | 80 ++ lib/CMakeLists.txt | 71 +- lib/Makefile.mk | 13 - lib/asan/CMakeLists.txt | 19 +- lib/asan/asan_allocator.cc | 54 +- lib/asan/asan_allocator.h | 28 +- lib/asan/asan_debugging.cc | 125 +-- lib/asan/asan_descriptions.cc | 486 ++++++++++ lib/asan/asan_descriptions.h | 253 ++++++ lib/asan/asan_errors.cc | 496 +++++++++++ lib/asan/asan_errors.h | 378 ++++++++ lib/asan/asan_fake_stack.cc | 2 +- lib/asan/asan_fake_stack.h | 6 +- lib/asan/asan_flags.inc | 4 +- lib/asan/asan_globals.cc | 60 +- lib/asan/asan_interceptors.cc | 2 +- lib/asan/asan_interface_internal.h | 23 +- lib/asan/asan_internal.h | 5 +- lib/asan/asan_malloc_linux.cc | 8 +- lib/asan/asan_malloc_win.cc | 6 + lib/asan/asan_mapping.h | 39 +- lib/asan/asan_memory_profile.cc | 2 +- lib/asan/asan_new_delete.cc | 62 +- lib/asan/asan_poisoning.cc | 40 +- lib/asan/asan_poisoning.h | 2 +- lib/asan/asan_posix.cc | 19 +- lib/asan/asan_report.cc | 981 +++------------------ lib/asan/asan_report.h | 26 +- lib/asan/asan_rtl.cc | 60 +- lib/asan/asan_scariness_score.h | 21 +- lib/asan/asan_thread.cc | 18 +- lib/asan/asan_thread.h | 3 +- lib/asan/asan_win.cc | 105 ++- lib/asan/asan_win_dll_thunk.cc | 26 +- lib/asan/asan_win_dynamic_runtime_thunk.cc | 46 +- lib/asan/scripts/asan_device_setup | 4 +- lib/asan/tests/CMakeLists.txt | 33 +- lib/asan/tests/asan_interface_test.cc | 4 + lib/asan/tests/asan_internal_interface_test.cc | 36 + lib/asan/tests/asan_noinst_test.cc | 2 + lib/asan/tests/asan_str_test.cc | 10 +- lib/builtins/CMakeLists.txt | 149 +++- lib/builtins/Makefile.mk | 25 - lib/builtins/arm/Makefile.mk | 20 - lib/builtins/arm/comparesf2.S | 3 + lib/builtins/arm64/Makefile.mk | 20 - lib/builtins/armv6m/Makefile.mk | 20 - lib/builtins/assembly.h | 1 + lib/builtins/atomic.c | 11 +- lib/builtins/clear_cache.c | 4 +- lib/builtins/i386/Makefile.mk | 20 - lib/builtins/int_lib.h | 6 +- lib/builtins/ppc/Makefile.mk | 20 - lib/builtins/x86_64/Makefile.mk | 20 - lib/cfi/CMakeLists.txt | 4 +- lib/cfi/cfi.cc | 2 + lib/dfsan/CMakeLists.txt | 5 +- lib/dfsan/dfsan.cc | 25 +- lib/dfsan/dfsan.h | 3 + lib/dfsan/dfsan_interceptors.cc | 2 + lib/dfsan/dfsan_platform.h | 17 +- lib/dfsan/done_abilist.txt | 8 + lib/esan/CMakeLists.txt | 5 +- lib/esan/cache_frag.cpp | 4 +- lib/esan/esan.cpp | 8 + lib/esan/esan.h | 1 + lib/esan/esan_flags.cpp | 2 + lib/esan/esan_hashtable.h | 381 ++++++++ lib/esan/esan_interceptors.cpp | 42 +- lib/esan/esan_interface_internal.h | 3 + lib/esan/esan_linux.cpp | 2 +- lib/esan/esan_shadow.h | 131 ++- lib/interception/interception.h | 4 +- lib/interception/interception_win.cc | 36 +- lib/interception/tests/interception_linux_test.cc | 4 + lib/interception/tests/interception_win_test.cc | 8 + lib/lsan/CMakeLists.txt | 7 +- lib/lsan/lsan_allocator.cc | 15 +- lib/lsan/lsan_common.cc | 3 + lib/lsan/lsan_common_linux.cc | 2 +- lib/lsan/lsan_thread.cc | 2 +- lib/msan/CMakeLists.txt | 4 +- lib/msan/msan.h | 82 +- lib/msan/msan_allocator.cc | 39 +- lib/msan/msan_interceptors.cc | 49 +- lib/msan/msan_interface_internal.h | 10 + lib/msan/msan_linux.cc | 3 +- lib/msan/tests/msan_test.cc | 8 + lib/profile/CMakeLists.txt | 5 +- lib/profile/InstrProfiling.c | 12 +- lib/profile/InstrProfiling.h | 22 + lib/profile/InstrProfilingFile.c | 64 +- lib/profile/InstrProfilingInternal.h | 8 +- lib/profile/WindowsMMap.c | 3 + lib/safestack/CMakeLists.txt | 4 +- lib/safestack/safestack.cc | 2 + lib/sanitizer_common/CMakeLists.txt | 12 +- lib/sanitizer_common/sanitizer_allocator.cc | 23 +- lib/sanitizer_common/sanitizer_allocator.h | 7 +- .../sanitizer_allocator_combined.h | 17 +- .../sanitizer_allocator_interface.h | 4 + .../sanitizer_allocator_internal.h | 4 +- .../sanitizer_allocator_local_cache.h | 166 +++- .../sanitizer_allocator_primary32.h | 96 +- .../sanitizer_allocator_primary64.h | 325 +++++-- .../sanitizer_allocator_secondary.h | 19 +- .../sanitizer_allocator_size_class_map.h | 123 +-- lib/sanitizer_common/sanitizer_common.cc | 16 +- lib/sanitizer_common/sanitizer_common.h | 44 +- .../sanitizer_common_interceptors.inc | 19 +- .../sanitizer_common_interceptors_ioctl.inc | 3 +- lib/sanitizer_common/sanitizer_common_libcdep.cc | 31 +- lib/sanitizer_common/sanitizer_common_nolibc.cc | 4 + lib/sanitizer_common/sanitizer_coverage_libcdep.cc | 48 +- lib/sanitizer_common/sanitizer_flags.cc | 5 - lib/sanitizer_common/sanitizer_flags.inc | 19 +- lib/sanitizer_common/sanitizer_internal_defs.h | 23 +- lib/sanitizer_common/sanitizer_linux.cc | 11 +- lib/sanitizer_common/sanitizer_linux.h | 2 +- lib/sanitizer_common/sanitizer_linux_libcdep.cc | 9 +- lib/sanitizer_common/sanitizer_linux_mips64.S | 23 + lib/sanitizer_common/sanitizer_mac.cc | 62 +- lib/sanitizer_common/sanitizer_mac.h | 6 +- lib/sanitizer_common/sanitizer_platform.h | 8 +- .../sanitizer_platform_interceptors.h | 1 + .../sanitizer_platform_limits_linux.cc | 2 + .../sanitizer_platform_limits_posix.cc | 2 + .../sanitizer_platform_limits_posix.h | 16 +- lib/sanitizer_common/sanitizer_posix_libcdep.cc | 19 +- lib/sanitizer_common/sanitizer_printf.cc | 2 +- .../sanitizer_stacktrace_libcdep.cc | 35 + .../sanitizer_stacktrace_printer.cc | 29 + .../sanitizer_stacktrace_printer.h | 7 + .../sanitizer_stoptheworld_linux_libcdep.cc | 8 +- lib/sanitizer_common/sanitizer_symbolizer_mac.cc | 7 +- .../sanitizer_symbolizer_posix_libcdep.cc | 4 +- lib/sanitizer_common/sanitizer_thread_registry.cc | 2 +- lib/sanitizer_common/sanitizer_win.cc | 58 +- lib/sanitizer_common/scripts/gen_dynamic_list.py | 8 +- .../symbolizer/sanitizer_symbolize.cc | 72 ++ .../symbolizer/sanitizer_wrappers.cc | 175 ++++ .../symbolizer/scripts/build_symbolizer.sh | 187 ++++ .../symbolizer/scripts/global_symbols.txt | 136 +++ lib/sanitizer_common/tests/CMakeLists.txt | 5 + .../tests/malloc_stress_transfer_test.cc | 37 + .../tests/sanitizer_allocator_test.cc | 233 ++++- .../tests/sanitizer_allocator_testlib.cc | 17 +- lib/sanitizer_common/tests/sanitizer_libc_test.cc | 2 + .../tests/sanitizer_nolibc_test_main.cc | 2 +- lib/sanitizer_common/tests/sanitizer_test_main.cc | 2 +- lib/scudo/CMakeLists.txt | 6 +- lib/scudo/scudo_allocator.cpp | 133 ++- lib/scudo/scudo_allocator.h | 61 ++ lib/scudo/scudo_allocator_secondary.h | 171 ++++ lib/scudo/scudo_flags.cpp | 24 +- lib/scudo/scudo_termination.cpp | 17 +- lib/scudo/scudo_utils.cpp | 6 +- lib/scudo/scudo_utils.h | 2 +- lib/stats/stats_client.cc | 1 + lib/tsan/CMakeLists.txt | 12 +- lib/tsan/go/build.bat | 2 +- lib/tsan/go/buildgo.sh | 2 +- lib/tsan/go/tsan_go.cc | 5 + lib/tsan/rtl/tsan_clock.cc | 2 +- lib/tsan/rtl/tsan_defs.h | 14 +- lib/tsan/rtl/tsan_flags.cc | 2 +- lib/tsan/rtl/tsan_flags.inc | 3 +- lib/tsan/rtl/tsan_interceptors.cc | 2 + lib/tsan/rtl/tsan_interceptors_mac.cc | 46 +- lib/tsan/rtl/tsan_interface.h | 5 +- lib/tsan/rtl/tsan_interface_atomic.cc | 18 +- lib/tsan/rtl/tsan_libdispatch_mac.cc | 66 +- lib/tsan/rtl/tsan_mman.cc | 24 +- lib/tsan/rtl/tsan_mutexset.h | 4 +- lib/tsan/rtl/tsan_platform.h | 114 ++- lib/tsan/rtl/tsan_platform_linux.cc | 27 +- lib/tsan/rtl/tsan_platform_mac.cc | 82 +- lib/tsan/rtl/tsan_platform_posix.cc | 2 +- lib/tsan/rtl/tsan_platform_windows.cc | 4 - lib/tsan/rtl/tsan_report.cc | 4 +- lib/tsan/rtl/tsan_rtl.cc | 80 +- lib/tsan/rtl/tsan_rtl.h | 36 +- lib/tsan/rtl/tsan_rtl_aarch64.S | 76 +- lib/tsan/rtl/tsan_rtl_mips64.S | 214 +++++ lib/tsan/rtl/tsan_rtl_mutex.cc | 8 +- lib/tsan/rtl/tsan_rtl_proc.cc | 4 +- lib/tsan/rtl/tsan_rtl_report.cc | 18 +- lib/tsan/rtl/tsan_rtl_thread.cc | 20 +- lib/tsan/rtl/tsan_suppressions.cc | 4 +- lib/tsan/rtl/tsan_sync.cc | 4 +- lib/tsan/rtl/tsan_trace.h | 4 +- lib/tsan/tests/CMakeLists.txt | 6 +- lib/tsan/tests/unit/tsan_mman_test.cc | 8 +- lib/ubsan/CMakeLists.txt | 22 +- lib/ubsan/ubsan_init.cc | 1 + lib/ubsan/ubsan_type_hash_itanium.cc | 14 +- lib/xray/CMakeLists.txt | 26 +- lib/xray/xray_arm.cc | 137 +++ lib/xray/xray_flags.inc | 4 + lib/xray/xray_init.cc | 1 + lib/xray/xray_inmemory_log.cc | 268 ++++++ lib/xray/xray_interface.cc | 142 +-- lib/xray/xray_interface_internal.h | 25 + lib/xray/xray_trampoline_arm.S | 65 ++ ...y_trampoline_x86.S => xray_trampoline_x86_64.S} | 89 +- lib/xray/xray_x86_64.cc | 144 +++ make/AppleBI.mk | 149 ---- make/config.mk | 49 - make/filter-inputs | 25 - make/lib_info.mk | 59 -- make/lib_platforms.mk | 82 -- make/lib_util.mk | 65 -- make/options.mk | 48 - make/platform/clang_darwin.mk | 468 ---------- make/platform/clang_darwin_test_input.c | 15 - make/platform/clang_linux.mk | 92 -- make/platform/clang_linux_test_input.c | 4 - make/platform/clang_macho_embedded.mk | 297 ------- make/platform/clang_macho_embedded_test_input.c | 0 make/platform/clang_mingw.mk | 30 - make/platform/darwin_bni.mk | 135 --- make/platform/multi_arch.mk | 15 - make/subdir.mk | 92 -- make/test/test-util.mk | 66 -- make/util.mk | 114 --- test/CMakeLists.txt | 10 +- test/asan/TestCases/Android/coverage-android.cc | 4 + test/asan/TestCases/Darwin/cstring_section.c | 17 + test/asan/TestCases/Darwin/dead-strip.c | 2 +- test/asan/TestCases/Darwin/odr-lto.cc | 45 + test/asan/TestCases/Linux/abort_on_error.cc | 2 + .../TestCases/Linux/auto_memory_profile_test.cc | 32 + test/asan/TestCases/Linux/coverage_html_report.cc | 24 - test/asan/TestCases/Linux/cuda_test.cc | 37 + test/asan/TestCases/Linux/local_alias.cc | 5 +- test/asan/TestCases/Linux/new_delete_mismatch.cc | 4 +- test/asan/TestCases/Linux/odr-violation.cc | 5 +- .../TestCases/Linux/print_memory_profile_test.cc | 24 +- .../Linux/pthread_create_from_constructor.cc | 49 + test/asan/TestCases/Linux/release_to_os_test.cc | 46 + .../asan/TestCases/Linux/swapcontext_annotation.cc | 74 +- .../TestCases/Posix/asan-symbolize-sanity-test.cc | 1 + test/asan/TestCases/Posix/halt_on_error-signals.c | 2 +- test/asan/TestCases/Posix/halt_on_error-torture.cc | 11 +- .../Posix/halt_on_error_suppress_equal_pcs.cc | 6 +- test/asan/TestCases/Posix/handle_abort_on_error.cc | 9 + test/asan/TestCases/Posix/start-deactivated.cc | 41 +- .../Windows/bind_io_completion_callback.cc | 5 - test/asan/TestCases/Windows/default_options.cc | 18 - test/asan/TestCases/Windows/dll_host.cc | 2 +- .../asan/TestCases/Windows/dll_intercept_memchr.cc | 6 + .../Windows/dll_intercept_memcpy_indirect.cc | 2 +- test/asan/TestCases/Windows/free_hook_realloc.cc | 3 + test/asan/TestCases/Windows/on_error_callback.cc | 20 - .../asan/TestCases/Windows/queue_user_work_item.cc | 5 - .../Windows/queue_user_work_item_report.cc | 2 - .../Windows/report_after_syminitialize.cc | 2 + test/asan/TestCases/Windows/shadow_conflict_32.cc | 29 + test/asan/TestCases/alloca_big_alignment.cc | 2 +- test/asan/TestCases/alloca_detect_custom_size_.cc | 2 +- .../TestCases/alloca_instruments_all_paddings.cc | 4 +- test/asan/TestCases/alloca_loop_unpoisoning.cc | 2 +- test/asan/TestCases/alloca_overflow_partial.cc | 2 +- test/asan/TestCases/alloca_overflow_right.cc | 2 +- test/asan/TestCases/alloca_safe_access.cc | 2 +- test/asan/TestCases/alloca_underflow_left.cc | 2 +- test/asan/TestCases/alloca_vla_interact.cc | 2 +- test/asan/TestCases/atexit_stats.cc | 4 +- test/asan/TestCases/coverage-pc-buffer.cc | 65 -- test/asan/TestCases/debug_report.cc | 3 + test/asan/TestCases/default_options.cc | 3 + test/asan/TestCases/global-address.cpp | 12 + test/asan/TestCases/ill.cc | 32 + test/asan/TestCases/interception_failure_test.cc | 8 +- test/asan/TestCases/on_error_callback.cc | 3 + .../TestCases/{Linux => }/scariness_score_test.cc | 28 +- test/asan/TestCases/set_shadow_test.c | 69 ++ test/asan/TestCases/speculative_load.cc | 4 + test/asan/TestCases/strdup_oob_test.cc | 4 + .../{strcmp_strict.c => strncmp_strict.c} | 4 +- test/asan/TestCases/strstr-1.c | 2 +- test/asan/TestCases/strstr_strict.c | 2 +- test/asan/TestCases/use-after-scope-goto.cc | 73 ++ test/asan/TestCases/use-after-scope-inlined.cc | 2 +- test/asan/TestCases/use-after-scope-loop-bug.cc | 2 +- test/asan/TestCases/use-after-scope-types.cc | 27 +- test/asan/TestCases/use-after-scope.cc | 4 +- test/asan/TestCases/vla_chrome_testcase.cc | 2 +- test/asan/TestCases/vla_condition_overflow.cc | 2 +- test/asan/TestCases/vla_loop_overfow.cc | 2 +- test/asan/android_commands/android_run.py | 9 +- test/asan/lit.cfg | 39 +- test/builtins/Unit/cpu_model_test.c | 2 + test/cfi/CMakeLists.txt | 13 +- test/cfi/simple-fail.cpp | 6 + test/cfi/two-vcalls.cpp | 60 ++ test/dfsan/custom.cc | 2 + test/esan/TestCases/mmap-shadow-conflict.c | 24 +- test/esan/TestCases/struct-simple.cpp | 44 +- test/esan/TestCases/verbose-simple.c | 18 +- test/esan/Unit/hashtable.cpp | 179 ++++ test/esan/lit.cfg | 2 +- test/interception/CMakeLists.txt | 5 +- test/lit.common.cfg | 10 +- test/lit.common.configured.in | 3 +- test/lsan/TestCases/cleanup_in_tsd_destructor.c | 5 +- test/lsan/TestCases/guard-page.c | 5 +- test/lsan/TestCases/large_allocation_leak.cc | 5 +- test/lsan/TestCases/pointer_to_self.cc | 5 +- test/lsan/TestCases/stale_stack_leak.cc | 11 +- test/lsan/TestCases/strace_test.cc | 14 + test/lsan/TestCases/use_after_return.cc | 7 +- test/lsan/TestCases/use_globals_initialized.cc | 5 +- test/lsan/TestCases/use_globals_uninitialized.cc | 5 +- test/lsan/TestCases/use_poisoned_asan.cc | 5 +- test/lsan/TestCases/use_registers.cc | 5 +- test/lsan/TestCases/use_stacks.cc | 5 +- test/lsan/TestCases/use_stacks_threaded.cc | 5 +- test/lsan/TestCases/use_tls_dynamic.cc | 5 +- .../TestCases/use_tls_pthread_specific_dynamic.cc | 5 +- .../TestCases/use_tls_pthread_specific_static.cc | 5 +- test/lsan/TestCases/use_tls_static.cc | 5 +- test/lsan/TestCases/use_unaligned.cc | 5 +- test/msan/Linux/forkpty.cc | 7 + test/msan/Linux/obstack.cc | 2 +- test/msan/allocator_mapping.cc | 2 +- test/msan/backtrace.cc | 2 +- test/msan/chained_origin.cc | 17 +- test/msan/chained_origin_memcpy.cc | 11 +- test/msan/coverage-levels.cc | 2 +- test/msan/fork.cc | 5 +- test/msan/mmap.cc | 10 +- test/msan/msan_check_mem_is_initialized.cc | 2 +- test/msan/strlen_of_shadow.cc | 2 +- test/profile/Inputs/comdat_rename.h | 13 + test/profile/Inputs/comdat_rename_1.cc | 33 + test/profile/Inputs/comdat_rename_2.cc | 18 + test/profile/Inputs/extern_template.h | 10 +- test/profile/Inputs/instrprof-comdat.h | 16 +- test/profile/Inputs/instrprof-dynamic-a.cpp | 10 +- test/profile/Linux/comdat_rename.test | 6 + test/profile/Linux/coverage_ctors.cpp | 8 +- test/profile/Linux/coverage_dtor.cpp | 4 +- test/profile/Linux/coverage_test.cpp | 26 +- test/profile/Linux/extern_template.test | 4 +- test/profile/Linux/instrprof-comdat.test | 2 +- test/profile/Linux/instrprof-cs.c | 6 +- test/profile/instrprof-darwin-dead-strip.c | 60 ++ test/profile/instrprof-dump.c | 62 ++ .../{Linux => }/instrprof-set-filename-shared.test | 4 +- test/profile/instrprof-visibility.cpp | 52 +- test/profile/lit.cfg | 11 +- test/safestack/lit.cfg | 1 - .../TestCases/Linux/sem_init_glibc.cc | 19 +- test/sanitizer_common/TestCases/symbolize_pc.cc | 41 + test/scudo/malloc.cpp | 16 +- test/scudo/memalign.cpp | 25 +- test/scudo/options.cpp | 25 + test/scudo/random_shuffle.cpp | 23 + test/scudo/realloc.cpp | 90 +- test/scudo/secondary.cpp | 54 ++ test/tsan/Darwin/gcd-apply-race.mm | 4 + test/tsan/Darwin/gcd-apply.mm | 4 + test/tsan/Darwin/gcd-target-queue-norace.mm | 41 + test/tsan/Darwin/libcxx-call-once.mm | 34 + test/tsan/Darwin/osatomics-bitops.mm | 34 + test/tsan/Darwin/realloc-zero.cc | 20 + test/tsan/fork_atexit.cc | 2 +- test/tsan/ignore_lib4.cc | 2 - test/tsan/libcxx/lit.local.cfg | 4 +- test/tsan/lit.cfg | 5 +- test/tsan/longjmp.cc | 3 - test/tsan/longjmp2.cc | 3 - test/tsan/longjmp3.cc | 3 - test/tsan/longjmp4.cc | 3 - test/tsan/map32bit.cc | 2 +- test/tsan/pie_test.cc | 6 - test/tsan/signal_cond.cc | 2 +- test/tsan/signal_longjmp.cc | 2 - test/ubsan/TestCases/TypeCheck/vptr.cpp | 9 +- test/xray/CMakeLists.txt | 41 + test/xray/TestCases/Linux/fixedsize-logging.cc | 20 + test/xray/TestCases/Linux/optional-inmemory-log.cc | 21 + test/xray/TestCases/Linux/patching-unpatching.cc | 47 + test/xray/lit.cfg | 34 + test/xray/lit.site.cfg.in | 13 + 399 files changed, 9387 insertions(+), 5134 deletions(-) delete mode 100644 Makefile create mode 100644 docs/TestingGuide.rst create mode 100644 include/xray/xray_records.h delete mode 100644 lib/Makefile.mk create mode 100644 lib/asan/asan_descriptions.cc create mode 100644 lib/asan/asan_descriptions.h create mode 100644 lib/asan/asan_errors.cc create mode 100644 lib/asan/asan_errors.h create mode 100644 lib/asan/tests/asan_internal_interface_test.cc delete mode 100644 lib/builtins/Makefile.mk delete mode 100644 lib/builtins/arm/Makefile.mk delete mode 100644 lib/builtins/arm64/Makefile.mk delete mode 100644 lib/builtins/armv6m/Makefile.mk delete mode 100644 lib/builtins/i386/Makefile.mk delete mode 100644 lib/builtins/ppc/Makefile.mk delete mode 100644 lib/builtins/x86_64/Makefile.mk create mode 100644 lib/esan/esan_hashtable.h create mode 100644 lib/sanitizer_common/sanitizer_linux_mips64.S create mode 100644 lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc create mode 100644 lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc create mode 100755 lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh create mode 100644 lib/sanitizer_common/symbolizer/scripts/global_symbols.txt create mode 100644 lib/sanitizer_common/tests/malloc_stress_transfer_test.cc create mode 100644 lib/scudo/scudo_allocator_secondary.h create mode 100644 lib/tsan/rtl/tsan_rtl_mips64.S create mode 100644 lib/xray/xray_arm.cc create mode 100644 lib/xray/xray_inmemory_log.cc create mode 100644 lib/xray/xray_trampoline_arm.S rename lib/xray/{xray_trampoline_x86.S => xray_trampoline_x86_64.S} (52%) create mode 100644 lib/xray/xray_x86_64.cc delete mode 100644 make/AppleBI.mk delete mode 100644 make/config.mk delete mode 100755 make/filter-inputs delete mode 100644 make/lib_info.mk delete mode 100644 make/lib_platforms.mk delete mode 100644 make/lib_util.mk delete mode 100644 make/options.mk delete mode 100644 make/platform/clang_darwin.mk delete mode 100644 make/platform/clang_darwin_test_input.c delete mode 100644 make/platform/clang_linux.mk delete mode 100644 make/platform/clang_linux_test_input.c delete mode 100644 make/platform/clang_macho_embedded.mk delete mode 100644 make/platform/clang_macho_embedded_test_input.c delete mode 100644 make/platform/clang_mingw.mk delete mode 100644 make/platform/darwin_bni.mk delete mode 100644 make/platform/multi_arch.mk delete mode 100644 make/subdir.mk delete mode 100644 make/test/test-util.mk delete mode 100644 make/util.mk create mode 100644 test/asan/TestCases/Darwin/cstring_section.c create mode 100644 test/asan/TestCases/Darwin/odr-lto.cc create mode 100644 test/asan/TestCases/Linux/auto_memory_profile_test.cc delete mode 100644 test/asan/TestCases/Linux/coverage_html_report.cc create mode 100644 test/asan/TestCases/Linux/cuda_test.cc create mode 100644 test/asan/TestCases/Linux/pthread_create_from_constructor.cc create mode 100644 test/asan/TestCases/Linux/release_to_os_test.cc create mode 100644 test/asan/TestCases/Posix/handle_abort_on_error.cc delete mode 100644 test/asan/TestCases/Windows/default_options.cc delete mode 100644 test/asan/TestCases/Windows/on_error_callback.cc create mode 100644 test/asan/TestCases/Windows/shadow_conflict_32.cc delete mode 100644 test/asan/TestCases/coverage-pc-buffer.cc create mode 100644 test/asan/TestCases/global-address.cpp create mode 100644 test/asan/TestCases/ill.cc rename test/asan/TestCases/{Linux => }/scariness_score_test.cc (89%) create mode 100644 test/asan/TestCases/set_shadow_test.c copy test/asan/TestCases/{strcmp_strict.c => strncmp_strict.c} (87%) create mode 100644 test/asan/TestCases/use-after-scope-goto.cc create mode 100644 test/cfi/two-vcalls.cpp create mode 100644 test/esan/Unit/hashtable.cpp create mode 100644 test/lsan/TestCases/strace_test.cc create mode 100644 test/profile/Inputs/comdat_rename.h create mode 100644 test/profile/Inputs/comdat_rename_1.cc create mode 100644 test/profile/Inputs/comdat_rename_2.cc create mode 100644 test/profile/Linux/comdat_rename.test create mode 100644 test/profile/instrprof-darwin-dead-strip.c create mode 100644 test/profile/instrprof-dump.c rename test/profile/{Linux => }/instrprof-set-filename-shared.test (81%) create mode 100644 test/sanitizer_common/TestCases/symbolize_pc.cc create mode 100644 test/scudo/options.cpp create mode 100644 test/scudo/random_shuffle.cpp create mode 100644 test/scudo/secondary.cpp create mode 100644 test/tsan/Darwin/gcd-target-queue-norace.mm create mode 100644 test/tsan/Darwin/libcxx-call-once.mm create mode 100644 test/tsan/Darwin/osatomics-bitops.mm create mode 100644 test/tsan/Darwin/realloc-zero.cc create mode 100644 test/xray/CMakeLists.txt create mode 100644 test/xray/TestCases/Linux/fixedsize-logging.cc create mode 100644 test/xray/TestCases/Linux/optional-inmemory-log.cc create mode 100644 test/xray/TestCases/Linux/patching-unpatching.cc create mode 100644 test/xray/lit.cfg create mode 100644 test/xray/lit.site.cfg.in