[PATCH] D49331: [CMake] Use libc++ and compiler-rt for sanitizers
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 14 20:16:48 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337117: [CMake] Use libc++ and compiler-rt for sanitizers (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D49331?vs=155539&id=155576#toc
Repository:
rL LLVM
https://reviews.llvm.org/D49331
Files:
cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
Index: cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
+++ cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
@@ -57,6 +57,9 @@
set(RUNTIMES_${target}-linux-gnu_LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
set(RUNTIMES_${target}-linux-gnu_LIBCXX_ENABLE_SHARED OFF CACHE BOOL "")
set(RUNTIMES_${target}-linux-gnu_LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")
+ set(RUNTIMES_${target}-linux-gnu_SANITIZER_CXX_ABI "libc++" CACHE STRING "")
+ set(RUNTIMES_${target}-linux-gnu_SANITIZER_CXX_ABI_INTREE ON CACHE BOOL "")
+ set(RUNTIMES_${target}-linux-gnu_COMPILER_RT_USE_BUILTINS_LIBRARY ON CACHE BOOL "")
endif()
endforeach()
endif()
@@ -100,7 +103,6 @@
set(RUNTIMES_${target}-fuchsia_LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
set(RUNTIMES_${target}-fuchsia_LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
set(RUNTIMES_${target}-fuchsia_LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-fuchsia_SANITIZER_USE_COMPILER_RT ON CACHE BOOL "")
endforeach()
set(LLVM_RUNTIME_SANITIZERS "Address" CACHE STRING "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49331.155576.patch
Type: text/x-patch
Size: 1196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180715/e0b8a0ea/attachment.bin>
More information about the llvm-commits
mailing list