summaryrefslogtreecommitdiffstats
path: root/clang/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
commitc7af264486c3039bfbdcbbc027ba3e3b2b3f37d2 (patch)
tree66fd180774fd88cb9dd2fef19db25a7b291cce89 /clang/lib/CodeGen/BackendUtil.cpp
parent5ab806129318bf0cc6f9a431c988bca29af3c198 (diff)
downloadbcm5719-llvm-c7af264486c3039bfbdcbbc027ba3e3b2b3f37d2.tar.gz
bcm5719-llvm-c7af264486c3039bfbdcbbc027ba3e3b2b3f37d2.zip
Revert "Insert random noops to increase security against ROP attacks (clang)"
This reverts commit: http://reviews.llvm.org/D3393 llvm-svn: 225947
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index ef857ce7c9f..25ecec58624 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud