[PATCH] Add a stackprobe attribute

John Kåre Alsaker john.mailinglists at gmail.com
Tue Jul 29 22:35:38 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4717.12010.patch
Type: text/x-patch
Size: 15521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140730/8a71d0d2/attachment.bin>


More information about the llvm-commits mailing list