asb created this revision. asb added a reviewer: efriedma. Herald added subscribers: wingo, pmatos, sameer.abuasal. Herald added a project: All. asb requested review of this revision.
As noted in #6126 <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. 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,8 @@ .. 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. + Enable generation of unwind information for functions that might have an + exception through through them. This is on by default in x86-64. .. option:: -ftrapv
Index: clang/docs/CommandGuide/clang.rst =================================================================== --- clang/docs/CommandGuide/clang.rst +++ clang/docs/CommandGuide/clang.rst @@ -473,8 +473,8 @@ .. 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. + Enable generation of unwind information for functions that might have an + exception through through them. This is on by default in x86-64. .. option:: -ftrapv
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits