[PATCH] D95435: [clang][aarch64][WOA64][docs] Release note for longjmp crash with /guard:cf

Peter Waller via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 03:59:02 PST 2021


peterwaller-arm created this revision.
peterwaller-arm added a reviewer: richard.townsend.arm.
Herald added subscribers: danielkiss, kristof.beyls.
peterwaller-arm requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Add a release note workaround for PR47463.

Bug: https://bugs.llvm.org/show_bug.cgi?id=47463


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95435

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -146,6 +146,11 @@
 Windows Support
 ---------------
 
+- Windows on Arm64: programs using the C standard library's setjmp and longjmp
+  functions may crash with a "Security check failure or stack buffer overrun"
+  exception. To workaround (with reduced security), compile with
+  /guard:cf,nolongjmp.
+
 C Language Changes in Clang
 ---------------------------
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95435.319265.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210126/b7599fbc/attachment-0001.bin>


More information about the cfe-commits mailing list