[all-commits] [llvm/llvm-project] 21da4e: [libc++] Fix broken configuration system-libcxxabi...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Wed Oct 9 05:47:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21da4e7f51c7adfd0b1c5defc8bd0d16ea1ce759
https://github.com/llvm/llvm-project/commit/21da4e7f51c7adfd0b1c5defc8bd0d16ea1ce759
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-10-09 (Wed, 09 Oct 2024)
Changed paths:
M libcxx/cmake/Modules/HandleLibCXXABI.cmake
M libcxx/src/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
Log Message:
-----------
[libc++] Fix broken configuration system-libcxxabi on Apple (#110920)
On Apple platforms, using system-libcxxabi as an ABI library wouldn't
work because we'd try to re-export symbols from libc++abi that the
system libc++abi.dylib might not have. Instead, only re-export those
symbols when we're using the in-tree libc++abi.
This does mean that libc++.dylib won't re-export any libc++abi symbols
when building against the system libc++abi, which could be fixed in
various ways. However, the best solution really depends on the intended
use case, so this patch doesn't try to solve that problem.
As a drive-by, also improve the diagnostic message when the user forgets
to set the LIBCXX_CXX_ABI_INCLUDE_PATHS variable, which would previously
lead to a confusing error.
Closes #104672
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list