[flang-commits] [flang] [libc++] Fix the behavior of throwing `operator new` under -fno-exceptions (PR #69498)

Louis Dionne via flang-commits flang-commits at lists.llvm.org
Fri Oct 20 10:52:28 PDT 2023


================
@@ -7,6 +7,8 @@
 //===----------------------------------------------------------------------===//
 
 #include <__memory/aligned_alloc.h>
+#include <__overridable_function>
----------------
ldionne wrote:

So this file needs to be shared between libc++abi and libc++, unfortunately, so it's a bit easier to throw in under `include`.

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


More information about the flang-commits mailing list