================
@@ -363,6 +363,11 @@ void *operator new(std::size_t, const std::nothrow_t &)
noexcept;
void *operator new(std::size_t, std::align_val_t,
const std::nothrow_t &) noexcept;
+extern "C" void *malloc(std::size_t);
+extern "C" void free(void *);
+extern "C" void *calloc(std::size_t, std::size_t);
----------------
steakhal wrote:
Now that we add this declaration, I think we should also add a test referencing
it.
https://github.com/llvm/llvm-project/pull/213443
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits