summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-07-13 01:00:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-07-13 01:00:17 +0000
commit12c74dc2c2ee306f60fb39a9b2a43000e23addcc (patch)
tree1a4a03195d8312595fa1479be4618bafdffe86ab /include/llvm/CodeGen
parent1dedabdfad8f3412256e706905b9b3b69aa2e17a (diff)
downloadllvm-12c74dc2c2ee306f60fb39a9b2a43000e23addcc.tar.gz
llvm-12c74dc2c2ee306f60fb39a9b2a43000e23addcc.tar.bz2
llvm-12c74dc2c2ee306f60fb39a9b2a43000e23addcc.tar.xz
Revert commit r186217 -- this is breaking bots:
http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/4328 Original commit log: Use the function attributes to pass along the stack protector buffer size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/CommandFlags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/CommandFlags.h b/include/llvm/CodeGen/CommandFlags.h
index fd1d67bdcd..9a27661b51 100644
--- a/include/llvm/CodeGen/CommandFlags.h
+++ b/include/llvm/CodeGen/CommandFlags.h
@@ -220,4 +220,8 @@ cl::opt<std::string> StartAfter("start-after",
cl::value_desc("pass-name"),
cl::init(""));
+cl::opt<unsigned>
+SSPBufferSize("stack-protector-buffer-size", cl::init(8),
+ cl::desc("Lower bound for a buffer to be considered for "
+ "stack protection"));
#endif