[PATCH] Add a stackprobe attribute

Sean Silva chisophugis at gmail.com
Wed Jul 30 10:15:43 PDT 2014


Has this been discussed on LLVMdev? Our development process requires
changes to the IR to have a design discussion on LLVMdev first.

-- Sean Silva


On Tue, Jul 29, 2014 at 11:35 PM, John Kåre Alsaker <
john.mailinglists at gmail.com> wrote:

> This attribute is used to ensure the guard page is triggered on stack
> overflow. Stack frames larger than the guard page size will generate a call
> to __probestack to touch each page so the guard page won't be skipped.
>
> http://reviews.llvm.org/D4717
>
> Files:
>   docs/LangRef.rst
>   include/llvm-c/Core.h
>   include/llvm/Bitcode/LLVMBitCodes.h
>   include/llvm/IR/Attributes.h
>   lib/AsmParser/LLLexer.cpp
>   lib/AsmParser/LLParser.cpp
>   lib/AsmParser/LLToken.h
>   lib/Bitcode/Reader/BitcodeReader.cpp
>   lib/Bitcode/Writer/BitcodeWriter.cpp
>   lib/IR/Attributes.cpp
>   lib/IR/Verifier.cpp
>   lib/Target/CppBackend/CPPBackend.cpp
>   lib/Target/X86/X86FrameLowering.cpp
>   lib/Transforms/IPO/Inliner.cpp
>   test/Bitcode/attributes.ll
>   test/CodeGen/X86/stack-probes.ll
>   utils/kate/llvm.xml
>   utils/vim/llvm.vim
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140730/f3abe991/attachment.html>


More information about the llvm-commits mailing list