[PATCH] D45638: [Fuzzer] Avoid C++ compiler checks for fuzzer C++ library

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 13 16:08:52 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL330075: [Fuzzer] Avoid C++ compiler checks for fuzzer C++ library (authored by phosek, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D45638?vs=142469&id=142480#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D45638

Files:
  compiler-rt/trunk/lib/fuzzer/CMakeLists.txt


Index: compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
+++ compiler-rt/trunk/lib/fuzzer/CMakeLists.txt
@@ -103,7 +103,8 @@
              -D_LIBCPP_ABI_VERSION=Fuzzer
              -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS=1
              -fvisibility=hidden
-      CMAKE_ARGS -DLIBCXX_ENABLE_EXCEPTIONS=OFF
+      CMAKE_ARGS -DCMAKE_CXX_COMPILER_WORKS=ON
+                 -DLIBCXX_ENABLE_EXCEPTIONS=OFF
                  -DLIBCXX_CXX_ABI=none)
     target_compile_options(RTfuzzer.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1)
     add_dependencies(RTfuzzer.${arch} libcxx_fuzzer_${arch}-build)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45638.142480.patch
Type: text/x-patch
Size: 727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180413/8e69e3b5/attachment.bin>


More information about the llvm-commits mailing list