[libcxx-commits] [PATCH] D63457: [libc++] Re-export libc++abi as a whole instead of using lists

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 17 13:44:08 PDT 2019


ldionne created this revision.
ldionne added reviewers: EricWF, phosek, dexonsmith.
Herald added subscribers: libcxx-commits, jkorous, christof, mgorny.
Herald added a project: libc++.

Since libc++abi properly controls what symbols it exports, it is safe
to just re-export the whole library from libc++. This removes some
coupling between libc++ and libc++abi, and reduces the maintenance
burden of having to maintain a list of symbols in libc++.

As part of this change, the ABI list of symbols exported from libc++ is
updated and does not explicitly contain symbols from libc++abi anymore.
This is okay because those symbols are still reachable for any application
linking against libc++, through the whole-dylib re-export.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63457

Files:
  libcxx/lib/abi/x86_64-apple-darwin.v1.abilist
  libcxx/lib/abi/x86_64-apple-darwin.v2.abilist
  libcxx/lib/libc++abi-new-delete.exp
  libcxx/lib/libc++abi.v1.exp
  libcxx/lib/libc++abi.v2.exp
  libcxx/lib/libc++sjlj-abi.v1.exp
  libcxx/lib/libc++sjlj-abi.v2.exp
  libcxx/src/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63457.205173.patch
Type: text/x-patch
Size: 134498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190617/0f3e8c51/attachment-0001.bin>


More information about the libcxx-commits mailing list