summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-07-12 22:26:07 +0000
committerBill Wendling <isanbard@gmail.com>2013-07-12 22:26:07 +0000
commit8d230b454fa3a0d4fd87453e24c88219ef5ad14a (patch)
treed55a3176a15961e40bea87a22d21c5447648e29c /lib/CodeGen/BackendUtil.cpp
parentc1b8d095c18c3f55d662c49e59f7a934ae7e9440 (diff)
downloadclang-8d230b454fa3a0d4fd87453e24c88219ef5ad14a.tar.gz
clang-8d230b454fa3a0d4fd87453e24c88219ef5ad14a.tar.bz2
clang-8d230b454fa3a0d4fd87453e24c88219ef5ad14a.tar.xz
Use function attributes to pass along the stack protector buffer size instead of making it a target option.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
-rw-r--r--lib/CodeGen/BackendUtil.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp
index e3a44f982d..04355e252e 100644
--- a/lib/CodeGen/BackendUtil.cpp
+++ b/lib/CodeGen/BackendUtil.cpp
@@ -458,7 +458,6 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
Options.DisableTailCalls = CodeGenOpts.DisableTailCalls;
Options.TrapFuncName = CodeGenOpts.TrapFuncName;
Options.PositionIndependentExecutable = LangOpts.PIELevel != 0;
- Options.SSPBufferSize = CodeGenOpts.SSPBufferSize;
Options.EnableSegmentedStacks = CodeGenOpts.EnableSegmentedStacks;
TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU,