At least temporarily move operator new/delete from the abi back to here. I'm having trouble reexporting it as a weak symbol.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8417c46f8d
commit
9d84832741
@ -209,14 +209,14 @@ __ZNSt20bad_array_new_lengthC2Ev
|
|||||||
__ZNSt20bad_array_new_lengthD0Ev
|
__ZNSt20bad_array_new_lengthD0Ev
|
||||||
__ZNSt20bad_array_new_lengthD2Ev
|
__ZNSt20bad_array_new_lengthD2Ev
|
||||||
__ZSt10unexpectedv
|
__ZSt10unexpectedv
|
||||||
__ZdaPv
|
# __ZdaPv
|
||||||
__ZdlPv
|
# __ZdlPv
|
||||||
__ZdlPvRKSt9nothrow_t
|
# __ZdlPvRKSt9nothrow_t
|
||||||
__Znam
|
# __Znam
|
||||||
__ZdaPvRKSt9nothrow_t
|
# __ZdaPvRKSt9nothrow_t
|
||||||
__Znwm
|
# __Znwm
|
||||||
__ZnwmRKSt9nothrow_t
|
# __ZnwmRKSt9nothrow_t
|
||||||
__ZnamRKSt9nothrow_t
|
# __ZnamRKSt9nothrow_t
|
||||||
__ZTISt10bad_typeid
|
__ZTISt10bad_typeid
|
||||||
__ZTISt8bad_cast
|
__ZTISt8bad_cast
|
||||||
___cxa_bad_typeid
|
___cxa_bad_typeid
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
static std::new_handler __new_handler;
|
static std::new_handler __new_handler;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _LIBCPPABI_VERSION
|
//#ifndef _LIBCPPABI_VERSION
|
||||||
|
|
||||||
// Implement all new and delete operators as weak definitions
|
// Implement all new and delete operators as weak definitions
|
||||||
// in this shared library, so that they can be overriden by programs
|
// in this shared library, so that they can be overriden by programs
|
||||||
@ -134,7 +134,7 @@ operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT
|
|||||||
::operator delete[](ptr);
|
::operator delete[](ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
//#endif // _LIBCPPABI_VERSION
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user