[libcxx-commits] [libcxx] [libcxx] [test] Use ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS in more places (PR #144339)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 3 14:22:46 PDT 2025


mstorsjo wrote:

Also, it’s curious how this issue only did appear in the mingw builds, not in the clang-cl builds, even if both have the same issue about not being able to override operator new inside the DLL. I haven’t had time to try to track down why Clang makes different decisions regarding calling the external instantiations or generating the code (or probably inlineing it), between mingw and msvc mode - whether this just is due to a butterfly effect regarding inlineing heuristics, or whether there’s some systematic difference (e.g. msvc mode always picking the external instantiation if one exists?). I guess it would be good to have clarity in that too, but that’ll be a quite large amount of digging…

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


More information about the libcxx-commits mailing list