At least temporarily move operator new/delete from the abi back to here. I'm having trouble reexporting it as a weak symbol.
llvm-svn: 151459
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 908d2bebaf8a9a3c52082e81a8d65ab82ee933c2
diff --git a/src/new.cpp b/src/new.cpp
index dfeb5a1..11d7be6 100644
--- a/src/new.cpp
+++ b/src/new.cpp
@@ -24,7 +24,7 @@
static std::new_handler __new_handler;
#endif
-#ifndef _LIBCPPABI_VERSION
+//#ifndef _LIBCPPABI_VERSION
// Implement all new and delete operators as weak definitions
// in this shared library, so that they can be overriden by programs
@@ -134,7 +134,7 @@
::operator delete[](ptr);
}
-#endif
+//#endif // _LIBCPPABI_VERSION
namespace std
{