[libcxx-commits] [PATCH] D120064: Fix EBO on std::optional and std::variant when targeting the MSVC ABI

Reid Kleckner via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 1 11:57:00 PST 2022


rnk added a subscriber: smeenai.
rnk added a comment.

In D120064#3352256 <https://reviews.llvm.org/D120064#3352256>, @mstorsjo wrote:

> @rnk @thakis @hans Is such an ABI break in libc++ for the clang-cl case tolerable for you guys?

Yes, we can tolerate it, but that's not a great proxy for project policy.

I think, in practice, libc++ is not the system-standard C++ library in MSVC environments. It would be reasonable for libc++ to proclaim that the MSVC libc++ ABI is unstable, for now. I expect we will discover more issues like this in the near future. We may wish to re-evaluate the placement of dllexport annotations, for example, since @smeenai informed me that they interact poorly with inlining.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120064



More information about the libcxx-commits mailing list