summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++/cxxabi.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-18 02:09:23 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-18 02:09:23 +0000
commit3c70bc92294a35a51e695094ae6e26c3cb1adf03 (patch)
tree6a65bccb2be735bc17b004a6ee62e5a043ceaea3 /libstdc++-v3/libsupc++/cxxabi.h
parent1ccaa52c8bc92bb633d772f32510380838c0d347 (diff)
downloadppe42-gcc-3c70bc92294a35a51e695094ae6e26c3cb1adf03.tar.gz
ppe42-gcc-3c70bc92294a35a51e695094ae6e26c3cb1adf03.zip
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise. * libsupc++/unwind-cxx.h: Adjust. * src/Makefile.am (strstream.o): Pass -Wno-deprecated. * libsupc++/eh_type.cc (__cxa_current_exception_type): New file. * libsupc++/cxxabi.h: Declare it. * libsupc++/Makefile.am (sources): Add it. * src/vterminate.cc (verbose_terminate_handler): New file. * libsupc++/exception: Declare it. * src/Makefile.am (sources): Add it. * src/Makefile.am (VPATH): Check the src directory before the top one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47132 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++/cxxabi.h')
-rw-r--r--libstdc++-v3/libsupc++/cxxabi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/libsupc++/cxxabi.h b/libstdc++-v3/libsupc++/cxxabi.h
index 1d4464a274e..e695ce5a223 100644
--- a/libstdc++-v3/libsupc++/cxxabi.h
+++ b/libstdc++-v3/libsupc++/cxxabi.h
@@ -509,6 +509,11 @@ char *__cxa_demangle (const char *__mangled_name,
__SIZE_TYPE__ *__length,
int *__status);
+// Returns the type_info for the currently handled exception [15.3/8], or
+// null if there is none.
+extern "C"
+std::type_info *__cxa_current_exception_type ();
+
} /* namespace __cxxabiv1 */
/* User programs should use the alias `abi'. */
OpenPOWER on IntegriCloud