hanchenye-llvm-project/libcxx/lib
Louis Dionne 976073794e [libc++][CMake] Allow merging libc++abi.a into libc++ even on Apple platforms
Summary:
I can't see a good reason to disallow this, even though it isn't the
standard way we build libc++ for Apple platforms.

Making this work on Apple platforms requires using different flags for
--whole-archive and removing the -D flag when running `ar` to merge
archives because that flag isn't supported by the `ar` shipped on Apple
platforms. This shouldn't be an issue since the -D option appears to be
enabled by default in GNU `ar`.

Reviewers: phosek, EricWF, serge-sans-paille

Subscribers: mgorny, christof, jkorous, dexonsmith, libcxx-commits

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

llvm-svn: 356903
2019-03-25 14:56:29 +00:00
..
abi [libc++] Complete the ABI changelog after landing <filesystem> in the dylib 2019-03-19 21:32:37 +00:00
CMakeLists.txt [libc++][CMake] Allow merging libc++abi.a into libc++ even on Apple platforms 2019-03-25 14:56:29 +00:00
libc++abi-new-delete.exp [libc++] Update the list of symbols exported from libc++abi for new/delete 2019-03-22 20:18:17 +00:00
libc++abi.v1.exp [libc++][CMake] Clean up some of the libc++ re-exporting logic 2019-03-20 18:16:24 +00:00
libc++abi.v2.exp [libc++][CMake] Clean up some of the libc++ re-exporting logic 2019-03-20 18:16:24 +00:00
libc++sjlj-abi.v1.exp [libc++][CMake] Clean up some of the libc++ re-exporting logic 2019-03-20 18:16:24 +00:00
libc++sjlj-abi.v2.exp [libc++] Re-export the sjlj ABI v2 for ARM architectures 2019-03-22 19:38:53 +00:00
libc++unexp.exp
notweak.exp
weak.exp