[PATCH] D53939: [compiler-rt][Fuzzer] Use the new C++ ABI namespace CMake support
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 31 12:18:06 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT345765: [compiler-rt][Fuzzer] Use the new C++ ABI namespace CMake support (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D53939?vs=171952&id=171992#toc
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D53939
Files:
lib/fuzzer/CMakeLists.txt
Index: lib/fuzzer/CMakeLists.txt
===================================================================
--- lib/fuzzer/CMakeLists.txt
+++ lib/fuzzer/CMakeLists.txt
@@ -124,12 +124,12 @@
set(LIBCXX_${arch}_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/libcxx_fuzzer_${arch})
add_custom_libcxx(libcxx_fuzzer_${arch} ${LIBCXX_${arch}_PREFIX}
CFLAGS ${TARGET_CFLAGS}
- -D_LIBCPP_ABI_VERSION=Fuzzer
-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS=1
-fvisibility=hidden
CMAKE_ARGS -DCMAKE_CXX_COMPILER_WORKS=ON
-DLIBCXX_ENABLE_EXCEPTIONS=OFF
-DLIBCXX_ENABLE_SHARED=OFF
+ -DLIBCXX_ABI_NAMESPACE=Fuzzer
-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: D53939.171992.patch
Type: text/x-patch
Size: 902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181031/2746709f/attachment.bin>
More information about the llvm-commits
mailing list