From: Louis Dionne Date: Wed, 22 Apr 2020 21:16:47 +0000 (-0400) Subject: [libc++] Make sure we assume merged typeinfo names on Apple X-Git-Tag: llvmorg-12-init~8149 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2464d8135e2a4dbcf821ff254012995c05e20fa0;p=platform%2Fupstream%2Fllvm.git [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. --- diff --git a/libcxx/cmake/caches/Apple.cmake b/libcxx/cmake/caches/Apple.cmake index 215c5bd..26985c9 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 "")