[PATCH] D145564: [clang][docs] Clarify the semantics of -fexceptions
Alex Bradbury via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 14 05:54:42 PDT 2023
asb updated this revision to Diff 505060.
asb added a comment.
Adjust wording based on discussion.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145564/new/
https://reviews.llvm.org/D145564
Files:
clang/docs/CommandGuide/clang.rst
Index: clang/docs/CommandGuide/clang.rst
===================================================================
--- clang/docs/CommandGuide/clang.rst
+++ clang/docs/CommandGuide/clang.rst
@@ -473,8 +473,10 @@
.. 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145564.505060.patch
Type: text/x-patch
Size: 666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230314/fc38136d/attachment.bin>
More information about the cfe-commits
mailing list