[libcxx-commits] [libcxx] 2464d81 - [libc++] Make sure we assume merged typeinfo names on Apple

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 22 14:35:55 PDT 2020


Author: Louis Dionne
Date: 2020-04-22T17:35:30-04:00
New Revision: 2464d8135e2a4dbcf821ff254012995c05e20fa0

URL: https://github.com/llvm/llvm-project/commit/2464d8135e2a4dbcf821ff254012995c05e20fa0
DIFF: https://github.com/llvm/llvm-project/commit/2464d8135e2a4dbcf821ff254012995c05e20fa0.diff

LOG: [libc++] Make sure we assume merged typeinfo names on Apple

The introduction of LIBCXX_HAS_MERGED_TYPEINFO_NAMES_DEFAULT changed
the default from =1 (assuming merged typeinfos) to =0 (not assuming
merged typeinfos) on all platforms where at least one other __config_site
macro is defined.

This commit explicitly enables the assumption of merged typeinfo names
on Apple platform to restore the previous behavior, at least until the
underlying issue has been fixed.

Added: 
    

Modified: 
    libcxx/cmake/caches/Apple.cmake

Removed: 
    


################################################################################
diff  --git a/libcxx/cmake/caches/Apple.cmake b/libcxx/cmake/caches/Apple.cmake
index 215c5bd9dfb1..26985c9f335e 100644
--- a/libcxx/cmake/caches/Apple.cmake
+++ b/libcxx/cmake/caches/Apple.cmake
@@ -7,6 +7,7 @@ set(LIBCXX_ABI_VERSION "1" CACHE STRING "")
 set(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY OFF CACHE BOOL "")
 set(LIBCXX_ENABLE_STATIC OFF CACHE BOOL "")
 set(LIBCXX_ENABLE_SHARED ON CACHE BOOL "")
+set(LIBCXX_HAS_MERGED_TYPEINFO_NAMES_DEFAULT ON CACHE STRING "")
 set(LIBCXX_CXX_ABI libcxxabi CACHE STRING "")
 set(LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS OFF CACHE BOOL "")
 set(LIBCXX_HIDE_FROM_ABI_PER_TU_BY_DEFAULT ON CACHE BOOL "")


        


More information about the libcxx-commits mailing list