[compiler-rt] r310769 - [compiler-rt] Add SANITIZER_CXX_ABI_LIBNAME=libc++ option.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 15:28:02 PDT 2017


Author: eugenis
Date: Fri Aug 11 15:28:02 2017
New Revision: 310769

URL: http://llvm.org/viewvc/llvm-project?rev=310769&view=rev
Log:
[compiler-rt] Add SANITIZER_CXX_ABI_LIBNAME=libc++ option.

Summary: This is to support Android where libc++abi is part of libc++.

Reviewers: srhines, EricWF

Subscribers: dberris, mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D36640

Modified:
    compiler-rt/trunk/CMakeLists.txt

Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=310769&r1=310768&r2=310769&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Fri Aug 11 15:28:02 2017
@@ -132,6 +132,8 @@ if (SANITIZER_CXX_ABI_LIBNAME STREQUAL "
   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()




More information about the llvm-commits mailing list