[libcxx-commits] [PATCH] D136196: [libc++][PMR] Move the pmr::memory_resource destructor into the dylib

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 30 10:27:52 PDT 2022


EricWF added a comment.

Also, this changes the initialization/atexit behavior of derived memory resource types.

Specifically, because the destructor is no longer defaulted, it's no longer trivial. So the compiler now needs to emit atexit destructors for global memory resources.

I'm not sure this change actually does what we want. I need a minute to test some things.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136196



More information about the libcxx-commits mailing list