[PATCH] D9653: [PATCH 1/2] Add a "probe-stack" attribute

John Kåre Alsaker john.mailinglists at gmail.com
Thu Jul 16 21:44:18 PDT 2015


Zoxc added a comment.

"probe-stack" is only intended to guarantee that a guard page can be triggered, not to dictate how. __probestack is intended to be added to compiler-rt as to aid implementation (and Windows toolchains have existing functions for this). Ideally LLVM would inline it (as GCC does), but that would require more invasive changes to X86FrameLowering (emitPrologue does not seem like the ideal place to emit a loop).


http://reviews.llvm.org/D9653







More information about the llvm-commits mailing list