[LLVMdev] Adding a stack probe function attribute

Reid Kleckner rnk at google.com
Tue Aug 5 10:34:27 PDT 2014


On Tue, Aug 5, 2014 at 8:53 AM, John Kåre Alsaker <
john.mailinglists at gmail.com> wrote:

> Would the __probestack functions be a suitable addition to compiler-rt?
> Does it already have __chkstk or is that provided by something else on
> Windows? I noticed that libgcc implemented them in cygwin.S.
>

It seems reasonable to put them in compiler-rt/lib/builtins.

I don't think anyone is currently using compiler-rt's builtins on Windows,
so it doesn't have __chkstk. Typically that is provided by the Cygwin,
MinGW, or MSVC C runtime.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140805/81ba5fd2/attachment.html>


More information about the llvm-dev mailing list