[llvm-commits] [WinABI patch] Make sure to call __chkstk when appropriate

Cameron Esfahani dirty at apple.com
Wed Aug 18 02:30:05 PDT 2010


Windows ABI requires the function prologue to call __chkstk if there is >= 4096 bytes allocated on the stack.

Here's a patch which implements that functionality.  And, there's a test case!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: chkstk_patch
Type: application/octet-stream
Size: 2540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100818/98ee9266/attachment.obj>
-------------- next part --------------


Cameron Esfahani
dirty at apple.com

"I cannot for the life of me understand why, while people without driver's licenses are not allowed on public roads, in bookstores one can find any number of books by persons without decency - let alone knowledge."

"His Master's Voice", Stanislaw Lem





More information about the llvm-commits mailing list