[PATCH] chkstk for Windows

Yaron Keren yaron.keren at gmail.com
Wed Oct 23 11:51:29 PDT 2013


Calling _chkstk is required on ELF as well as COFF on Windows. Without
_chkstk functions requiring large stack crash in initialization code.
Previous code tested for COFF format but not Mach-O and this patch modifies
the code to test for Windows OS.

Credits to Andrew MacPherson.

Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131023/b8f4cca3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86-chkstk.diff
Type: application/octet-stream
Size: 1802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131023/b8f4cca3/attachment.obj>


More information about the llvm-commits mailing list