gcc/libstdc++-v3
Gleb Natapov 27abac2648 libstdc++/68297 avoid throw/catch in make_exception_ptr
2016-08-22  Gleb Natapov  <gleb@scylladb.com>

	PR libstdc++/68297
	* config/abi/pre/gnu-versioned-namespace.ver: Export
	__cxa_init_primary_exception and std::exception_ptr(void*).
	* config/abi/pre/gnu.ver (CXXABI_1.3.11) : Add new symbol version and
	export __cxa_init_primary_exception and std::exception_ptr(void*).
	* include/Makefile.am: Add new headers.
	* include/Makefile.in: Regenerate.
	* libsupc++/Makefile.am: Add new headers.
	* libsupc++/Makefile.in: Regenerate.
	* libsupc++/cxxabi.h (__cxa_allocate_exception): Move to ...
	* libsupc++/cxxabi_init_exception.h: New header.
	(__cxa_init_primary_exception): Declare.
	* libsupc++/eh_throw.cc (__cxa_init_primary_exception): Define.
	(__cxa_throw): Use __cxa_init_primary_exception.
	* libsupc++/exception (std::exception): Move to ...
	* libsupc++/exception.h: New header.
	* libsupc++/exception_ptr.h (__exception_ptr::exception_ptr): Add
	friend declaration.
	(__exception_ptr::__dest_thunk): New function template.
	(std::make_exception_ptr) [__cpp_rtti && !_GLIBCXX_HAVE_CDTOR_CALLABI]:
	Use __cxa_allocate_exception and __cxa_init_primary_exception to
	create exception_ptr.
	* libsupc++/typeinfo: Include bits/exception.h instead of exception.
	* testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.11 version.

From-SVN: r239664
2016-08-22 18:29:31 +01:00
..
config libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
doc Update links to libstdc++ Doxygen pages 2016-08-22 17:47:39 +01:00
include libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
libsupc++ libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
po
python
scripts Add -fno-show-column to libstdc++ test flags 2016-08-02 20:34:15 +01:00
src ops.cc: Always include ostream and ext/stdio_filebuf.h. 2016-08-15 13:40:37 +02:00
testsuite libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
acinclude.m4 New libstdc++ symbol version for new basic_string symbols 2016-07-29 11:42:17 +01:00
aclocal.m4
ChangeLog libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
config.h.in
configure New libstdc++ symbol version for new basic_string symbols 2016-07-29 11:42:17 +01:00
configure.ac
configure.host remove mep-* support 2016-06-21 21:57:49 +00:00
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.