[libcxx-commits] [PATCH] D78154: [WIP][libc++] Link c++experimental.a into libc++.dylib when enabled

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 14 14:05:22 PDT 2020


ldionne added a subscriber: jwakely.
ldionne added a comment.

This isn't a complete patch, but mostly a RFC to see what folks would think about including `libc++experimental.a` into the static/shared library when it is enabled. My view of things is that `-lc++` should always be sufficient to link against libc++, and on Darwin it is (libc++abi symbols are re-exported, so `-lc++abi` isn't required). With that view of things, it makes sense to include `c++experimental.a` in the dylib when it is enabled.

Note that vendors are free not to enable `c++experimental.a` in the dylib they ship because they need to ensure ABI compatibility and some amount of stability.

@jwakely , how does libstdc++ ship experimental features? Does it ship them in its shared library?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78154/new/

https://reviews.llvm.org/D78154





More information about the libcxx-commits mailing list