summaryrefslogtreecommitdiffstats
path: root/tools/opt
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 /tools/opt
parent1dedabdfad8f3412256e706905b9b3b69aa2e17a (diff)
downloadexternal_llvm-12c74dc2c2ee306f60fb39a9b2a43000e23addcc.zip
external_llvm-12c74dc2c2ee306f60fb39a9b2a43000e23addcc.tar.gz
external_llvm-12c74dc2c2ee306f60fb39a9b2a43000e23addcc.tar.bz2
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 'tools/opt')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index fa1cd43..6fc8d67 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -510,6 +510,7 @@ static TargetOptions GetTargetOptions() {
Options.PositionIndependentExecutable = EnablePIE;
Options.EnableSegmentedStacks = SegmentedStacks;
Options.UseInitArray = UseInitArray;
+ Options.SSPBufferSize = SSPBufferSize;
return Options;
}