summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/CMakeLists.txt
AgeCommit message (Collapse)Author
2017-09-16[sanitizer] Support check-asan on AndroidVitaly Buka
This patch enabled asan tests from sanitizer_common. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313444 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-09[ubsan] Enable UBsan in sanitizer_common testsVitaly Buka
Summary: Failing tests just marked as UNSUPPORTED or XFAIL. Some of them can be easily supported, but I'll do this in separate patches. Reviewers: eugenis, alekseyshl Subscribers: srhines, kubamracek, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D37630 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312860 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-30Finalize ASAN/NetBSDKamil Rytarowski
Summary: This revision contains various cleanups. Sponsored by <The NetBSD Foundation> Reviewers: kcc, vitalybuka, joerg, eugenis Reviewed By: kcc Subscribers: emaste, srhines, llvm-commits, kubamracek, mgorny, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D37244 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312188 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29[sanitizer] Add macOS minimum deployment target to all compiler invocations ↵Kuba Mracek
in lit tests The Clang driver on macOS decides the deployment target based on various things, like your host OS version, the SDK version and some environment variables, which makes lit tests pass or fail based on your environment. Let's make sure we run all lit tests with `-mmacosx-version-min=${SANITIZER_MIN_OSX_VERSION}` (10.9 unless overriden). Differential Revision: https://reviews.llvm.org/D26929 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288186 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-22[sanitizers] Enable sanitizer_common tests on Win64Reid Kleckner
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276440 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-11[compiler-rt] Fix VisualStudio virtual folders layoutEtienne Bergeron
Summary: This patch is a refactoring of the way cmake 'targets' are grouped. It won't affect non-UI cmake-generators. Clang/LLVM are using a structured way to group targets which ease navigation through Visual Studio UI. The Compiler-RT projects differ from the way Clang/LLVM are grouping targets. This patch doesn't contain behavior changes. Reviewers: kubabrecka, rnk Subscribers: wang0109, llvm-commits, kubabrecka, chrisha Differential Revision: http://reviews.llvm.org/D21952 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275111 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-09[sanitizer_common] Correct the nits that should have been committed as part ↵Daniel Sanders
of r260227. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@260229 91177308-0d34-0410-b5e6-96231b3b80d8
2016-02-09[sanitizer_common] Add suffix to lit testsuite name to distinguish subtargets.Daniel Sanders
Summary: This fixes duplicate test names in the test results, so: PASS: SanitizerCommon-asan :: fopen_nullptr.c (304 of 431) PASS: SanitizerCommon-asan :: fopen_nullptr.c (305 of 431) is now: PASS: SanitizerCommon-asan-i386-Linux :: fopen_nullptr.c (282 of 431) PASS: SanitizerCommon-asan-x86_64-Linux :: fopen_nullptr.c (316 of 431) Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16850 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@260227 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-20[CMake] Fixing r245581 based on feedback from Filcab.Chris Bieneman
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@245582 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-20[CMake] Fix building unit tests on DarwinChris Bieneman
Summary: There are a number of issues with unit tests on Darwin. These patches address the following: * Unit tests should be passed -arch (-m32/-m64 isn't sufficient) * Unit tests should be passed ${DARWIN_osx_CFLAGS} because they're being built for OS X * Test architectures should be filtered based on base system capabilities (i.e. don't try running x86_64h tests on pre-haswell hardware). Reviewers: bogner, filcab, kubabrecka Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12174 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@245580 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-10Temporarily disable check-sanitizer tests on 64-bit Windows.Peter Collingbourne
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241940 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-19[sanitizer][MIPS] Add --target flag for MIPS32Sagar Thakur
Without the --target flag, clang uses the mips64 triple which selects the n64 abi. We need to add --target=mips-linux-gnu, so that clang can select the correct abi for mips32r2. Reviewers: dsanders, kcc, samsonov Subscribers: llvm-commits, mohit.bhakkad, jaydeep Differential Revision: http://reviews.llvm.org/D9249 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@237675 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-02[Sanitizer] Run test/sanitizer_common lit tests on all supported architectures.Alexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@231025 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-04[sanitizer] support c11 aligned_alloc, Linux only for nowKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212322 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-12Restrict the set of sanitizers that should run tests from test/sanitizer_commonAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208639 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-09[Sanitizer] Add the machinery to run the same test under several sanitizersAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208378 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-08[Sanitizer] Move lit config for sanitizer_common unit tests under Unit/ dir ↵Alexey Samsonov
for consistency. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208373 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-20Move config for sanitizer_common tests under test/ for consistencyAlexey Samsonov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201779 91177308-0d34-0410-b5e6-96231b3b80d8