diff options
author | Vitaly Buka <vitalybuka@google.com> | 2018-04-09 22:38:26 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2018-04-09 22:38:26 +0000 |
commit | cf28f813217c3a6b00e8ad6d74546e4c63244b56 (patch) | |
tree | 0a7e2a75971617043e3857543f1680e5c3da39c8 /lib/fuzzer/FuzzerUtilLinux.cpp | |
parent | 6437c9165c7849f4c7e25f666a7b0bbb8ea62d4c (diff) | |
download | compiler-rt-cf28f813217c3a6b00e8ad6d74546e4c63244b56.tar.gz |
libFuzzer, OpenBSD support
Summary:
- Enabling libfuzzer on OpenBSD
- OpenBSD can t support asan, msan ... the tests can t be run.
Patch by David CARLIER
Reviewers: eugenis, phosek, vitalybuka
Reviewed By: vitalybuka
Subscribers: srhines, mgorny, krytarowski, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D44877
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@329631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerUtilLinux.cpp')
-rw-r--r-- | lib/fuzzer/FuzzerUtilLinux.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/fuzzer/FuzzerUtilLinux.cpp b/lib/fuzzer/FuzzerUtilLinux.cpp index f8b5d11c5..c103fd230 100644 --- a/lib/fuzzer/FuzzerUtilLinux.cpp +++ b/lib/fuzzer/FuzzerUtilLinux.cpp @@ -9,7 +9,8 @@ // Misc utils for Linux. //===----------------------------------------------------------------------===// #include "FuzzerDefs.h" -#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FREEBSD +#if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FREEBSD || \ + LIBFUZZER_OPENBSD #include "FuzzerCommand.h" #include <stdlib.h> @@ -23,4 +24,4 @@ int ExecuteCommand(const Command &Cmd) { } // namespace fuzzer -#endif // LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FREEBSD +#endif |