mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 02:44:18 +08:00
258c1d0722
gcc/cp/ * except.c (do_free_exception): Use transactional wrapper. libitm/ * testsuite/libitm.c++/eh-5.C: New. * libitm.h (_ITM_cxa_free_exception): New. * libitm.map (_ITM_cxa_free_exception): Add it. * libitm.texi: Update ABI docs. * libitm_i.h (gtm_transaction_cp::cxa_unthrown): Remove. (gtm_transaction_cp::cxa_uncaught_count): Add. (gtm_thread::cxa_unthrown): Remove. (gtm_thread::cxa_uncaught_count_ptr): Add. (gtm_thread::cxa_uncaught_count): Add. (gtm_thread::drop_references_allocations): Rename to... (gtm_thread::discard_allocation): ... this and adapt. (gtm_thread::init_cpp_exceptions): New. * beginend.cc (gtm_thread::gtm_thread): Adapt EH handling. (gtm_thread::begin_transaction): Likewise. (gtm_transaction_cp::save): Likewise. (gtm_thread::trycommit): Likewise. * eh_cpp.cc: Add overview comments. (__cxa_eh_globals, __cxa_get_globals, __cxa_free_exception): Declare. (free_any_exception, _ITM_cxa_free_exception): New. (gtm_thread::init_cpp_exceptions): Define. (_ITM_cxa_allocate_exception, _ITM_cxa_throw): Adapt. (_ITM_cxa_begin_catch, _ITM_cxa_end_catch): Likewise. (gtm_thread::revert_cpp_exceptions): Likewise. From-SVN: r230634
191 lines
2.8 KiB
Plaintext
191 lines
2.8 KiB
Plaintext
LIBITM_1.0 {
|
|
global:
|
|
_ITM_abortTransaction;
|
|
_ITM_addUserCommitAction;
|
|
_ITM_addUserUndoAction;
|
|
_ITM_beginTransaction;
|
|
_ITM_changeTransactionMode;
|
|
_ITM_commitTransaction;
|
|
_ITM_commitTransactionEH;
|
|
_ITM_error;
|
|
_ITM_getTransactionId;
|
|
_ITM_inTransaction;
|
|
_ITM_libraryVersion;
|
|
_ITM_versionCompatible;
|
|
|
|
_ITM_registerTMCloneTable;
|
|
_ITM_deregisterTMCloneTable;
|
|
_ITM_getTMCloneOrIrrevocable;
|
|
_ITM_getTMCloneSafe;
|
|
|
|
_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memmoveRtaRWn;
|
|
_ITM_memmoveRtaRWt;
|
|
_ITM_memmoveRtaRWtaR;
|
|
_ITM_memmoveRtaRWtaW;
|
|
_ITM_memmoveRtaWWn;
|
|
_ITM_memmoveRtaWWt;
|
|
_ITM_memmoveRtaWWtaR;
|
|
_ITM_memmoveRtaWWtaW;
|
|
_ITM_memsetW;
|
|
_ITM_memsetWaR;
|
|
_ITM_memsetWaW;
|
|
|
|
_ITM_malloc;
|
|
_ITM_calloc;
|
|
_ITM_free;
|
|
_ITM_dropReferences;
|
|
|
|
_ZGTtnw?;
|
|
_ZGTtna?;
|
|
_ZGTtdlPv;
|
|
_ZGTtdaPv;
|
|
_ZGTtnw?RKSt9nothrow_t;
|
|
_ZGTtna?RKSt9nothrow_t;
|
|
_ZGTtdlPvRKSt9nothrow_t;
|
|
_ZGTtdaPvRKSt9nothrow_t;
|
|
|
|
_ITM_cxa_allocate_exception;
|
|
_ITM_cxa_begin_catch;
|
|
_ITM_cxa_end_catch;
|
|
_ITM_cxa_throw;
|
|
|
|
local:
|
|
*;
|
|
};
|
|
LIBITM_1.1 {
|
|
global:
|
|
_ZGTtdlPv?;
|
|
_ZGTtdlPv?RKSt9nothrow_t;
|
|
_ITM_cxa_free_exception;
|
|
} LIBITM_1.0;
|