As noted in <https://github.com/llvm/llvm-project/issues/61216>, the
documentation for -fexceptions appears to imply that unwind information
is always generated, which isn't the case.
Differential Revision: https://reviews.llvm.org/
D145564
.. option:: -fexceptions
- Enable generation of unwind information. This allows exceptions to be thrown
- through Clang compiled stack frames. This is on by default in x86-64.
+ Allow exceptions to be thrown through Clang compiled stack frames (on many
+ targets, this will enable unwind information for functions that might have
+ an exception thrown through them). For most targets, this is enabled by
+ default for C++.
.. option:: -ftrapv