Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions site/source/docs/porting/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,14 @@ Using Exceptions and setjmp-longjmp Together
============================================

See :ref:`using-exceptions-and-setjmp-longjmp-together`.


Limitations
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since both of these limitation are regarding std::set_terminate should we call this section Limitations regarding std::terminate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

===========

Currently `std::set_terminate
<https://en.cppreference.com/w/cpp/error/set_terminate>`_ is NOT supported, both
in Emscripten-style and WebAssembly exceptions. The functionality requires the
`two-phase exception handling
<https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html>`_, which neither
supports.