summaryrefslogtreecommitdiff
path: root/test/fuzzer/CMakeLists.txt
AgeCommit message (Collapse)Author
2018-07-16[cmake][libFuzzer] fixup r337193 to ensure msan/dfsan are not addedAlex Lorenz
to test deps for libfuzzer when they're not supported by the platform git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337203 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-16[libFuzzer] Add msan and dfsan to test deps.Matt Morehouse
Required now that we have tests using MSan and DFSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@337193 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-12[libFuzzer] If LLD available, require it to build first.Matt Morehouse
Since we now have a test that requires LLD, make sure it is built before that test runs. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336932 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-06Recommit "[CMake] Run libFuzzer tests with check-all."Yvan Roux
Since problematic tests on AArch64 were disabled at r336446. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336449 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-05Revert "[CMake] Run libFuzzer tests with check-all."Yvan Roux
Revert due to AArch64 bots breakage, upstream PR raised to track the issue: https://bugs.llvm.org/show_bug.cgi?id=38034 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336341 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-25[CMake] Run libFuzzer tests with check-all.Matt Morehouse
Reviewers: kcc Reviewed By: kcc Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D48200 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335519 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-21[libFuzzer] Filter architectures for testing on Apple platforms.George Karpenkov
This is done in all other sanitizers, and was missing on libFuzzer. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335290 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-21[libFuzzer] Provide more descriptive names for testing targets.George Karpenkov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335289 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-20[sanitizer] Unify and generalize Apple platforms in CMake and lit test configsKuba Mracek
There's more platforms than just "ios" and "iossim" that we should support, and adding more lit config variables for each platform isn't great. Let's generalize and have a single value that determines what the platform under test is. Differential Revision: https://reviews.llvm.org/D48309 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335123 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-14[libFuzzer] [NFC] Support multi-arch and multi-OS building and testingGeorge Karpenkov
Differential Revision: https://reviews.llvm.org/D47296 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334768 91177308-0d34-0410-b5e6-96231b3b80d8
2018-05-24[libFuzzer] [NFC] Do not remove SanitizerLintCheck from libFuzzer testsGeorge Karpenkov
With %run commands being present now, we want to make sure that they stay present. Differential Revision: https://reviews.llvm.org/D47293 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@333244 91177308-0d34-0410-b5e6-96231b3b80d8
2018-05-24[libFuzzer] Fix multi-arch build support for fuzzer tests.George Karpenkov
The bug was not previously exposed as only one architecture is currently supported for libFuzzer. Differential Revision: https://reviews.llvm.org/D47287 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@333242 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-17Reland "[libFuzzer] Support using libc++"Petr Hosek
This is needed in case the users of libFuzzer use libc++ in their code, which the fuzz target (libFuzzer) will be linked against. When libc++ source is available, we build a private version of it and link it against libFuzzer which allows using the same static library against codebases which use both libc++ and libstdc++. Differential Revision: https://reviews.llvm.org/D37631 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322755 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-17Revert "[libFuzzer] Support using libc++"Petr Hosek
This reverts commit r322604: test is failing for standalone compiler-rt. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322689 91177308-0d34-0410-b5e6-96231b3b80d8
2018-01-17[libFuzzer] Support using libc++Petr Hosek
This is needed in case the users of libFuzzer use libc++ in their code, which the fuzz target (libFuzzer) will be linked against. When libc++ source is available, we build a private version of it and link it against libFuzzer which allows using the same static library against codebases which use both libc++ and libstdc++. Differential Revision: https://reviews.llvm.org/D37631 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322604 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-15[libFuzzer] make the tests depend on ubsanKostya Serebryany
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320787 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-22[NFC] do not run linter on libFuzzer's tests.George Karpenkov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@311419 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-22Remove check-fuzzer from check-all, as tests don't pass on some bots.George Karpenkov
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@311415 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-21Move libFuzzer to compiler_rt.George Karpenkov
Resulting library binaries will be named libclang_rt.fuzzer*, and will be placed in Clang toolchain, allowing redistribution. Differential Revision: https://reviews.llvm.org/D36908 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@311407 91177308-0d34-0410-b5e6-96231b3b80d8