[libcxx-commits] [libcxx] [libc++] Mark more types as trivially relocatable (PR #89724)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 30 08:58:08 PDT 2024


================
@@ -64,6 +64,9 @@ class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
   friend _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep) _NOEXCEPT;
 
 public:
+  // exception_ptr is basically a COW string.
----------------
ldionne wrote:

Let's add a release note for this optimization (for all the types, not just exception_ptr). No need to list them all, just mention we now recognize a bunch of types as trivially relocatable.

https://github.com/llvm/llvm-project/pull/89724


More information about the libcxx-commits mailing list