gcc/libstdc++-v3/testsuite/util
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
..
common_type Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
debug Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
exception Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
hash_fn Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
io Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
native_type Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
performance Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
regression Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
statistic Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
thread Replace references to C++0x with C++11 in comments 2016-07-15 21:23:08 +01:00
replacement_memory_operators.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
specfun_testcase.h Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
testsuite_abi_check.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_abi.cc libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
testsuite_abi.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_allocator.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_allocator.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_api.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_character.cc Fix out-of-bound array accesses in libstdc++ testsuite 2016-07-21 20:38:51 +01:00
testsuite_character.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_common_types.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_container_traits.h
testsuite_containergen.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_containers.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_counter_type.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_error.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_fs.h libstdc++/70762 fix fallback implementation of nonexistent_path 2016-04-24 19:06:54 +01:00
testsuite_greedy_ops.h
testsuite_hooks.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_hooks.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_io.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_iterators.h libstdc++/71545 fix debug checks in binary search algorithms 2016-06-17 19:28:34 +01:00
testsuite_new_operators.h Define missing delete operators in libstdc++ testsuite 2016-07-21 20:38:57 +01:00
testsuite_performance.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_random.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_regex.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_rng.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_rvalref.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_shared.cc Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
testsuite_tr1.h Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00