summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-01-14 05:24:11 +0000
committerJF Bastien <jfb@google.com>2015-01-14 05:24:11 +0000
commit21f4ef7237c48b88f311ae294c554769c327e015 (patch)
tree73f6cb55b5e2c8f7c94911fbf9a3abbdcefd652e /lib/CodeGen/BackendUtil.cpp
parentf53640dd1f842d3c0352b339ded695cb1ae49f07 (diff)
Revert "Insert random noops to increase security against ROP attacks (clang)"
This reverts commit: http://reviews.llvm.org/D3393 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225947 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 ef857ce7c9..25ecec5862 100644
--- a/lib/CodeGen/BackendUtil.cpp
+++ b/lib/CodeGen/BackendUtil.cpp
@@ -519,7 +519,6 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
Options.PositionIndependentExecutable = LangOpts.PIELevel != 0;
Options.FunctionSections = CodeGenOpts.FunctionSections;
Options.DataSections = CodeGenOpts.DataSections;
- Options.NoopInsertion = CodeGenOpts.NoopInsertion;
Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll;
Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels;