summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-01-30 22:59:48 +0000
committerPetr Hosek <phosek@chromium.org>2018-01-30 22:59:48 +0000
commit6f72890add21a71ebf576670047946c7cd4beb40 (patch)
tree87ae34cf25b513a38b05b7648258165889854c73 /cmake
parentf95854ec1ca9fce90edf26c5cffbcc59cd17b8eb (diff)
[fuzzer] Update and enable libFuzzer on Fuchsia
This change updates the Fuchsia-specific code to use the C++ friendly duration expressions and flips on the building of libclang_rt.fuzzer-x86_64.a and similar for Fuchsia. Given that compiler-rt doesn't build on Fuchsia, test have been run by explicitly building the library and linking it against lib/fuzzer/tests/FuzzerUnittest.cpp. Differential Revision: https://reviews.llvm.org/D42670 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@323828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 16808c3cd..c7b959e79 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -604,7 +604,7 @@ else()
endif()
if (COMPILER_RT_HAS_SANITIZER_COMMON AND FUZZER_SUPPORTED_ARCH AND
- OS_NAME MATCHES "Android|Darwin|Linux|NetBSD|FreeBSD")
+ OS_NAME MATCHES "Android|Darwin|Linux|NetBSD|FreeBSD|Fuchsia")
set(COMPILER_RT_HAS_FUZZER TRUE)
else()
set(COMPILER_RT_HAS_FUZZER FALSE)