svn commit: r326943 - in vendor/compiler-rt/dist: . cmake cmake/Modules include include/sanitizer include/xray lib lib/BlocksRuntime lib/asan lib/asan/scripts lib/asan/tests lib/builtins lib/builti...
Dimitry Andric
dim at FreeBSD.org
Mon Dec 18 20:11:59 UTC 2017
Author: dim
Date: Mon Dec 18 20:11:54 2017
New Revision: 326943
URL: https://svnweb.freebsd.org/changeset/base/326943
Log:
Vendor import of compiler-rt trunk r321017:
https://llvm.org/svn/llvm-project/compiler-rt/trunk@321017
Added:
vendor/compiler-rt/dist/cmake/Modules/HandleCompilerRT.cmake
vendor/compiler-rt/dist/include/sanitizer/hwasan_interface.h (contents, props changed)
vendor/compiler-rt/dist/include/sanitizer/scudo_interface.h (contents, props changed)
vendor/compiler-rt/dist/lib/asan/asan_fuchsia.cc (contents, props changed)
vendor/compiler-rt/dist/lib/asan/asan_interceptors_memintrinsics.cc (contents, props changed)
vendor/compiler-rt/dist/lib/asan/asan_interceptors_memintrinsics.h (contents, props changed)
vendor/compiler-rt/dist/lib/asan/asan_premap_shadow.cc (contents, props changed)
vendor/compiler-rt/dist/lib/asan/asan_premap_shadow.h (contents, props changed)
vendor/compiler-rt/dist/lib/asan/asan_shadow_setup.cc (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/
vendor/compiler-rt/dist/lib/fuzzer/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerClangCounters.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerCommand.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerCorpus.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerCrossOver.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerDefs.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerDictionary.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerDriver.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtFunctions.def
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtFunctions.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtFunctionsDlsym.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtFunctionsWeak.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtFunctionsWeakAlias.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerExtraCounters.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerFlags.def
vendor/compiler-rt/dist/lib/fuzzer/FuzzerIO.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerIO.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerIOPosix.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerIOWindows.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerInterface.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerInternal.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerLoop.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerMain.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerMerge.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerMerge.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerMutate.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerMutate.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerOptions.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerRandom.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerSHA1.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerSHA1.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerShmem.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerShmemFuchsia.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerShmemPosix.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerShmemWindows.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerTracePC.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerTracePC.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtil.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtil.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtilDarwin.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtilFuchsia.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtilLinux.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtilPosix.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerUtilWindows.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/FuzzerValueBitMap.h (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/README.txt (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/afl/
vendor/compiler-rt/dist/lib/fuzzer/afl/afl_driver.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/build.sh (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/scripts/
vendor/compiler-rt/dist/lib/fuzzer/scripts/unbalanced_allocs.py (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/standalone/
vendor/compiler-rt/dist/lib/fuzzer/standalone/StandaloneFuzzTargetMain.c (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/tests/
vendor/compiler-rt/dist/lib/fuzzer/tests/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/lib/fuzzer/tests/FuzzerUnittest.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/
vendor/compiler-rt/dist/lib/hwasan/.clang-format
vendor/compiler-rt/dist/lib/hwasan/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan.h (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan.syms.extra
vendor/compiler-rt/dist/lib/hwasan/hwasan_allocator.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_allocator.h (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_blacklist.txt (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_flags.h (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_flags.inc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_interceptors.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_interface_internal.h (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_linux.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_new_delete.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_poisoning.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_poisoning.h (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_report.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_thread.cc (contents, props changed)
vendor/compiler-rt/dist/lib/hwasan/hwasan_thread.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_checks.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_file.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_file.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_fuchsia.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_fuchsia.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_getauxval.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_solaris.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_solaris.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_solaris.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_signal_interceptors.inc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_solaris.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_fuchsia.cc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_arm.inc (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_vector.h (contents, props changed)
vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_vector_test.cc (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_interface_internal.h (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_platform.h (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_tsd.h (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_tsd_exclusive.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_tsd_exclusive.inc (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_tsd_shared.cpp (contents, props changed)
vendor/compiler-rt/dist/lib/scudo/scudo_tsd_shared.inc (contents, props changed)
vendor/compiler-rt/dist/lib/ubsan/ubsan_signals_standalone.cc (contents, props changed)
vendor/compiler-rt/dist/lib/ubsan/ubsan_signals_standalone.h (contents, props changed)
vendor/compiler-rt/dist/lib/ubsan_minimal/
vendor/compiler-rt/dist/lib/ubsan_minimal/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/lib/ubsan_minimal/ubsan.syms.extra
vendor/compiler-rt/dist/lib/ubsan_minimal/ubsan_minimal_handlers.cc (contents, props changed)
vendor/compiler-rt/dist/lib/xray/weak_symbols.txt (contents, props changed)
vendor/compiler-rt/dist/lib/xray/xray_inmemory_log.h (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/fclose.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/getpwnam.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/interface_symbols_darwin.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/suppressions-function.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Helpers/underflow.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/aligned_delete_test.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/interface_symbols_linux.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/printf-fortify-1.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/printf-fortify-2.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/printf-fortify-3.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/printf-fortify-4.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/printf-fortify-5.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/pvalloc-overflow.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Linux/recoverable-lsan.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Posix/concurrent_overflow.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Posix/coverage-reset.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Posix/invalid-pointer-pairs-threads.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/Windows/interface_symbols_windows.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/error_report_callback.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/global-underflow.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/invalid-pointer-pairs-compare-errors.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/invalid-pointer-pairs-compare-success.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/invalid-pointer-pairs-subtract-errors.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/invalid-pointer-pairs-subtract-success.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/pass-object-byval.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/pass-struct-byval-uar.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/pass-struct-byval.cc (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/sleep_after_init.c (contents, props changed)
vendor/compiler-rt/dist/test/asan/TestCases/use-after-scope-conversion.cc (contents, props changed)
vendor/compiler-rt/dist/test/cfi/cross-dso/util/
vendor/compiler-rt/dist/test/cfi/cross-dso/util/cfi_stubs.h (contents, props changed)
vendor/compiler-rt/dist/test/cfi/vtable-may-alias.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/
vendor/compiler-rt/dist/test/fuzzer/AFLDriverTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/AbsNegAndConstant64Test.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/AbsNegAndConstantTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/AccumulateAllocationsTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/BadStrcmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/BogusInitializeTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/BufferOverflowOnInput.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CallerCalleeTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CleanseTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CounterTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CustomCrossOverAndMutateTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CustomCrossOverTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CustomMutatorTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/CxxStringEqTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/DSO1.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/DSO2.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/DSOTestExtra.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/DSOTestMain.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/DeepRecursionTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/DivTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/EmptyTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/EquivalenceATest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/EquivalenceBTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/FlagsTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/FourIndependentBranchesTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/FullCoverageSetTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/GcSectionsTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/InitializeTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/LargeTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/LeakTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/LeakTimeoutTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/LoadTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/Memcmp64BytesTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/MemcmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/NotinstrumentedTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/NthRunCrashTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/NullDerefOnEmptyTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/NullDerefTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/OneHugeAllocTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/OutOfMemoryTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/OverwriteInputTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/PrintFuncTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/RepeatedBytesTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/RepeatedMemcmp.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/ShrinkControlFlowSimpleTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/ShrinkControlFlowTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/ShrinkValueProfileTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SignedIntOverflowTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SimpleCmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SimpleDictionaryTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SimpleHashTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SimpleTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SimpleThreadedTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SingleByteInputTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SingleMemcmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SingleStrcmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SingleStrncmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SleepOneSecondTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SpamyTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/StrcmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/StrncmpOOBTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/StrncmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/StrstrTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SwapCmpTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/Switch2Test.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/SwitchTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/TableLookupTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/ThreadedLeakTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/ThreadedTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/TimeoutEmptyTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/TimeoutTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/TraceMallocTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/TraceMallocThreadedTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/TwoDifferentBugsTest.cpp (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/afl-driver-extra-stats.test
vendor/compiler-rt/dist/test/fuzzer/afl-driver-stderr.test
vendor/compiler-rt/dist/test/fuzzer/afl-driver.test
vendor/compiler-rt/dist/test/fuzzer/bad-strcmp.test
vendor/compiler-rt/dist/test/fuzzer/caller-callee.test
vendor/compiler-rt/dist/test/fuzzer/cleanse.test
vendor/compiler-rt/dist/test/fuzzer/coverage.test
vendor/compiler-rt/dist/test/fuzzer/cxxstring.test
vendor/compiler-rt/dist/test/fuzzer/deep-recursion.test
vendor/compiler-rt/dist/test/fuzzer/dict1.txt (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/disable-leaks.test
vendor/compiler-rt/dist/test/fuzzer/dump_coverage.test
vendor/compiler-rt/dist/test/fuzzer/equivalence-signals.test
vendor/compiler-rt/dist/test/fuzzer/equivalence.test
vendor/compiler-rt/dist/test/fuzzer/exit-report.test
vendor/compiler-rt/dist/test/fuzzer/exit_on_src_pos.test
vendor/compiler-rt/dist/test/fuzzer/extra-counters.test
vendor/compiler-rt/dist/test/fuzzer/fprofile-instr-generate.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-customcrossover.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-customcrossoverandmutate.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-custommutator.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-dict.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-dirs.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-fdmask.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-finalstats.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-flags.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-leak.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-oom-with-profile.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-oom.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-printcovpcs.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-runs.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-seed.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-segv.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-singleinputs.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-threaded.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-timeout.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer-ubsan.test
vendor/compiler-rt/dist/test/fuzzer/fuzzer.test
vendor/compiler-rt/dist/test/fuzzer/gc-sections.test
vendor/compiler-rt/dist/test/fuzzer/hi.txt (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/inline-8bit-counters.test
vendor/compiler-rt/dist/test/fuzzer/lit.cfg
vendor/compiler-rt/dist/test/fuzzer/lit.site.cfg.in (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/max-number-of-runs.test
vendor/compiler-rt/dist/test/fuzzer/memcmp.test
vendor/compiler-rt/dist/test/fuzzer/memcmp64.test
vendor/compiler-rt/dist/test/fuzzer/merge-control-file.test
vendor/compiler-rt/dist/test/fuzzer/merge-posix.test
vendor/compiler-rt/dist/test/fuzzer/merge-sigusr.test
vendor/compiler-rt/dist/test/fuzzer/merge-summary.test
vendor/compiler-rt/dist/test/fuzzer/merge.test
vendor/compiler-rt/dist/test/fuzzer/minimize_crash.test
vendor/compiler-rt/dist/test/fuzzer/minimize_two_crashes.test
vendor/compiler-rt/dist/test/fuzzer/overwrite-input.test
vendor/compiler-rt/dist/test/fuzzer/print-func.test
vendor/compiler-rt/dist/test/fuzzer/recommended-dictionary.test
vendor/compiler-rt/dist/test/fuzzer/reduce_inputs.test
vendor/compiler-rt/dist/test/fuzzer/repeated-bytes.test
vendor/compiler-rt/dist/test/fuzzer/shrink.test
vendor/compiler-rt/dist/test/fuzzer/sigusr.test
vendor/compiler-rt/dist/test/fuzzer/simple-cmp.test
vendor/compiler-rt/dist/test/fuzzer/standalone.test
vendor/compiler-rt/dist/test/fuzzer/strcmp.test
vendor/compiler-rt/dist/test/fuzzer/strncmp.test
vendor/compiler-rt/dist/test/fuzzer/strstr.test
vendor/compiler-rt/dist/test/fuzzer/swap-cmp.test
vendor/compiler-rt/dist/test/fuzzer/trace-malloc-2.test
vendor/compiler-rt/dist/test/fuzzer/trace-malloc-threaded.test
vendor/compiler-rt/dist/test/fuzzer/trace-malloc-unbalanced.test
vendor/compiler-rt/dist/test/fuzzer/trace-malloc.test
vendor/compiler-rt/dist/test/fuzzer/trace-pc.test
vendor/compiler-rt/dist/test/fuzzer/ulimit.test
vendor/compiler-rt/dist/test/fuzzer/unit/
vendor/compiler-rt/dist/test/fuzzer/unit/lit.site.cfg.in (contents, props changed)
vendor/compiler-rt/dist/test/fuzzer/value-profile-cmp.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-cmp2.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-cmp3.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-cmp4.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-div.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-load.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-mem.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-set.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-strcmp.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-strncmp.test
vendor/compiler-rt/dist/test/fuzzer/value-profile-switch.test
vendor/compiler-rt/dist/test/hwasan/
vendor/compiler-rt/dist/test/hwasan/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/test/hwasan/TestCases/
vendor/compiler-rt/dist/test/hwasan/TestCases/halt-on-error.cc (contents, props changed)
vendor/compiler-rt/dist/test/hwasan/TestCases/use-after-free.cc (contents, props changed)
vendor/compiler-rt/dist/test/hwasan/lit.cfg
vendor/compiler-rt/dist/test/hwasan/lit.site.cfg.in (contents, props changed)
vendor/compiler-rt/dist/test/lsan/TestCases/default_options.cc (contents, props changed)
vendor/compiler-rt/dist/test/msan/Linux/poll.cc (contents, props changed)
vendor/compiler-rt/dist/test/msan/__strxfrm_l.cc (contents, props changed)
vendor/compiler-rt/dist/test/msan/pvalloc.cc (contents, props changed)
vendor/compiler-rt/dist/test/msan/sigaction.cc (contents, props changed)
vendor/compiler-rt/dist/test/profile/infinite_loop.c (contents, props changed)
vendor/compiler-rt/dist/test/profile/runtime_infinite.c (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/allow_user_segv.cc (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cc (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/dump_registers.cc (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cc (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/android_commands/
vendor/compiler-rt/dist/test/sanitizer_common/android_commands/android_common.py (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/android_commands/android_compile.py (contents, props changed)
vendor/compiler-rt/dist/test/sanitizer_common/android_commands/android_run.py (contents, props changed)
vendor/compiler-rt/dist/test/scudo/alignment.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/memalign.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/overflow.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/preinit.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/preload.cpp (contents, props changed)
vendor/compiler-rt/dist/test/scudo/quarantine.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/rss.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/secondary.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/threads.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/tsd_destruction.c (contents, props changed)
vendor/compiler-rt/dist/test/scudo/valloc.c (contents, props changed)
vendor/compiler-rt/dist/test/tsan/Linux/double_race.cc (contents, props changed)
vendor/compiler-rt/dist/test/tsan/atexit3.cc (contents, props changed)
vendor/compiler-rt/dist/test/tsan/custom_mutex4.cc (contents, props changed)
vendor/compiler-rt/dist/test/tsan/custom_mutex5.cc (contents, props changed)
vendor/compiler-rt/dist/test/tsan/signal_pause.cc (contents, props changed)
vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/Inputs/
vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/Inputs/no-interception-dso.c (contents, props changed)
vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/builtins.cpp (contents, props changed)
vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/no-interception.cpp (contents, props changed)
vendor/compiler-rt/dist/test/ubsan_minimal/
vendor/compiler-rt/dist/test/ubsan_minimal/CMakeLists.txt (contents, props changed)
vendor/compiler-rt/dist/test/ubsan_minimal/TestCases/
vendor/compiler-rt/dist/test/ubsan_minimal/TestCases/recover-dedup-limit.cpp (contents, props changed)
vendor/compiler-rt/dist/test/ubsan_minimal/TestCases/recover-dedup.cpp (contents, props changed)
vendor/compiler-rt/dist/test/ubsan_minimal/TestCases/test-darwin-interface.c (contents, props changed)
vendor/compiler-rt/dist/test/ubsan_minimal/TestCases/uadd-overflow.cpp (contents, props changed)
vendor/compiler-rt/dist/test/ubsan_minimal/lit.common.cfg
vendor/compiler-rt/dist/test/ubsan_minimal/lit.site.cfg.in (contents, props changed)
vendor/compiler-rt/dist/test/xray/TestCases/Linux/basic-filtering.cc (contents, props changed)
vendor/compiler-rt/dist/test/xray/TestCases/Linux/common-trampoline-alignment.cc (contents, props changed)
vendor/compiler-rt/dist/test/xray/TestCases/Linux/custom-event-handler-alignment.cc (contents, props changed)
vendor/compiler-rt/dist/test/xray/TestCases/Linux/fdr-single-thread.cc (contents, props changed)
vendor/compiler-rt/dist/test/xray/TestCases/Linux/logging-modes.cc (contents, props changed)
vendor/compiler-rt/dist/test/xray/TestCases/Linux/quiet-start.cc (contents, props changed)
Deleted:
vendor/compiler-rt/dist/lib/scudo/scudo_tls.h
vendor/compiler-rt/dist/lib/scudo/scudo_tls_android.cpp
vendor/compiler-rt/dist/lib/scudo/scudo_tls_android.inc
vendor/compiler-rt/dist/lib/scudo/scudo_tls_context_android.inc
vendor/compiler-rt/dist/lib/scudo/scudo_tls_context_linux.inc
vendor/compiler-rt/dist/lib/scudo/scudo_tls_linux.cpp
vendor/compiler-rt/dist/lib/scudo/scudo_tls_linux.inc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_vector.h
vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_vector_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/interface_symbols_darwin.c
vendor/compiler-rt/dist/test/asan/TestCases/Linux/interface_symbols_linux.c
vendor/compiler-rt/dist/test/asan/TestCases/Posix/allow_user_segv.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/dump_instruction_bytes.cc
vendor/compiler-rt/dist/test/asan/TestCases/Windows/interface_symbols_windows.c
vendor/compiler-rt/dist/test/asan/android_commands/
vendor/compiler-rt/dist/test/scudo/alignment.cpp
vendor/compiler-rt/dist/test/scudo/memalign.cpp
vendor/compiler-rt/dist/test/scudo/overflow.cpp
vendor/compiler-rt/dist/test/scudo/preinit.cpp
vendor/compiler-rt/dist/test/scudo/quarantine.cpp
vendor/compiler-rt/dist/test/scudo/secondary.cpp
vendor/compiler-rt/dist/test/scudo/threads.cpp
Modified:
vendor/compiler-rt/dist/.arcconfig
vendor/compiler-rt/dist/.gitignore
vendor/compiler-rt/dist/CMakeLists.txt
vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake
vendor/compiler-rt/dist/cmake/Modules/CompilerRTCompile.cmake
vendor/compiler-rt/dist/cmake/Modules/CompilerRTDarwinUtils.cmake
vendor/compiler-rt/dist/cmake/Modules/CompilerRTUtils.cmake
vendor/compiler-rt/dist/cmake/base-config-ix.cmake
vendor/compiler-rt/dist/cmake/builtin-config-ix.cmake
vendor/compiler-rt/dist/cmake/config-ix.cmake
vendor/compiler-rt/dist/include/CMakeLists.txt
vendor/compiler-rt/dist/include/sanitizer/allocator_interface.h
vendor/compiler-rt/dist/include/sanitizer/asan_interface.h
vendor/compiler-rt/dist/include/sanitizer/coverage_interface.h
vendor/compiler-rt/dist/include/sanitizer/lsan_interface.h
vendor/compiler-rt/dist/include/sanitizer/tsan_interface.h
vendor/compiler-rt/dist/include/xray/xray_interface.h
vendor/compiler-rt/dist/include/xray/xray_log_interface.h
vendor/compiler-rt/dist/include/xray/xray_records.h
vendor/compiler-rt/dist/lib/BlocksRuntime/Block.h
vendor/compiler-rt/dist/lib/BlocksRuntime/Block_private.h
vendor/compiler-rt/dist/lib/CMakeLists.txt
vendor/compiler-rt/dist/lib/asan/CMakeLists.txt
vendor/compiler-rt/dist/lib/asan/asan_activation.cc
vendor/compiler-rt/dist/lib/asan/asan_allocator.cc
vendor/compiler-rt/dist/lib/asan/asan_allocator.h
vendor/compiler-rt/dist/lib/asan/asan_descriptions.cc
vendor/compiler-rt/dist/lib/asan/asan_descriptions.h
vendor/compiler-rt/dist/lib/asan/asan_errors.cc
vendor/compiler-rt/dist/lib/asan/asan_errors.h
vendor/compiler-rt/dist/lib/asan/asan_fake_stack.cc
vendor/compiler-rt/dist/lib/asan/asan_flags.cc
vendor/compiler-rt/dist/lib/asan/asan_flags.inc
vendor/compiler-rt/dist/lib/asan/asan_globals.cc
vendor/compiler-rt/dist/lib/asan/asan_init_version.h
vendor/compiler-rt/dist/lib/asan/asan_interceptors.cc
vendor/compiler-rt/dist/lib/asan/asan_interceptors.h
vendor/compiler-rt/dist/lib/asan/asan_internal.h
vendor/compiler-rt/dist/lib/asan/asan_linux.cc
vendor/compiler-rt/dist/lib/asan/asan_malloc_linux.cc
vendor/compiler-rt/dist/lib/asan/asan_mapping.h
vendor/compiler-rt/dist/lib/asan/asan_memory_profile.cc
vendor/compiler-rt/dist/lib/asan/asan_new_delete.cc
vendor/compiler-rt/dist/lib/asan/asan_poisoning.cc
vendor/compiler-rt/dist/lib/asan/asan_poisoning.h
vendor/compiler-rt/dist/lib/asan/asan_posix.cc
vendor/compiler-rt/dist/lib/asan/asan_report.cc
vendor/compiler-rt/dist/lib/asan/asan_report.h
vendor/compiler-rt/dist/lib/asan/asan_rtl.cc
vendor/compiler-rt/dist/lib/asan/asan_scariness_score.h
vendor/compiler-rt/dist/lib/asan/asan_stack.h
vendor/compiler-rt/dist/lib/asan/asan_thread.cc
vendor/compiler-rt/dist/lib/asan/asan_thread.h
vendor/compiler-rt/dist/lib/asan/asan_win.cc
vendor/compiler-rt/dist/lib/asan/scripts/asan_device_setup
vendor/compiler-rt/dist/lib/asan/scripts/asan_symbolize.py
vendor/compiler-rt/dist/lib/asan/tests/CMakeLists.txt
vendor/compiler-rt/dist/lib/asan/tests/asan_asm_test.cc
vendor/compiler-rt/dist/lib/asan/tests/asan_interface_test.cc
vendor/compiler-rt/dist/lib/asan/tests/asan_str_test.cc
vendor/compiler-rt/dist/lib/asan/tests/asan_test.cc
vendor/compiler-rt/dist/lib/asan/tests/asan_test_utils.h
vendor/compiler-rt/dist/lib/builtins/CMakeLists.txt
vendor/compiler-rt/dist/lib/builtins/adddf3.c
vendor/compiler-rt/dist/lib/builtins/addsf3.c
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_cdcmp.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_cfcmp.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_idivmod.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memcmp.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memcpy.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memmove.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_memset.S
vendor/compiler-rt/dist/lib/builtins/arm/aeabi_uidivmod.S
vendor/compiler-rt/dist/lib/builtins/arm/bswapdi2.S
vendor/compiler-rt/dist/lib/builtins/arm/bswapsi2.S
vendor/compiler-rt/dist/lib/builtins/arm/clzdi2.S
vendor/compiler-rt/dist/lib/builtins/arm/clzsi2.S
vendor/compiler-rt/dist/lib/builtins/arm/comparesf2.S
vendor/compiler-rt/dist/lib/builtins/arm/divmodsi4.S
vendor/compiler-rt/dist/lib/builtins/arm/divsi3.S
vendor/compiler-rt/dist/lib/builtins/arm/modsi3.S
vendor/compiler-rt/dist/lib/builtins/arm/udivmodsi4.S
vendor/compiler-rt/dist/lib/builtins/arm/udivsi3.S
vendor/compiler-rt/dist/lib/builtins/arm/umodsi3.S
vendor/compiler-rt/dist/lib/builtins/ashldi3.c
vendor/compiler-rt/dist/lib/builtins/ashrdi3.c
vendor/compiler-rt/dist/lib/builtins/assembly.h
vendor/compiler-rt/dist/lib/builtins/clear_cache.c
vendor/compiler-rt/dist/lib/builtins/comparedf2.c
vendor/compiler-rt/dist/lib/builtins/comparesf2.c
vendor/compiler-rt/dist/lib/builtins/cpu_model.c
vendor/compiler-rt/dist/lib/builtins/divdf3.c
vendor/compiler-rt/dist/lib/builtins/divsf3.c
vendor/compiler-rt/dist/lib/builtins/divsi3.c
vendor/compiler-rt/dist/lib/builtins/emutls.c
vendor/compiler-rt/dist/lib/builtins/enable_execute_stack.c
vendor/compiler-rt/dist/lib/builtins/extendhfsf2.c
vendor/compiler-rt/dist/lib/builtins/extendsfdf2.c
vendor/compiler-rt/dist/lib/builtins/fixdfdi.c
vendor/compiler-rt/dist/lib/builtins/fixdfsi.c
vendor/compiler-rt/dist/lib/builtins/fixsfdi.c
vendor/compiler-rt/dist/lib/builtins/fixsfsi.c
vendor/compiler-rt/dist/lib/builtins/fixunsdfdi.c
vendor/compiler-rt/dist/lib/builtins/fixunsdfsi.c
vendor/compiler-rt/dist/lib/builtins/fixunssfdi.c
vendor/compiler-rt/dist/lib/builtins/fixunssfsi.c
vendor/compiler-rt/dist/lib/builtins/floatdidf.c
vendor/compiler-rt/dist/lib/builtins/floatdisf.c
vendor/compiler-rt/dist/lib/builtins/floatsidf.c
vendor/compiler-rt/dist/lib/builtins/floatsisf.c
vendor/compiler-rt/dist/lib/builtins/floatundidf.c
vendor/compiler-rt/dist/lib/builtins/floatundisf.c
vendor/compiler-rt/dist/lib/builtins/floatunsidf.c
vendor/compiler-rt/dist/lib/builtins/floatunsisf.c
vendor/compiler-rt/dist/lib/builtins/int_endianness.h
vendor/compiler-rt/dist/lib/builtins/int_lib.h
vendor/compiler-rt/dist/lib/builtins/lshrdi3.c
vendor/compiler-rt/dist/lib/builtins/muldf3.c
vendor/compiler-rt/dist/lib/builtins/muldi3.c
vendor/compiler-rt/dist/lib/builtins/mulsf3.c
vendor/compiler-rt/dist/lib/builtins/negdf2.c
vendor/compiler-rt/dist/lib/builtins/negsf2.c
vendor/compiler-rt/dist/lib/builtins/subdf3.c
vendor/compiler-rt/dist/lib/builtins/subsf3.c
vendor/compiler-rt/dist/lib/builtins/truncdfhf2.c
vendor/compiler-rt/dist/lib/builtins/truncdfsf2.c
vendor/compiler-rt/dist/lib/builtins/truncsfhf2.c
vendor/compiler-rt/dist/lib/builtins/udivsi3.c
vendor/compiler-rt/dist/lib/cfi/CMakeLists.txt
vendor/compiler-rt/dist/lib/cfi/cfi.cc
vendor/compiler-rt/dist/lib/cfi/cfi_blacklist.txt
vendor/compiler-rt/dist/lib/dfsan/dfsan.cc
vendor/compiler-rt/dist/lib/esan/esan_sideline.h
vendor/compiler-rt/dist/lib/esan/esan_sideline_linux.cpp
vendor/compiler-rt/dist/lib/esan/working_set_posix.cpp
vendor/compiler-rt/dist/lib/interception/interception.h
vendor/compiler-rt/dist/lib/interception/interception_linux.cc
vendor/compiler-rt/dist/lib/interception/interception_linux.h
vendor/compiler-rt/dist/lib/interception/interception_mac.cc
vendor/compiler-rt/dist/lib/interception/interception_mac.h
vendor/compiler-rt/dist/lib/interception/interception_type_test.cc
vendor/compiler-rt/dist/lib/interception/interception_win.cc
vendor/compiler-rt/dist/lib/interception/interception_win.h
vendor/compiler-rt/dist/lib/interception/tests/CMakeLists.txt
vendor/compiler-rt/dist/lib/lsan/CMakeLists.txt
vendor/compiler-rt/dist/lib/lsan/lsan.cc
vendor/compiler-rt/dist/lib/lsan/lsan.h
vendor/compiler-rt/dist/lib/lsan/lsan_allocator.h
vendor/compiler-rt/dist/lib/lsan/lsan_common.cc
vendor/compiler-rt/dist/lib/lsan/lsan_common.h
vendor/compiler-rt/dist/lib/lsan/lsan_common_linux.cc
vendor/compiler-rt/dist/lib/lsan/lsan_common_mac.cc
vendor/compiler-rt/dist/lib/lsan/lsan_interceptors.cc
vendor/compiler-rt/dist/lib/lsan/weak_symbols.txt
vendor/compiler-rt/dist/lib/msan/msan.cc
vendor/compiler-rt/dist/lib/msan/msan.h
vendor/compiler-rt/dist/lib/msan/msan_allocator.cc
vendor/compiler-rt/dist/lib/msan/msan_interceptors.cc
vendor/compiler-rt/dist/lib/msan/msan_linux.cc
vendor/compiler-rt/dist/lib/msan/msan_report.cc
vendor/compiler-rt/dist/lib/msan/tests/CMakeLists.txt
vendor/compiler-rt/dist/lib/msan/tests/msan_test.cc
vendor/compiler-rt/dist/lib/profile/CMakeLists.txt
vendor/compiler-rt/dist/lib/profile/GCDAProfiling.c
vendor/compiler-rt/dist/lib/profile/InstrProfData.inc
vendor/compiler-rt/dist/lib/profile/InstrProfiling.c
vendor/compiler-rt/dist/lib/profile/InstrProfilingFile.c
vendor/compiler-rt/dist/lib/profile/InstrProfilingInternal.h
vendor/compiler-rt/dist/lib/profile/InstrProfilingPlatformLinux.c
vendor/compiler-rt/dist/lib/profile/InstrProfilingPlatformOther.c
vendor/compiler-rt/dist/lib/profile/InstrProfilingPort.h
vendor/compiler-rt/dist/lib/profile/InstrProfilingUtil.c
vendor/compiler-rt/dist/lib/profile/InstrProfilingUtil.h
vendor/compiler-rt/dist/lib/profile/InstrProfilingValue.c
vendor/compiler-rt/dist/lib/profile/InstrProfilingWriter.c
vendor/compiler-rt/dist/lib/profile/WindowsMMap.c
vendor/compiler-rt/dist/lib/safestack/safestack.cc
vendor/compiler-rt/dist/lib/sanitizer_common/CMakeLists.txt
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_checks.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_combined.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_interface.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_local_cache.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_primary32.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_primary64.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_allocator_size_class_map.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_asm.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_bitvector.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_bvgraph.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interceptors.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_interface.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_common_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_coverage_interface.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_errno.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_flag_parser.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_flags.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_interface_internal.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_internal_defs.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_libignore.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_linux.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_linux.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_linux_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mac.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mac.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mac_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_mutex.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_interceptors.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_posix.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_posix.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_printf.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_common.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_freebsd.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_linux.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_procmaps_mac.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_quarantine.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_report_decorator.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stacktrace_printer.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_suppressions.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_internal.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_syscall_generic.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_aarch64.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_thread_registry.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_thread_registry.h
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_tls_get_addr.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_win.cc
vendor/compiler-rt/dist/lib/sanitizer_common/sanitizer_win_weak_interception.cc
vendor/compiler-rt/dist/lib/sanitizer_common/scripts/check_lint.sh
vendor/compiler-rt/dist/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
vendor/compiler-rt/dist/lib/sanitizer_common/tests/CMakeLists.txt
vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_common_test.cc
vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_libc_test.cc
vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_linux_test.cc
vendor/compiler-rt/dist/lib/sanitizer_common/tests/sanitizer_test_utils.h
vendor/compiler-rt/dist/lib/scudo/CMakeLists.txt
vendor/compiler-rt/dist/lib/scudo/scudo_allocator.cpp
vendor/compiler-rt/dist/lib/scudo/scudo_allocator.h
vendor/compiler-rt/dist/lib/scudo/scudo_allocator_combined.h
vendor/compiler-rt/dist/lib/scudo/scudo_allocator_secondary.h
vendor/compiler-rt/dist/lib/scudo/scudo_crc32.h
vendor/compiler-rt/dist/lib/scudo/scudo_flags.cpp
vendor/compiler-rt/dist/lib/scudo/scudo_flags.inc
vendor/compiler-rt/dist/lib/scudo/scudo_new_delete.cpp
vendor/compiler-rt/dist/lib/scudo/scudo_utils.cpp
vendor/compiler-rt/dist/lib/scudo/scudo_utils.h
vendor/compiler-rt/dist/lib/stats/CMakeLists.txt
vendor/compiler-rt/dist/lib/stats/stats.cc
vendor/compiler-rt/dist/lib/tsan/CMakeLists.txt
vendor/compiler-rt/dist/lib/tsan/check_analyze.sh
vendor/compiler-rt/dist/lib/tsan/dd/CMakeLists.txt
vendor/compiler-rt/dist/lib/tsan/go/buildgo.sh
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_fd.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interceptors.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interceptors.h
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interceptors_mac.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_interface_ann.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_libdispatch_mac.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_malloc_mac.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mman.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_mman.h
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform.h
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform_linux.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_platform_mac.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_report.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_report.h
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl.h
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_aarch64.S
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_amd64.S
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_mutex.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_report.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_rtl_thread.cc
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_sync.h
vendor/compiler-rt/dist/lib/tsan/rtl/tsan_trace.h
vendor/compiler-rt/dist/lib/tsan/tests/CMakeLists.txt
vendor/compiler-rt/dist/lib/tsan/tests/rtl/tsan_test_util_posix.cc
vendor/compiler-rt/dist/lib/tsan/tests/unit/CMakeLists.txt
vendor/compiler-rt/dist/lib/tsan/tests/unit/tsan_mman_test.cc
vendor/compiler-rt/dist/lib/ubsan/CMakeLists.txt
vendor/compiler-rt/dist/lib/ubsan/ubsan_checks.inc
vendor/compiler-rt/dist/lib/ubsan/ubsan_diag.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_diag.h
vendor/compiler-rt/dist/lib/ubsan/ubsan_diag_standalone.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_flags.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_handlers.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_handlers.h
vendor/compiler-rt/dist/lib/ubsan/ubsan_handlers_cxx.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_init.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_init_standalone.cc
vendor/compiler-rt/dist/lib/ubsan/ubsan_interface.inc
vendor/compiler-rt/dist/lib/ubsan/ubsan_platform.h
vendor/compiler-rt/dist/lib/xray/CMakeLists.txt
vendor/compiler-rt/dist/lib/xray/tests/CMakeLists.txt
vendor/compiler-rt/dist/lib/xray/tests/unit/buffer_queue_test.cc
vendor/compiler-rt/dist/lib/xray/tests/unit/fdr_logging_test.cc
vendor/compiler-rt/dist/lib/xray/xray_buffer_queue.cc
vendor/compiler-rt/dist/lib/xray/xray_buffer_queue.h
vendor/compiler-rt/dist/lib/xray/xray_fdr_log_records.h
vendor/compiler-rt/dist/lib/xray/xray_fdr_logging.cc
vendor/compiler-rt/dist/lib/xray/xray_fdr_logging.h
vendor/compiler-rt/dist/lib/xray/xray_fdr_logging_impl.h
vendor/compiler-rt/dist/lib/xray/xray_flags.h
vendor/compiler-rt/dist/lib/xray/xray_flags.inc
vendor/compiler-rt/dist/lib/xray/xray_init.cc
vendor/compiler-rt/dist/lib/xray/xray_inmemory_log.cc
vendor/compiler-rt/dist/lib/xray/xray_interface.cc
vendor/compiler-rt/dist/lib/xray/xray_interface_internal.h
vendor/compiler-rt/dist/lib/xray/xray_log_interface.cc
vendor/compiler-rt/dist/lib/xray/xray_trampoline_x86_64.S
vendor/compiler-rt/dist/lib/xray/xray_utils.cc
vendor/compiler-rt/dist/lib/xray/xray_x86_64.cc
vendor/compiler-rt/dist/test/CMakeLists.txt
vendor/compiler-rt/dist/test/asan/CMakeLists.txt
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/abort_on_error.cc
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/dump_registers.cc
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cc
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/dyld_insert_libraries_remove.cc
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/reexec-insert-libraries-env.cc
vendor/compiler-rt/dist/test/asan/TestCases/Darwin/unset-insert-libraries-on-exec.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/abort_on_error.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/allocator_oom_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan-asm-stacktrace-test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_prelink_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_preload_test-1.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/asan_preload_test-2.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/calloc-preload.c
vendor/compiler-rt/dist/test/asan/TestCases/Linux/cuda_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/kernel-area.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/nohugepage_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/preinstalled_signal.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/release_to_os_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Linux/swapcontext_annotation.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/asan-symbolize-sanity-test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/deep_call_stack.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/halt_on_error-signals.c
vendor/compiler-rt/dist/test/asan/TestCases/Posix/halt_on_error-torture.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/halt_on_error_suppress_equal_pcs.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/handle_abort_on_error.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/new_array_cookie_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/new_array_cookie_uaf_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/stack-overflow.cc
vendor/compiler-rt/dist/test/asan/TestCases/Posix/stack-use-after-return.cc
vendor/compiler-rt/dist/test/asan/TestCases/Windows/fuse-lld.cc
vendor/compiler-rt/dist/test/asan/TestCases/Windows/shadow_conflict_32.cc
vendor/compiler-rt/dist/test/asan/TestCases/alloca_constant_size.cc
vendor/compiler-rt/dist/test/asan/TestCases/asan_and_llvm_coverage_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/atexit_stats.cc
vendor/compiler-rt/dist/test/asan/TestCases/contiguous_container_crash.cc
vendor/compiler-rt/dist/test/asan/TestCases/debug_ppc64_mapping.cc
vendor/compiler-rt/dist/test/asan/TestCases/global-address.cpp
vendor/compiler-rt/dist/test/asan/TestCases/heavy_uar_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/intra-object-overflow.cc
vendor/compiler-rt/dist/test/asan/TestCases/max_redzone.cc
vendor/compiler-rt/dist/test/asan/TestCases/memcmp_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/memset_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/non-executable-pc.cpp
vendor/compiler-rt/dist/test/asan/TestCases/scariness_score_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/small_memcpy_test.cc
vendor/compiler-rt/dist/test/asan/TestCases/stack-buffer-overflow-with-position.cc
vendor/compiler-rt/dist/test/asan/TestCases/strtol_strict.c
vendor/compiler-rt/dist/test/asan/TestCases/strtoll_strict.c
vendor/compiler-rt/dist/test/asan/TestCases/suppressions-function.cc
vendor/compiler-rt/dist/test/asan/TestCases/use-after-delete.cc
vendor/compiler-rt/dist/test/asan/TestCases/use-after-free.cc
vendor/compiler-rt/dist/test/asan/TestCases/verbose-log-path_test.cc
vendor/compiler-rt/dist/test/asan/lit.cfg
vendor/compiler-rt/dist/test/asan/lit.site.cfg.in
vendor/compiler-rt/dist/test/builtins/Unit/clear_cache_test.c
vendor/compiler-rt/dist/test/builtins/Unit/divxc3_test.c
vendor/compiler-rt/dist/test/builtins/Unit/endianness.h
vendor/compiler-rt/dist/test/builtins/Unit/fixunsxfti_test.c
vendor/compiler-rt/dist/test/builtins/Unit/fixxfti_test.c
vendor/compiler-rt/dist/test/builtins/Unit/floattixf_test.c
vendor/compiler-rt/dist/test/builtins/Unit/floatuntixf_test.c
vendor/compiler-rt/dist/test/builtins/Unit/lit.cfg
vendor/compiler-rt/dist/test/builtins/Unit/mulsc3_test.c
vendor/compiler-rt/dist/test/builtins/Unit/mulxc3_test.c
vendor/compiler-rt/dist/test/builtins/Unit/powixf2_test.c
vendor/compiler-rt/dist/test/cfi/CMakeLists.txt
vendor/compiler-rt/dist/test/cfi/anon-namespace.cpp
vendor/compiler-rt/dist/test/cfi/bad-cast.cpp
vendor/compiler-rt/dist/test/cfi/bad-split.cpp
vendor/compiler-rt/dist/test/cfi/base-derived-destructor.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/icall/diag.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/icall/icall-from-dso.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/icall/icall.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/lit.local.cfg
vendor/compiler-rt/dist/test/cfi/cross-dso/shadow_is_read_only.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/simple-fail.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/simple-pass.cpp
vendor/compiler-rt/dist/test/cfi/cross-dso/stats.cpp
vendor/compiler-rt/dist/test/cfi/icall/external-call.c
vendor/compiler-rt/dist/test/cfi/lit.cfg
vendor/compiler-rt/dist/test/cfi/lit.site.cfg.in
vendor/compiler-rt/dist/test/cfi/multiple-inheritance.cpp
vendor/compiler-rt/dist/test/cfi/nvcall.cpp
vendor/compiler-rt/dist/test/cfi/overwrite.cpp
vendor/compiler-rt/dist/test/cfi/sibling.cpp
vendor/compiler-rt/dist/test/cfi/simple-fail.cpp
vendor/compiler-rt/dist/test/cfi/simple-pass.cpp
vendor/compiler-rt/dist/test/cfi/stats.cpp
vendor/compiler-rt/dist/test/cfi/target_uninstrumented.cpp
vendor/compiler-rt/dist/test/cfi/two-vcalls.cpp
vendor/compiler-rt/dist/test/cfi/vdtor.cpp
vendor/compiler-rt/dist/test/esan/TestCases/large-stack-linux.c
vendor/compiler-rt/dist/test/lit.common.cfg
vendor/compiler-rt/dist/test/lit.common.configured.in
vendor/compiler-rt/dist/test/lsan/TestCases/Linux/use_tls_dynamic.cc
vendor/compiler-rt/dist/test/lsan/TestCases/link_turned_off.cc
vendor/compiler-rt/dist/test/lsan/TestCases/stale_stack_leak.cc
vendor/compiler-rt/dist/test/lsan/TestCases/swapcontext.cc
vendor/compiler-rt/dist/test/lsan/TestCases/use_registers.cc
vendor/compiler-rt/dist/test/lsan/lit.common.cfg
vendor/compiler-rt/dist/test/msan/CMakeLists.txt
vendor/compiler-rt/dist/test/msan/Linux/mallinfo.cc
vendor/compiler-rt/dist/test/msan/ftime.cc
vendor/compiler-rt/dist/test/msan/iconv.cc
vendor/compiler-rt/dist/test/msan/ifaddrs.cc
vendor/compiler-rt/dist/test/msan/lit.cfg
vendor/compiler-rt/dist/test/msan/lit.site.cfg.in
vendor/compiler-rt/dist/test/msan/msan_print_shadow3.cc
vendor/compiler-rt/dist/test/msan/sigwait.cc
vendor/compiler-rt/dist/test/msan/strxfrm.cc
vendor/compiler-rt/dist/test/msan/tsearch.cc
vendor/compiler-rt/dist/test/profile/Linux/counter_promo_for.c
vendor/compiler-rt/dist/test/profile/Linux/coverage_ctors.cpp
vendor/compiler-rt/dist/test/profile/Linux/coverage_dtor.cpp
vendor/compiler-rt/dist/test/profile/Linux/coverage_test.cpp
vendor/compiler-rt/dist/test/profile/Linux/instrprof-comdat.test
vendor/compiler-rt/dist/test/profile/Linux/lit.local.cfg
vendor/compiler-rt/dist/test/profile/instrprof-darwin-dead-strip.c
vendor/compiler-rt/dist/test/profile/lit.cfg
vendor/compiler-rt/dist/test/safestack/lit.cfg
vendor/compiler-rt/dist/test/sanitizer_common/CMakeLists.txt
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/abort_on_error.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/assert.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/deepbind.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/hard_rss_limit_mb_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/iconv_test.c
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/ill.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/mlock_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/mprobe.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/ptrace.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/signal_segv_handler.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypass_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/fpe.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/getpass.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/sanitizer_set_death_callback_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/Posix/weak_hook_test.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/corelimit.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/get_module_and_offset_for_pc.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/malloc_hook.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/options-include.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/print-stack-trace.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard-dso.cc
vendor/compiler-rt/dist/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cc
vendor/compiler-rt/dist/test/sanitizer_common/lit.common.cfg
vendor/compiler-rt/dist/test/scudo/CMakeLists.txt
vendor/compiler-rt/dist/test/scudo/double-free.cpp
vendor/compiler-rt/dist/test/scudo/interface.cpp
vendor/compiler-rt/dist/test/scudo/lit.cfg
vendor/compiler-rt/dist/test/scudo/malloc.cpp
vendor/compiler-rt/dist/test/scudo/mismatch.cpp
vendor/compiler-rt/dist/test/scudo/options.cpp
vendor/compiler-rt/dist/test/scudo/random_shuffle.cpp
vendor/compiler-rt/dist/test/scudo/realloc.cpp
vendor/compiler-rt/dist/test/scudo/sized-delete.cpp
vendor/compiler-rt/dist/test/scudo/sizes.cpp
vendor/compiler-rt/dist/test/tsan/CMakeLists.txt
vendor/compiler-rt/dist/test/tsan/Darwin/xpc-race.mm
vendor/compiler-rt/dist/test/tsan/Linux/user_malloc.cc
vendor/compiler-rt/dist/test/tsan/allocator_returns_null.cc
vendor/compiler-rt/dist/test/tsan/cond_cancel.c
vendor/compiler-rt/dist/test/tsan/custom_mutex.h
vendor/compiler-rt/dist/test/tsan/lit.cfg
vendor/compiler-rt/dist/test/tsan/map32bit.cc
vendor/compiler-rt/dist/test/tsan/strerror_r.cc
vendor/compiler-rt/dist/test/tsan/thread_name.cc
vendor/compiler-rt/dist/test/tsan/thread_name2.cc
vendor/compiler-rt/dist/test/tsan/tls_race.cc
vendor/compiler-rt/dist/test/tsan/tls_race2.cc
vendor/compiler-rt/dist/test/ubsan/CMakeLists.txt
vendor/compiler-rt/dist/test/ubsan/TestCases/Float/cast-overflow.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/Integer/suppressions.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/bounds.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/Misc/coverage-levels.cc
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/Function/function.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/Function/lit.local.cfg
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/PR33221.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr-corrupted-vtable-itanium.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
vendor/compiler-rt/dist/test/ubsan/TestCases/TypeCheck/vptr.cpp
vendor/compiler-rt/dist/test/ubsan/lit.common.cfg
vendor/compiler-rt/dist/test/ubsan/lit.site.cfg.in
vendor/compiler-rt/dist/test/xray/TestCases/Linux/arg1-logger.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/argv0-log-file-name.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/coverage-sample.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/custom-event-logging.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/fdr-mode.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/fdr-thread-order.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/fixedsize-logging.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/func-id-utils.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/optional-inmemory-log.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/patching-unpatching.cc
vendor/compiler-rt/dist/test/xray/TestCases/Linux/pic_test.cc
vendor/compiler-rt/dist/test/xray/Unit/lit.site.cfg.in
vendor/compiler-rt/dist/test/xray/lit.cfg
vendor/compiler-rt/dist/test/xray/lit.site.cfg.in
vendor/compiler-rt/dist/unittests/CMakeLists.txt
vendor/compiler-rt/dist/unittests/lit.common.unit.cfg
vendor/compiler-rt/dist/unittests/lit.common.unit.configured.in
Modified: vendor/compiler-rt/dist/.arcconfig
==============================================================================
--- vendor/compiler-rt/dist/.arcconfig Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/.arcconfig Mon Dec 18 20:11:54 2017 (r326943)
@@ -1,4 +1,4 @@
{
- "project_id" : "compiler-rt",
+ "repository.callsign" : "CRT",
"conduit_uri" : "https://reviews.llvm.org/"
}
Modified: vendor/compiler-rt/dist/.gitignore
==============================================================================
--- vendor/compiler-rt/dist/.gitignore Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/.gitignore Mon Dec 18 20:11:54 2017 (r326943)
@@ -3,3 +3,4 @@ darwin_fat
clang_darwin
multi_arch
*.sw?
+*.pyc
Modified: vendor/compiler-rt/dist/CMakeLists.txt
==============================================================================
--- vendor/compiler-rt/dist/CMakeLists.txt Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/CMakeLists.txt Mon Dec 18 20:11:54 2017 (r326943)
@@ -1,9 +1,5 @@
# CMake build for CompilerRT.
#
-# This build assumes that CompilerRT is checked out into the
-# 'projects/compiler-rt' or 'runtimes/compiler-rt' inside of an LLVM tree.
-# Standalone build system for CompilerRT is not yet ready.
-#
# An important constraint of the build is that it only produces libraries
# based on the ability of the host toolchain to target various platforms.
@@ -21,6 +17,12 @@ list(INSERT CMAKE_MODULE_PATH 0
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules"
)
+if(CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_CFG_RESOLVED_INTDIR "${CMAKE_CFG_INTDIR}/")
+else()
+ set(CMAKE_CFG_RESOLVED_INTDIR "")
+endif()
+
include(base-config-ix)
include(CompilerRTUtils)
@@ -30,7 +32,32 @@ option(COMPILER_RT_BUILD_SANITIZERS "Build sanitizers"
mark_as_advanced(COMPILER_RT_BUILD_SANITIZERS)
option(COMPILER_RT_BUILD_XRAY "Build xray" ON)
mark_as_advanced(COMPILER_RT_BUILD_XRAY)
+option(COMPILER_RT_BUILD_LIBFUZZER "Build libFuzzer" ON)
+mark_as_advanced(COMPILER_RT_BUILD_LIBFUZZER)
+option(COMPILER_RT_BUILD_PROFILE "Build profile runtime" ON)
+mark_as_advanced(COMPILER_RT_BUILD_PROFILE)
+option(COMPILER_RT_BUILD_XRAY_NO_PREINIT "Build xray with no preinit patching" OFF)
+mark_as_advanced(COMPILER_RT_BUILD_XRAY_NO_PREINIT)
+set(COMPILER_RT_ASAN_SHADOW_SCALE ""
+ CACHE STRING "Override the shadow scale to be used in ASan runtime")
+
+if (NOT COMPILER_RT_ASAN_SHADOW_SCALE STREQUAL "")
+ # Check that the shadow scale value is valid.
+ if (NOT (COMPILER_RT_ASAN_SHADOW_SCALE GREATER -1 AND
+ COMPILER_RT_ASAN_SHADOW_SCALE LESS 8))
+ message(FATAL_ERROR "
+ Invalid ASan Shadow Scale '${COMPILER_RT_ASAN_SHADOW_SCALE}'.")
+ endif()
+
+ set(COMPILER_RT_ASAN_SHADOW_SCALE_LLVM_FLAG
+ -mllvm -asan-mapping-scale=${COMPILER_RT_ASAN_SHADOW_SCALE})
+ set(COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION
+ ASAN_SHADOW_SCALE=${COMPILER_RT_ASAN_SHADOW_SCALE})
+ set(COMPILER_RT_ASAN_SHADOW_SCALE_FLAG
+ -D${COMPILER_RT_ASAN_SHADOW_SCALE_DEFINITION})
+endif()
+
set(COMPILER_RT_BAREMETAL_BUILD OFF CACHE BOOLEAN
"Build for a bare-metal target.")
@@ -52,12 +79,19 @@ if (COMPILER_RT_STANDALONE_BUILD)
set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
endif()
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
+ set(LLVM_LIT_OUTPUT_DIR "${COMPILER_RT_EXEC_OUTPUT_DIR}")
endif()
construct_compiler_rt_default_triple()
-if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" STREQUAL "androideabi")
+if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" MATCHES "hf$")
+ if (${COMPILER_RT_DEFAULT_TARGET_ARCH} MATCHES "^arm")
+ set(COMPILER_RT_DEFAULT_TARGET_ARCH "armhf")
+ endif()
+endif()
+if ("${COMPILER_RT_DEFAULT_TARGET_ABI}" MATCHES "^android")
set(ANDROID 1)
endif()
+pythonize_bool(ANDROID)
set(COMPILER_RT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(COMPILER_RT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
@@ -78,21 +112,63 @@ option(COMPILER_RT_EXTERNALIZE_DEBUGINFO
# COMPILER_RT_DEBUG_PYBOOL is used by lit.common.configured.in.
pythonize_bool(COMPILER_RT_DEBUG)
+include(HandleCompilerRT)
include(config-ix)
if(APPLE AND SANITIZER_MIN_OSX_VERSION AND SANITIZER_MIN_OSX_VERSION VERSION_LESS "10.9")
# Mac OS X prior to 10.9 had problems with exporting symbols from
# libc++/libc++abi.
- set(use_cxxabi_default OFF)
-elseif(MSVC)
- set(use_cxxabi_default OFF)
+ set(cxxabi_supported OFF)
else()
- set(use_cxxabi_default ON)
+ set(cxxabi_supported ON)
endif()
-option(SANITIZER_CAN_USE_CXXABI "Sanitizers can use cxxabi" ${use_cxxabi_default})
+option(SANITIZER_ALLOW_CXXABI "Allow use of C++ ABI details in ubsan" ON)
+
+set(SANITIZE_CAN_USE_CXXABI OFF)
+if (cxxabi_supported AND SANITIZER_ALLOW_CXXABI)
+ set(SANITIZER_CAN_USE_CXXABI ON)
+endif()
pythonize_bool(SANITIZER_CAN_USE_CXXABI)
+set(SANITIZER_CXX_ABI "default" CACHE STRING
+ "Specify C++ ABI library to use.")
+set(CXXABIS none default libcxxabi libstdc++ libc++)
+set_property(CACHE SANITIZER_CXX_ABI PROPERTY STRINGS ;${CXXABIS})
+
+if (SANITIZER_CXX_ABI STREQUAL "default")
+ if (HAVE_LIBCXXABI AND COMPILER_RT_DEFAULT_TARGET_ONLY)
+ set(SANITIZER_CXX_ABI_LIBNAME "libcxxabi")
+ set(SANITIZER_CXX_ABI_INTREE 1)
+ elseif (APPLE)
+ set(SANITIZER_CXX_ABI_LIBNAME "libcxxabi")
+ set(SANITIZER_CXX_ABI_SYSTEM 1)
+ else()
+ set(SANITIZER_CXX_ABI_LIBNAME "libstdc++")
+ endif()
+else()
+ set(SANITIZER_CXX_ABI_LIBNAME "${SANITIZER_CXX_ABI}")
+endif()
+
+if (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libcxxabi")
+ if (SANITIZER_CXX_ABI_INTREE)
+ if (TARGET unwind_shared OR HAVE_LIBUNWIND)
+ list(APPEND SANITIZER_CXX_ABI_LIBRARY unwind_shared)
+ endif()
+ if (TARGET cxxabi_shared OR HAVE_LIBCXXABI)
+ list(APPEND SANITIZER_CXX_ABI_LIBRARY cxxabi_shared)
+ endif()
+ else()
+ list(APPEND SANITIZER_CXX_ABI_LIBRARY "c++abi")
+ endif()
+elseif (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libc++")
+ list(APPEND SANITIZER_CXX_ABI_LIBRARY "c++")
+elseif (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libstdc++")
+ append_list_if(COMPILER_RT_HAS_LIBSTDCXX stdc++ SANITIZER_CXX_ABI_LIBRARY)
+endif()
+
+option(SANITIZER_USE_COMPILER_RT "Use compiler-rt builtins instead of libgcc" OFF)
+
#================================
# Setup Compiler Flags
#================================
@@ -134,7 +210,9 @@ append_list_if(COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -fu
append_list_if(COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -fno-stack-protector SANITIZER_COMMON_CFLAGS)
append_list_if(COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -fno-sanitize=safe-stack SANITIZER_COMMON_CFLAGS)
append_list_if(COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -fvisibility=hidden SANITIZER_COMMON_CFLAGS)
-append_list_if(COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -fvisibility-inlines-hidden SANITIZER_COMMON_CFLAGS)
+if(NOT COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG)
+ append_list_if(COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -fvisibility-inlines-hidden SANITIZER_COMMON_CFLAGS)
+endif()
append_list_if(COMPILER_RT_HAS_FNO_LTO_FLAG -fno-lto SANITIZER_COMMON_CFLAGS)
# The following is a workaround for powerpc64le. This is the only architecture
@@ -176,7 +254,7 @@ append_list_if(COMPILER_RT_DEBUG -DSANITIZER_DEBUG=1 S
# always respect the optimization flags set by CMAKE_BUILD_TYPE instead.
if (NOT MSVC)
- # Build with optimization, unless we're in debug mode.
+ # Build with optimization, unless we're in debug mode.
if(COMPILER_RT_DEBUG)
list(APPEND SANITIZER_COMMON_CFLAGS -O0)
else()
@@ -228,6 +306,28 @@ append_list_if(COMPILER_RT_HAS_WD4391_FLAG /wd4391 SAN
append_list_if(COMPILER_RT_HAS_WD4722_FLAG /wd4722 SANITIZER_COMMON_CFLAGS)
append_list_if(COMPILER_RT_HAS_WD4800_FLAG /wd4800 SANITIZER_COMMON_CFLAGS)
+# Set common link flags.
+append_list_if(COMPILER_RT_HAS_NODEFAULTLIBS_FLAG -nodefaultlibs SANITIZER_COMMON_LINK_FLAGS)
+
+if (SANITIZER_USE_COMPILER_RT)
+ list(APPEND SANITIZER_COMMON_LINK_FLAGS -rtlib=compiler-rt)
+ find_compiler_rt_library(builtins COMPILER_RT_BUILTINS_LIBRARY)
+ list(APPEND SANITIZER_COMMON_LINK_LIBS ${COMPILER_RT_BUILTINS_LIBRARY})
+else()
+ if (ANDROID)
+ append_list_if(COMPILER_RT_HAS_GCC_LIB gcc SANITIZER_COMMON_LINK_LIBS)
+ else()
+ append_list_if(COMPILER_RT_HAS_GCC_S_LIB gcc_s SANITIZER_COMMON_LINK_LIBS)
+ endif()
+endif()
+
+append_list_if(COMPILER_RT_HAS_LIBC c SANITIZER_COMMON_LINK_LIBS)
+
+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
+ list(APPEND SANITIZER_COMMON_LINK_FLAGS -Wl,-z,defs,-z,now,-z,relro)
+ list(APPEND SANITIZER_COMMON_LINK_LIBS zircon)
+endif()
+
# Warnings to turn off for all libraries, not just sanitizers.
append_string_if(COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG -Wno-unused-parameter CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
@@ -244,17 +344,15 @@ endif()
add_subdirectory(include)
-set(COMPILER_RT_LIBCXX_PATH ${LLVM_MAIN_SRC_DIR}/projects/libcxx)
-if(EXISTS ${COMPILER_RT_LIBCXX_PATH}/)
- set(COMPILER_RT_HAS_LIBCXX_SOURCES TRUE)
-else()
- set(COMPILER_RT_LIBCXX_PATH ${LLVM_MAIN_SRC_DIR}/../libcxx)
- if(EXISTS ${COMPILER_RT_LIBCXX_PATH}/)
- set(COMPILER_RT_HAS_LIBCXX_SOURCES TRUE)
- else()
- set(COMPILER_RT_HAS_LIBCXX_SOURCES FALSE)
+foreach(path IN ITEMS ${LLVM_MAIN_SRC_DIR}/projects/libcxx
+ ${LLVM_MAIN_SRC_DIR}/runtimes/libcxx
+ ${LLVM_MAIN_SRC_DIR}/../libcxx
+ ${LLVM_EXTERNAL_LIBCXX_SOURCE_DIR})
+ if(IS_DIRECTORY ${path})
+ set(COMPILER_RT_LIBCXX_PATH ${path})
+ break()
endif()
-endif()
+endforeach()
set(COMPILER_RT_LLD_PATH ${LLVM_MAIN_SRC_DIR}/tools/lld)
if(EXISTS ${COMPILER_RT_LLD_PATH}/ AND LLVM_TOOL_LLD_BUILD)
@@ -274,4 +372,15 @@ add_subdirectory(lib)
if(COMPILER_RT_INCLUDE_TESTS)
add_subdirectory(unittests)
add_subdirectory(test)
+ if (COMPILER_RT_STANDALONE_BUILD)
+ # If we have a valid source tree, generate llvm-lit into the bin directory.
+ # The user can still choose to have the check targets *use* a different lit
+ # by specifying -DLLVM_EXTERNAL_LIT, but we generate it regardless.
+ if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
+ add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit ${CMAKE_CURRENT_BINARY_DIR}/llvm-lit)
+ elseif(NOT EXISTS ${LLVM_EXTERNAL_LIT})
+ message(WARNING "Could not find LLVM source directory and LLVM_EXTERNAL_LIT does not"
+ "point to a valid file. You will not be able to run tests.")
+ endif()
+ endif()
endif()
Modified: vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/Modules/AddCompilerRT.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -56,8 +56,15 @@ function(add_compiler_rt_object_libraries name)
foreach(libname ${libnames})
add_library(${libname} OBJECT ${LIB_SOURCES})
+
+ # Strip out -msse3 if this isn't macOS.
+ set(target_flags ${LIB_CFLAGS})
+ if(APPLE AND NOT "${libname}" MATCHES ".*\.osx.*")
+ list(REMOVE_ITEM target_flags "-msse3")
+ endif()
+
set_target_compile_flags(${libname}
- ${CMAKE_CXX_FLAGS} ${extra_cflags_${libname}} ${LIB_CFLAGS})
+ ${CMAKE_CXX_FLAGS} ${extra_cflags_${libname}} ${target_flags})
set_property(TARGET ${libname} APPEND PROPERTY
COMPILE_DEFINITIONS ${LIB_DEFS})
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Libraries")
@@ -86,6 +93,25 @@ function(add_compiler_rt_component name)
add_dependencies(compiler-rt ${name})
endfunction()
+function(add_asm_sources output)
+ set(${output} ${ARGN} PARENT_SCOPE)
+ # Xcode will try to compile asm files as C ('clang -x c'), and that will fail.
+ if (${CMAKE_GENERATOR} STREQUAL "Xcode")
+ enable_language(ASM)
+ else()
+ # Pass ASM file directly to the C++ compiler.
+ set_source_files_properties(${ARGN} PROPERTIES LANGUAGE C)
+ endif()
+endfunction()
+
+macro(set_output_name output name arch)
+ if(ANDROID AND ${arch} STREQUAL "i386")
+ set(${output} "${name}-i686${COMPILER_RT_OS_SUFFIX}")
+ else()
+ set(${output} "${name}-${arch}${COMPILER_RT_OS_SUFFIX}")
+ endif()
+endmacro()
+
# Adds static or shared runtime for a list of architectures and operating
# systems and puts it in the proper directory in the build and install trees.
# add_compiler_rt_runtime(<name>
@@ -117,8 +143,14 @@ function(add_compiler_rt_runtime name type)
else()
set(NO_LTO_FLAGS "")
endif()
+
if(APPLE)
foreach(os ${LIB_OS})
+ # Strip out -msse3 if this isn't macOS.
+ list(LENGTH LIB_CFLAGS HAS_EXTRA_CFLAGS)
+ if(HAS_EXTRA_CFLAGS AND NOT "${os}" MATCHES "^(osx)$")
+ list(REMOVE_ITEM LIB_CFLAGS "-msse3")
+ endif()
if(type STREQUAL "STATIC")
set(libname "${name}_${os}")
else()
@@ -142,15 +174,15 @@ function(add_compiler_rt_runtime name type)
endif()
if(type STREQUAL "STATIC")
set(libname "${name}-${arch}")
- set(output_name_${libname} ${libname}${COMPILER_RT_OS_SUFFIX})
+ set_output_name(output_name_${libname} ${name} ${arch})
else()
set(libname "${name}-dynamic-${arch}")
set(extra_cflags_${libname} ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS})
set(extra_link_flags_${libname} ${TARGET_${arch}_LINK_FLAGS} ${LIB_LINK_FLAGS})
if(WIN32)
- set(output_name_${libname} ${name}_dynamic-${arch}${COMPILER_RT_OS_SUFFIX})
+ set_output_name(output_name_${libname} ${name}_dynamic ${arch})
else()
- set(output_name_${libname} ${name}-${arch}${COMPILER_RT_OS_SUFFIX})
+ set_output_name(output_name_${libname} ${name} ${arch})
endif()
endif()
set(sources_${libname} ${LIB_SOURCES})
@@ -178,9 +210,18 @@ function(add_compiler_rt_runtime name type)
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=${LIB_PARENT_TARGET}
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
+ add_custom_target(install-${LIB_PARENT_TARGET}-stripped
+ DEPENDS ${LIB_PARENT_TARGET}
+ COMMAND "${CMAKE_COMMAND}"
+ -DCMAKE_INSTALL_COMPONENT=${LIB_PARENT_TARGET}
+ -DCMAKE_INSTALL_DO_STRIP=1
+ -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
set_target_properties(install-${LIB_PARENT_TARGET} PROPERTIES
FOLDER "Compiler-RT Misc")
+ set_target_properties(install-${LIB_PARENT_TARGET}-stripped PROPERTIES
+ FOLDER "Compiler-RT Misc")
add_dependencies(install-compiler-rt install-${LIB_PARENT_TARGET})
+ add_dependencies(install-compiler-rt-stripped install-${LIB_PARENT_TARGET}-stripped)
endif()
endif()
@@ -202,10 +243,10 @@ function(add_compiler_rt_runtime name type)
set_target_properties(${libname} PROPERTIES
OUTPUT_NAME ${output_name_${libname}})
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Runtime")
+ if(LIB_LINK_LIBS)
+ target_link_libraries(${libname} ${LIB_LINK_LIBS})
+ endif()
if(${type} STREQUAL "SHARED")
- if(LIB_LINK_LIBS)
- target_link_libraries(${libname} ${LIB_LINK_LIBS})
- endif()
if(WIN32 AND NOT CYGWIN AND NOT MINGW)
set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")
@@ -235,10 +276,17 @@ function(add_compiler_rt_runtime name type)
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=${libname}
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
+ add_custom_target(install-${libname}-stripped
+ DEPENDS ${libname}
+ COMMAND "${CMAKE_COMMAND}"
+ -DCMAKE_INSTALL_COMPONENT=${libname}
+ -DCMAKE_INSTALL_DO_STRIP=1
+ -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
# If you have a parent target specified, we bind the new install target
# to the parent install target.
if(LIB_PARENT_TARGET)
add_dependencies(install-${LIB_PARENT_TARGET} install-${libname})
+ add_dependencies(install-${LIB_PARENT_TARGET}-stripped install-${libname}-stripped)
endif()
endif()
if(APPLE)
@@ -287,24 +335,65 @@ if(MSVC)
list(APPEND COMPILER_RT_GTEST_CFLAGS -Wno-deprecated-declarations)
endif()
+# Compile and register compiler-rt tests.
+# generate_compiler_rt_tests(<output object files> <test_suite> <test_name>
+# <test architecture>
+# KIND <custom prefix>
+# SUBDIR <subdirectory for testing binary>
+# SOURCES <sources to compile>
+# RUNTIME <tests runtime to link in>
+# CFLAGS <compile-time flags>
+# COMPILE_DEPS <compile-time dependencies>
+# DEPS <dependencies>
+# LINK_FLAGS <flags to use during linking>
+# )
+function(generate_compiler_rt_tests test_objects test_suite testname arch)
+ cmake_parse_arguments(TEST "" "KIND;RUNTIME;SUBDIR"
+ "SOURCES;COMPILE_DEPS;DEPS;CFLAGS;LINK_FLAGS" ${ARGN})
+
+ foreach(source ${TEST_SOURCES})
+ sanitizer_test_compile(
+ "${test_objects}" "${source}" "${arch}"
+ KIND ${TEST_KIND}
+ COMPILE_DEPS ${TEST_COMPILE_DEPS}
+ DEPS ${TEST_DEPS}
+ CFLAGS ${TEST_CFLAGS}
+ )
+ endforeach()
+
+ set(TEST_DEPS ${${test_objects}})
+
+ if(NOT "${TEST_RUNTIME}" STREQUAL "")
+ list(APPEND TEST_DEPS ${TEST_RUNTIME})
+ list(APPEND "${test_objects}" $<TARGET_FILE:${TEST_RUNTIME}>)
+ endif()
+
+ add_compiler_rt_test(${test_suite} "${testname}" "${arch}"
+ SUBDIR ${TEST_SUBDIR}
+ OBJECTS ${${test_objects}}
+ DEPS ${TEST_DEPS}
+ LINK_FLAGS ${TEST_LINK_FLAGS}
+ )
+ set("${test_objects}" "${${test_objects}}" PARENT_SCOPE)
+endfunction()
+
# Link objects into a single executable with COMPILER_RT_TEST_COMPILER,
# using specified link flags. Make executable a part of provided
# test_suite.
-# add_compiler_rt_test(<test_suite> <test_name>
+# add_compiler_rt_test(<test_suite> <test_name> <arch>
# SUBDIR <subdirectory for binary>
# OBJECTS <object files>
# DEPS <deps (e.g. runtime libs)>
# LINK_FLAGS <link flags>)
-macro(add_compiler_rt_test test_suite test_name)
+function(add_compiler_rt_test test_suite test_name arch)
cmake_parse_arguments(TEST "" "SUBDIR" "OBJECTS;DEPS;LINK_FLAGS" "" ${ARGN})
- set(output_bin ${CMAKE_CURRENT_BINARY_DIR})
+ set(output_dir ${CMAKE_CURRENT_BINARY_DIR})
if(TEST_SUBDIR)
- set(output_bin "${output_bin}/${TEST_SUBDIR}")
+ set(output_dir "${output_dir}/${TEST_SUBDIR}")
endif()
- if(CMAKE_CONFIGURATION_TYPES)
- set(output_bin "${output_bin}/${CMAKE_CFG_INTDIR}")
- endif()
- set(output_bin "${output_bin}/${test_name}")
+ set(output_dir "${output_dir}/${CMAKE_CFG_INTDIR}")
+ file(MAKE_DIRECTORY "${output_dir}")
+ set(output_bin "${output_dir}/${test_name}")
if(MSVC)
set(output_bin "${output_bin}.exe")
endif()
@@ -313,6 +402,10 @@ macro(add_compiler_rt_test test_suite test_name)
if(NOT COMPILER_RT_STANDALONE_BUILD)
list(APPEND TEST_DEPS clang)
endif()
+
+ get_target_flags_for_arch(${arch} TARGET_LINK_FLAGS)
+ list(APPEND TEST_LINK_FLAGS ${TARGET_LINK_FLAGS})
+
# If we're not on MSVC, include the linker flags from CMAKE but override them
# with the provided link flags. This ensures that flags which are required to
# link programs at all are included, but the changes needed for the test
@@ -323,16 +416,18 @@ macro(add_compiler_rt_test test_suite test_name)
set(TEST_LINK_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${TEST_LINK_FLAGS}")
separate_arguments(TEST_LINK_FLAGS)
endif()
- add_custom_target(${test_name}
- COMMAND ${COMPILER_RT_TEST_COMPILER} ${TEST_OBJECTS}
- -o "${output_bin}"
+ add_custom_command(
+ OUTPUT "${output_bin}"
+ COMMAND ${COMPILER_RT_TEST_COMPILER} ${TEST_OBJECTS} -o "${output_bin}"
${TEST_LINK_FLAGS}
- DEPENDS ${TEST_DEPS})
- set_target_properties(${test_name} PROPERTIES FOLDER "Compiler-RT Tests")
+ DEPENDS ${TEST_DEPS}
+ )
+ add_custom_target(T${test_name} DEPENDS "${output_bin}")
+ set_target_properties(T${test_name} PROPERTIES FOLDER "Compiler-RT Tests")
# Make the test suite depend on the binary.
- add_dependencies(${test_suite} ${test_name})
-endmacro()
+ add_dependencies(${test_suite} T${test_name})
+endfunction()
macro(add_compiler_rt_resource_file target_name file_name component)
set(src_file "${CMAKE_CURRENT_SOURCE_DIR}/${file_name}")
@@ -370,7 +465,7 @@ endmacro(add_compiler_rt_script src name)
# DEPS <list of build deps>
# CFLAGS <list of compile flags>)
macro(add_custom_libcxx name prefix)
- if(NOT COMPILER_RT_HAS_LIBCXX_SOURCES)
+ if(NOT COMPILER_RT_LIBCXX_PATH)
message(FATAL_ERROR "libcxx not found!")
endif()
@@ -439,4 +534,15 @@ function(rt_externalize_debuginfo name)
else()
message(FATAL_ERROR "COMPILER_RT_EXTERNALIZE_DEBUGINFO isn't implemented for non-darwin platforms!")
endif()
+endfunction()
+
+
+# Configure lit configuration files, including compiler-rt specific variables.
+function(configure_compiler_rt_lit_site_cfg input output)
+ set_llvm_build_mode()
+
+ string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} COMPILER_RT_RESOLVED_TEST_COMPILER ${COMPILER_RT_TEST_COMPILER})
+ string(REPLACE ${CMAKE_CFG_INTDIR} ${LLVM_BUILD_MODE} COMPILER_RT_RESOLVED_LIBRARY_OUTPUT_DIR ${COMPILER_RT_LIBRARY_OUTPUT_DIR})
+
+ configure_lit_site_cfg(${input} ${output})
endfunction()
Modified: vendor/compiler-rt/dist/cmake/Modules/CompilerRTCompile.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/Modules/CompilerRTCompile.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/Modules/CompilerRTCompile.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -24,12 +24,44 @@ function(translate_msvc_cflags out_flags msvc_flags)
set(${out_flags} "${clang_flags}" PARENT_SCOPE)
endfunction()
+# Compile a sanitizer test with a freshly built clang
+# for a given architecture, adding the result to the object list.
+# - obj_list: output list of objects, populated by path
+# of a generated object file.
+# - source: source file of a test.
+# - arch: architecture to compile for.
+# sanitizer_test_compile(<obj_list> <source> <arch>
+# KIND <custom namespace>
+# COMPILE_DEPS <list of compile-time dependencies>
+# DEPS <list of dependencies>
+# CFLAGS <list of flags>
+# )
+function(sanitizer_test_compile obj_list source arch)
+ cmake_parse_arguments(TEST
+ "" "" "KIND;COMPILE_DEPS;DEPS;CFLAGS" ${ARGN})
+ get_filename_component(basename ${source} NAME)
+ set(output_obj
+ "${CMAKE_CFG_RESOLVED_INTDIR}${obj_list}.${basename}.${arch}${TEST_KIND}.o")
+
+ # Write out architecture-specific flags into TARGET_CFLAGS variable.
+ get_target_flags_for_arch(${arch} TARGET_CFLAGS)
+ set(COMPILE_DEPS ${TEST_COMPILE_DEPS})
+ if(NOT COMPILER_RT_STANDALONE_BUILD)
+ list(APPEND COMPILE_DEPS ${TEST_DEPS})
+ endif()
+ clang_compile(${output_obj} ${source}
+ CFLAGS ${TEST_CFLAGS} ${TARGET_CFLAGS}
+ DEPS ${COMPILE_DEPS})
+ list(APPEND ${obj_list} ${output_obj})
+ set("${obj_list}" "${${obj_list}}" PARENT_SCOPE)
+endfunction()
+
# Compile a source into an object file with COMPILER_RT_TEST_COMPILER using
# a provided compile flags and dependenices.
# clang_compile(<object> <source>
# CFLAGS <list of compile flags>
# DEPS <list of dependencies>)
-macro(clang_compile object_file source)
+function(clang_compile object_file source)
cmake_parse_arguments(SOURCE "" "" "CFLAGS;DEPS" ${ARGN})
get_filename_component(source_rpath ${source} REALPATH)
if(NOT COMPILER_RT_STANDALONE_BUILD)
@@ -39,6 +71,7 @@ macro(clang_compile object_file source)
list(APPEND SOURCE_DEPS CompilerRTUnitTestCheckCxx)
endif()
string(REGEX MATCH "[.](cc|cpp)$" is_cxx ${source_rpath})
+ string(REGEX MATCH "[.](m|mm)$" is_objc ${source_rpath})
if(is_cxx)
string(REPLACE " " ";" global_flags "${CMAKE_CXX_FLAGS}")
else()
@@ -52,6 +85,9 @@ macro(clang_compile object_file source)
if (APPLE)
set(global_flags ${OSX_SYSROOT_FLAG} ${global_flags})
endif()
+ if (is_objc)
+ list(APPEND global_flags -ObjC)
+ endif()
# Ignore unknown warnings. CMAKE_CXX_FLAGS may contain GCC-specific options
# which are not supported by Clang.
@@ -64,7 +100,7 @@ macro(clang_compile object_file source)
${source_rpath}
MAIN_DEPENDENCY ${source}
DEPENDS ${SOURCE_DEPS})
-endmacro()
+endfunction()
# On Darwin, there are no system-wide C++ headers and the just-built clang is
# therefore not able to compile C++ files unless they are copied/symlinked into
@@ -100,7 +136,7 @@ macro(clang_compiler_add_cxx_check)
COMMAND bash -c "${CMD}"
COMMENT "Checking that just-built clang can find C++ headers..."
VERBATIM)
- if (TARGET clang)
+ if (NOT COMPILER_RT_STANDALONE_BUILD)
ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang)
endif()
endif()
Modified: vendor/compiler-rt/dist/cmake/Modules/CompilerRTDarwinUtils.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/Modules/CompilerRTDarwinUtils.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/Modules/CompilerRTDarwinUtils.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -200,10 +200,23 @@ macro(darwin_add_builtin_library name suffix)
if(DARWIN_${LIB_OS}_SYSROOT)
set(sysroot_flag -isysroot ${DARWIN_${LIB_OS}_SYSROOT})
endif()
+
+ # Make a copy of the compilation flags.
+ set(builtin_cflags ${LIB_CFLAGS})
+
+ # Strip out any inappropriate flags for the target.
+ if("${LIB_ARCH}" MATCHES "^(armv7|armv7k|armv7s)$")
+ set(builtin_cflags "")
+ foreach(cflag "${LIB_CFLAGS}")
+ string(REPLACE "-fomit-frame-pointer" "" cflag "${cflag}")
+ list(APPEND builtin_cflags ${cflag})
+ endforeach(cflag)
+ endif()
+
set_target_compile_flags(${libname}
${sysroot_flag}
${DARWIN_${LIB_OS}_BUILTIN_MIN_VER_FLAG}
- ${LIB_CFLAGS})
+ ${builtin_cflags})
set_property(TARGET ${libname} APPEND PROPERTY
COMPILE_DEFINITIONS ${LIB_DEFS})
set_target_properties(${libname} PROPERTIES
@@ -243,35 +256,6 @@ function(darwin_lipo_libs name)
endif()
endfunction()
-# Filter out generic versions of routines that are re-implemented in
-# architecture specific manner. This prevents multiple definitions of the
-# same symbols, making the symbol selection non-deterministic.
-function(darwin_filter_builtin_sources output_var exclude_or_include excluded_list)
- if(exclude_or_include STREQUAL "EXCLUDE")
- set(filter_action GREATER)
- set(filter_value -1)
- elseif(exclude_or_include STREQUAL "INCLUDE")
- set(filter_action LESS)
- set(filter_value 0)
- else()
- message(FATAL_ERROR "darwin_filter_builtin_sources called without EXCLUDE|INCLUDE")
- endif()
-
- set(intermediate ${ARGN})
- foreach (_file ${intermediate})
- get_filename_component(_name_we ${_file} NAME_WE)
- list(FIND ${excluded_list} ${_name_we} _found)
- if(_found ${filter_action} ${filter_value})
- list(REMOVE_ITEM intermediate ${_file})
- elseif(${_file} MATCHES ".*/.*\\.S" OR ${_file} MATCHES ".*/.*\\.c")
- get_filename_component(_name ${_file} NAME)
- string(REPLACE ".S" ".c" _cname "${_name}")
- list(REMOVE_ITEM intermediate ${_cname})
- endif ()
- endforeach ()
- set(${output_var} ${intermediate} PARENT_SCOPE)
-endfunction()
-
# Generates builtin libraries for all operating systems specified in ARGN. Each
# OS library is constructed by lipo-ing together single-architecture libraries.
macro(darwin_add_builtin_libraries)
@@ -294,7 +278,7 @@ macro(darwin_add_builtin_libraries)
ARCH ${arch}
MIN_VERSION ${DARWIN_${os}_BUILTIN_MIN_VER})
- darwin_filter_builtin_sources(filtered_sources
+ filter_builtin_sources(filtered_sources
EXCLUDE ${arch}_${os}_EXCLUDED_BUILTINS
${${arch}_SOURCES})
@@ -316,7 +300,7 @@ macro(darwin_add_builtin_libraries)
OS ${os}
ARCH ${arch})
- darwin_filter_builtin_sources(filtered_sources
+ filter_builtin_sources(filtered_sources
EXCLUDE ${arch}_${os}_EXCLUDED_BUILTINS
${${arch}_SOURCES})
@@ -411,7 +395,7 @@ macro(darwin_add_embedded_builtin_libraries)
set(x86_64_FUNCTIONS ${common_FUNCTIONS})
foreach(arch ${DARWIN_macho_embedded_ARCHS})
- darwin_filter_builtin_sources(${arch}_filtered_sources
+ filter_builtin_sources(${arch}_filtered_sources
INCLUDE ${arch}_FUNCTIONS
${${arch}_SOURCES})
if(NOT ${arch}_filtered_sources)
Modified: vendor/compiler-rt/dist/cmake/Modules/CompilerRTUtils.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/Modules/CompilerRTUtils.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/Modules/CompilerRTUtils.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -163,10 +163,11 @@ macro(detect_target_arch)
check_symbol_exists(__arm__ "" __ARM)
check_symbol_exists(__aarch64__ "" __AARCH64)
check_symbol_exists(__x86_64__ "" __X86_64)
- check_symbol_exists(__i686__ "" __I686)
check_symbol_exists(__i386__ "" __I386)
check_symbol_exists(__mips__ "" __MIPS)
check_symbol_exists(__mips64__ "" __MIPS64)
+ check_symbol_exists(__powerpc64__ "" __PPC64)
+ check_symbol_exists(__powerpc64le__ "" __PPC64LE)
check_symbol_exists(__s390x__ "" __S390X)
check_symbol_exists(__wasm32__ "" __WEBASSEMBLY32)
check_symbol_exists(__wasm64__ "" __WEBASSEMBLY64)
@@ -176,14 +177,16 @@ macro(detect_target_arch)
add_default_target_arch(aarch64)
elseif(__X86_64)
add_default_target_arch(x86_64)
- elseif(__I686)
- add_default_target_arch(i686)
elseif(__I386)
add_default_target_arch(i386)
elseif(__MIPS64) # must be checked before __MIPS
add_default_target_arch(mips64)
elseif(__MIPS)
add_default_target_arch(mips)
+ elseif(__PPC64)
+ add_default_target_arch(powerpc64)
+ elseif(__PPC64LE)
+ add_default_target_arch(powerpc64le)
elseif(__S390X)
add_default_target_arch(s390x)
elseif(__WEBASSEMBLY32)
@@ -273,3 +276,32 @@ macro(construct_compiler_rt_default_triple)
set(COMPILER_RT_HAS_EXPLICIT_DEFAULT_TARGET_TRIPLE FALSE)
endif()
endmacro()
+
+# Filter out generic versions of routines that are re-implemented in
+# architecture specific manner. This prevents multiple definitions of the
+# same symbols, making the symbol selection non-deterministic.
+function(filter_builtin_sources output_var exclude_or_include excluded_list)
+ if(exclude_or_include STREQUAL "EXCLUDE")
+ set(filter_action GREATER)
+ set(filter_value -1)
+ elseif(exclude_or_include STREQUAL "INCLUDE")
+ set(filter_action LESS)
+ set(filter_value 0)
+ else()
+ message(FATAL_ERROR "filter_builtin_sources called without EXCLUDE|INCLUDE")
+ endif()
+
+ set(intermediate ${ARGN})
+ foreach (_file ${intermediate})
+ get_filename_component(_name_we ${_file} NAME_WE)
+ list(FIND ${excluded_list} ${_name_we} _found)
+ if(_found ${filter_action} ${filter_value})
+ list(REMOVE_ITEM intermediate ${_file})
+ elseif(${_file} MATCHES ".*/.*\\.S" OR ${_file} MATCHES ".*/.*\\.c")
+ get_filename_component(_name ${_file} NAME)
+ string(REPLACE ".S" ".c" _cname "${_name}")
+ list(REMOVE_ITEM intermediate ${_cname})
+ endif ()
+ endforeach ()
+ set(${output_var} ${intermediate} PARENT_SCOPE)
+endfunction()
Added: vendor/compiler-rt/dist/cmake/Modules/HandleCompilerRT.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/compiler-rt/dist/cmake/Modules/HandleCompilerRT.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -0,0 +1,21 @@
+function(find_compiler_rt_library name dest)
+ set(dest "" PARENT_SCOPE)
+ set(CLANG_COMMAND ${CMAKE_CXX_COMPILER} ${SANITIZER_COMMON_CFLAGS}
+ "--rtlib=compiler-rt" "--print-libgcc-file-name")
+ if (CMAKE_CXX_COMPILER_ID MATCHES Clang AND CMAKE_CXX_COMPILER_TARGET)
+ list(APPEND CLANG_COMMAND "--target=${CMAKE_CXX_COMPILER_TARGET}")
+ endif()
+ execute_process(
+ COMMAND ${CLANG_COMMAND}
+ RESULT_VARIABLE HAD_ERROR
+ OUTPUT_VARIABLE LIBRARY_FILE
+ )
+ string(STRIP "${LIBRARY_FILE}" LIBRARY_FILE)
+ string(REPLACE "builtins" "${name}" LIBRARY_FILE "${LIBRARY_FILE}")
+ if (NOT HAD_ERROR AND EXISTS "${LIBRARY_FILE}")
+ message(STATUS "Found compiler-rt ${name} library: ${LIBRARY_FILE}")
+ set(${dest} "${LIBRARY_FILE}" PARENT_SCOPE)
+ else()
+ message(STATUS "Failed to find compiler-rt ${name} library")
+ endif()
+endfunction()
Modified: vendor/compiler-rt/dist/cmake/base-config-ix.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/base-config-ix.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/base-config-ix.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -4,11 +4,14 @@
# runtime libraries.
include(CheckIncludeFile)
+include(CheckCXXSourceCompiles)
+
check_include_file(unwind.h HAVE_UNWIND_H)
# Top level target used to build all compiler-rt libraries.
add_custom_target(compiler-rt ALL)
add_custom_target(install-compiler-rt)
+add_custom_target(install-compiler-rt-stripped)
set_target_properties(compiler-rt PROPERTIES FOLDER "Compiler-RT Misc")
# Setting these variables from an LLVM build is sufficient that compiler-rt can
@@ -86,6 +89,7 @@ if(APPLE)
option(COMPILER_RT_ENABLE_IOS "Enable building for iOS" On)
option(COMPILER_RT_ENABLE_WATCHOS "Enable building for watchOS - Experimental" Off)
option(COMPILER_RT_ENABLE_TVOS "Enable building for tvOS - Experimental" Off)
+
else()
option(COMPILER_RT_DEFAULT_TARGET_ONLY "Build builtins only for the default target" Off)
endif()
@@ -136,10 +140,6 @@ macro(test_targets)
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "i[2-6]86|x86|amd64")
if(NOT MSVC)
test_target_arch(x86_64 "" "-m64")
- # FIXME: We build runtimes for both i686 and i386, as "clang -m32" may
- # target different variant than "$CMAKE_C_COMPILER -m32". This part should
- # be gone after we resolve PR14109.
- test_target_arch(i686 __i686__ "-m32")
test_target_arch(i386 __i386__ "-m32")
else()
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
@@ -149,7 +149,13 @@ macro(test_targets)
endif()
endif()
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc")
+ # Strip out -nodefaultlibs when calling TEST_BIG_ENDIAN. Configuration
+ # will fail with this option when building with a sanitizer.
+ cmake_push_check_state()
+ string(REPLACE "-nodefaultlibs" "" CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
TEST_BIG_ENDIAN(HOST_IS_BIG_ENDIAN)
+ cmake_pop_check_state()
+
if(HOST_IS_BIG_ENDIAN)
test_target_arch(powerpc64 "" "-m64")
else()
Modified: vendor/compiler-rt/dist/cmake/builtin-config-ix.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/builtin-config-ix.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/builtin-config-ix.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -25,7 +25,7 @@ int foo(int x, int y) {
set(ARM64 aarch64)
set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k)
-set(X86 i386 i686)
+set(X86 i386)
set(X86_64 x86_64)
set(MIPS32 mips mipsel)
set(MIPS64 mips64 mips64el)
@@ -40,7 +40,7 @@ if(APPLE)
endif()
set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
- ${MIPS32} ${MIPS64} ${WASM32} ${WASM64})
+ ${MIPS32} ${MIPS64} ${PPC64} ${WASM32} ${WASM64})
include(CompilerRTUtils)
include(CompilerRTDarwinUtils)
Modified: vendor/compiler-rt/dist/cmake/config-ix.cmake
==============================================================================
--- vendor/compiler-rt/dist/cmake/config-ix.cmake Mon Dec 18 20:11:46 2017 (r326942)
+++ vendor/compiler-rt/dist/cmake/config-ix.cmake Mon Dec 18 20:11:54 2017 (r326943)
@@ -1,4 +1,5 @@
include(CMakePushCheckState)
+include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
include(CheckLibraryExists)
include(CheckSymbolExists)
@@ -11,6 +12,32 @@ function(check_linker_flag flag out_var)
cmake_pop_check_state()
endfunction()
+check_library_exists(c fopen "" COMPILER_RT_HAS_LIBC)
+if (NOT SANITIZER_USE_COMPILER_RT)
+ if (ANDROID)
+ check_library_exists(gcc __gcc_personality_v0 "" COMPILER_RT_HAS_GCC_LIB)
+ else()
+ check_library_exists(gcc_s __gcc_personality_v0 "" COMPILER_RT_HAS_GCC_S_LIB)
+ endif()
+endif()
+
+check_c_compiler_flag(-nodefaultlibs COMPILER_RT_HAS_NODEFAULTLIBS_FLAG)
+if (COMPILER_RT_HAS_NODEFAULTLIBS_FLAG)
+ set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -nodefaultlibs")
+ if (COMPILER_RT_HAS_LIBC)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES c)
+ endif ()
+ if (SANITIZER_USE_COMPILER_RT)
+ list(APPEND CMAKE_REQUIRED_FLAGS -rtlib=compiler-rt)
+ find_compiler_rt_library(builtins COMPILER_RT_BUILTINS_LIBRARY)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES "${COMPILER_RT_BUILTINS_LIBRARY}")
+ elseif (COMPILER_RT_HAS_GCC_S_LIB)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES gcc_s)
+ elseif (COMPILER_RT_HAS_GCC_LIB)
+ list(APPEND CMAKE_REQUIRED_LIBRARIES gcc)
+ endif ()
+endif ()
+
# CodeGen options.
check_cxx_compiler_flag(-fPIC COMPILER_RT_HAS_FPIC_FLAG)
check_cxx_compiler_flag(-fPIE COMPILER_RT_HAS_FPIE_FLAG)
@@ -73,11 +100,14 @@ check_cxx_compiler_flag(/wd4800 COMPILER_RT_HAS_WD4800
check_symbol_exists(__func__ "" COMPILER_RT_HAS_FUNC_SYMBOL)
# Libraries.
-check_library_exists(c fopen "" COMPILER_RT_HAS_LIBC)
check_library_exists(dl dlopen "" COMPILER_RT_HAS_LIBDL)
check_library_exists(rt shm_open "" COMPILER_RT_HAS_LIBRT)
check_library_exists(m pow "" COMPILER_RT_HAS_LIBM)
check_library_exists(pthread pthread_create "" COMPILER_RT_HAS_LIBPTHREAD)
+if (ANDROID AND COMPILER_RT_HAS_LIBDL)
+ # Android's libstdc++ has a dependency on libdl.
+ list(APPEND CMAKE_REQUIRED_LIBRARIES dl)
+endif()
check_library_exists(stdc++ __cxa_throw "" COMPILER_RT_HAS_LIBSTDCXX)
# Linker flags.
@@ -144,7 +174,7 @@ endmacro()
set(ARM64 aarch64)
set(ARM32 arm armhf)
-set(X86 i386 i686)
+set(X86 i386)
set(X86_64 x86_64)
set(MIPS32 mips mipsel)
set(MIPS64 mips64 mips64el)
@@ -164,23 +194,29 @@ set(ALL_SANITIZER_COMMON_SUPPORTED_ARCH ${X86} ${X86_6
set(ALL_ASAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
${MIPS32} ${MIPS64} ${PPC64} ${S390X})
set(ALL_DFSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64})
+set(ALL_FUZZER_SUPPORTED_ARCH x86_64)
if(APPLE)
set(ALL_LSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64} ${ARM64})
else()
- set(ALL_LSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64} ${ARM64} ${ARM32})
+ set(ALL_LSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64} ${ARM64} ${ARM32} ${PPC64})
endif()
set(ALL_MSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${PPC64})
+set(ALL_HWASAN_SUPPORTED_ARCH ${ARM64})
set(ALL_PROFILE_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${PPC64}
${MIPS32} ${MIPS64} ${S390X})
set(ALL_TSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${PPC64})
set(ALL_UBSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
${MIPS32} ${MIPS64} ${PPC64} ${S390X})
set(ALL_SAFESTACK_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM64} ${MIPS32} ${MIPS64})
-set(ALL_CFI_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64})
+set(ALL_CFI_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${MIPS64})
set(ALL_ESAN_SUPPORTED_ARCH ${X86_64} ${MIPS64})
set(ALL_SCUDO_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${MIPS32} ${MIPS64})
+if(APPLE)
+set(ALL_XRAY_SUPPORTED_ARCH ${X86_64})
+else()
set(ALL_XRAY_SUPPORTED_ARCH ${X86_64} ${ARM32} ${ARM64} ${MIPS32} ${MIPS64} powerpc64le)
+endif()
if(APPLE)
include(CompilerRTDarwinUtils)
@@ -225,6 +261,7 @@ if(APPLE)
set(SANITIZER_COMMON_SUPPORTED_OS osx)
set(PROFILE_SUPPORTED_OS osx)
set(TSAN_SUPPORTED_OS osx)
+ set(XRAY_SUPPORTED_OS osx)
if(NOT SANITIZER_MIN_OSX_VERSION)
string(REGEX MATCH "-mmacosx-version-min=([.0-9]+)"
MACOSX_VERSION_MIN_FLAG "${CMAKE_CXX_FLAGS}")
@@ -360,6 +397,9 @@ if(APPLE)
list_intersect(MSAN_SUPPORTED_ARCH
ALL_MSAN_SUPPORTED_ARCH
SANITIZER_COMMON_SUPPORTED_ARCH)
+ list_intersect(HWASAN_SUPPORTED_ARCH
+ ALL_HWASAN_SUPPORTED_ARCH
+ SANITIZER_COMMON_SUPPORTED_ARCH)
list_intersect(PROFILE_SUPPORTED_ARCH
ALL_PROFILE_SUPPORTED_ARCH
SANITIZER_COMMON_SUPPORTED_ARCH)
@@ -381,9 +421,13 @@ if(APPLE)
list_intersect(SCUDO_SUPPORTED_ARCH
ALL_SCUDO_SUPPORTED_ARCH
SANITIZER_COMMON_SUPPORTED_ARCH)
+ list_intersect(FUZZER_SUPPORTED_ARCH
+ ALL_FUZZER_SUPPORTED_ARCH
+ ALL_SANITIZER_COMMON_SUPPORTED_ARCH)
list_intersect(XRAY_SUPPORTED_ARCH
ALL_XRAY_SUPPORTED_ARCH
- SANITIZER_COMMON_SUPPORTED_ARCH)
+ SANITIZER_COMMON_SUPPORTED_ARCH)
+
else()
# Architectures supported by compiler-rt libraries.
filter_available_targets(SANITIZER_COMMON_SUPPORTED_ARCH
@@ -395,9 +439,11 @@ else()
filter_available_targets(UBSAN_COMMON_SUPPORTED_ARCH
${SANITIZER_COMMON_SUPPORTED_ARCH})
filter_available_targets(ASAN_SUPPORTED_ARCH ${ALL_ASAN_SUPPORTED_ARCH})
+ filter_available_targets(FUZZER_SUPPORTED_ARCH ${ALL_FUZZER_SUPPORTED_ARCH})
filter_available_targets(DFSAN_SUPPORTED_ARCH ${ALL_DFSAN_SUPPORTED_ARCH})
filter_available_targets(LSAN_SUPPORTED_ARCH ${ALL_LSAN_SUPPORTED_ARCH})
filter_available_targets(MSAN_SUPPORTED_ARCH ${ALL_MSAN_SUPPORTED_ARCH})
+ filter_available_targets(HWASAN_SUPPORTED_ARCH ${ALL_HWASAN_SUPPORTED_ARCH})
filter_available_targets(PROFILE_SUPPORTED_ARCH ${ALL_PROFILE_SUPPORTED_ARCH})
filter_available_targets(TSAN_SUPPORTED_ARCH ${ALL_TSAN_SUPPORTED_ARCH})
filter_available_targets(UBSAN_SUPPORTED_ARCH ${ALL_UBSAN_SUPPORTED_ARCH})
@@ -434,13 +480,13 @@ else()
set(OS_NAME "${CMAKE_SYSTEM_NAME}")
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-vendor
mailing list