diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-01-24 21:48:10 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-01-24 21:48:10 +0000 |
commit | 7fdfd5d2695f537915cc1000044d97086a2d2115 (patch) | |
tree | 3fc8e9f0235ac4415f74872818ee8e9f95c6a86d /libcxxabi/src/cxa_vector.cpp | |
parent | 35bc8f915923904a38827f103c0403a8e3a70dfb (diff) | |
download | bcm5719-llvm-7fdfd5d2695f537915cc1000044d97086a2d2115.tar.gz bcm5719-llvm-7fdfd5d2695f537915cc1000044d97086a2d2115.zip |
Add some needed symbols in exception.cpp and eliminate dependence upon uncaught_exception() from cxa_vector.cpp. libc++abi is very nearly a self-contained (though not complete) library now.
llvm-svn: 148866
Diffstat (limited to 'libcxxabi/src/cxa_vector.cpp')
-rw-r--r-- | libcxxabi/src/cxa_vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_vector.cpp b/libcxxabi/src/cxa_vector.cpp index 67ecc243142..926c01dd349 100644 --- a/libcxxabi/src/cxa_vector.cpp +++ b/libcxxabi/src/cxa_vector.cpp @@ -258,7 +258,7 @@ void __cxa_vec_dtor( size_t idx = element_count; st_cxa_cleanup cleanup ( array_address, idx, element_size, destructor ); { - st_terminate exception_guard (std::uncaught_exception ()); + st_terminate exception_guard (__cxa_uncaught_exception ()); ptr += element_count * element_size; // one past the last element while ( idx-- > 0 ) { |