[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:09:15 PDT 2017
eugenis created this revision.
Herald added subscribers: mgorny, dberris.
Herald added a reviewer: EricWF.
This is to support Android where libc++abi is part of libc++.
https://reviews.llvm.org/D36640
Files:
compiler-rt/CMakeLists.txt
Index: compiler-rt/CMakeLists.txt
===================================================================
--- compiler-rt/CMakeLists.txt
+++ compiler-rt/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.110821.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170811/1139da6d/attachment.bin>
More information about the llvm-commits
mailing list