[PATCH] D36640: [compiler-rt] Add SANITIZER_CXX_ABI_LIBNAME=libc++ option.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 15:30:35 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL310769: [compiler-rt] Add SANITIZER_CXX_ABI_LIBNAME=libc++ option. (authored by eugenis).

Changed prior to commit:
  https://reviews.llvm.org/D36640?vs=110821&id=110824#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36640

Files:
  compiler-rt/trunk/CMakeLists.txt


Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -132,6 +132,8 @@
   else()
     list(APPEND SANITIZER_CXX_ABI_LIBRARY "c++abi")
   endif()
+elseif (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libc++")
+  list(APPEND SANITIZER_CXX_ABI_LIBRARY "c++")
 elseif (SANITIZER_CXX_ABI_LIBNAME STREQUAL "libstdc++")
   append_list_if(COMPILER_RT_HAS_LIBSTDCXX stdc++ SANITIZER_CXX_ABI_LIBRARY)
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36640.110824.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170811/99654c5c/attachment.bin>


More information about the llvm-commits mailing list