aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/CodeGenOptions.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-21 16:16:06 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-21 16:16:06 +0000
commita7afeb040416c0eaac19b92db914913a788044f5 (patch)
tree4baf595ec629f9c340df9055ec6641ba21121653 /include/clang/Frontend/CodeGenOptions.h
parent05c5ebc9bafe5613204eefb59a47ab878e4fbd0b (diff)
[driver] Add support for the --param ssp-buffer-size= driver option.
PR9673 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CodeGenOptions.h')
-rw-r--r--include/clang/Frontend/CodeGenOptions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.h b/include/clang/Frontend/CodeGenOptions.h
index 3e34093352..8610b8a89b 100644
--- a/include/clang/Frontend/CodeGenOptions.h
+++ b/include/clang/Frontend/CodeGenOptions.h
@@ -185,6 +185,9 @@ public:
/// The run-time penalty for bounds checking, or 0 to disable.
unsigned char BoundsChecking;
+ /// The lower bound for a buffer to be considered for stack protection.
+ unsigned SSPBufferSize;
+
/// The default TLS model to use.
TLSModel DefaultTLSModel;
@@ -241,6 +244,7 @@ public:
StackRealignment = 0;
StackAlignment = 0;
BoundsChecking = 0;
+ SSPBufferSize = 8;
UseInitArray = 0;
DebugInfo = NoDebugInfo;