Compare commits
5 Commits
svn-tags/l
...
svn-tags/l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
514aeaef73 | ||
|
|
7a0248d2d7 | ||
|
|
d42c4beeff | ||
|
|
1f970ad73a | ||
|
|
55ddb21dd4 |
@@ -26,6 +26,15 @@ ___cxa_vec_new2
|
||||
___cxa_vec_new3
|
||||
___dynamic_cast
|
||||
___gxx_personality_v0
|
||||
__ZTIDi
|
||||
__ZTIDn
|
||||
__ZTIDs
|
||||
__ZTIPDi
|
||||
__ZTIPDn
|
||||
__ZTIPDs
|
||||
__ZTIPKDi
|
||||
__ZTIPKDn
|
||||
__ZTIPKDs
|
||||
__ZTSPm
|
||||
__ZTSPl
|
||||
__ZTSPj
|
||||
|
||||
@@ -38,7 +38,7 @@ std::get_unexpected() throw()
|
||||
void
|
||||
std::unexpected()
|
||||
{
|
||||
(*__unexpected_handler)();
|
||||
(*std::get_unexpected())();
|
||||
// unexpected handler should not return
|
||||
std::terminate();
|
||||
}
|
||||
@@ -62,7 +62,7 @@ std::terminate()
|
||||
try
|
||||
{
|
||||
#endif // _LIBCPP_NO_EXCEPTIONS
|
||||
(*__terminate_handler)();
|
||||
(*std::get_terminate())();
|
||||
// handler should not return
|
||||
::abort ();
|
||||
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||
|
||||
@@ -36,8 +36,9 @@ operator new(std::size_t size) throw (std::bad_alloc)
|
||||
{
|
||||
// If malloc fails and there is a new_handler,
|
||||
// call it to try free up memory.
|
||||
if (__new_handler)
|
||||
__new_handler();
|
||||
std::new_handler nh = std::get_new_handler();
|
||||
if (nh)
|
||||
nh();
|
||||
else
|
||||
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||
throw std::bad_alloc();
|
||||
|
||||
Reference in New Issue
Block a user