summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Passes.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-01-14 05:24:33 +0000
committerJF Bastien <jfb@google.com>2015-01-14 05:24:33 +0000
commiteeea8970b4b12b5493d603ceff960e4b19296c1f (patch)
treee30fa1f843360c8d3ff56cff381809f7962d7851 /llvm/lib/CodeGen/Passes.cpp
parentc7af264486c3039bfbdcbbc027ba3e3b2b3f37d2 (diff)
downloadbcm5719-llvm-eeea8970b4b12b5493d603ceff960e4b19296c1f.tar.gz
bcm5719-llvm-eeea8970b4b12b5493d603ceff960e4b19296c1f.zip
Revert "Insert random noops to increase security against ROP attacks (llvm)"
This reverts commit: http://reviews.llvm.org/D3392 llvm-svn: 225948
Diffstat (limited to 'llvm/lib/CodeGen/Passes.cpp')
-rw-r--r--llvm/lib/CodeGen/Passes.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp
index a5d32103d7c..28e9f847a9d 100644
--- a/llvm/lib/CodeGen/Passes.cpp
+++ b/llvm/lib/CodeGen/Passes.cpp
@@ -583,9 +583,6 @@ void TargetPassConfig::addMachinePasses() {
addPass(createGCInfoPrinter(dbgs()), false, false);
}
- if (TM->Options.NoopInsertion)
- addPass(&NoopInsertionID);
-
// Basic block placement.
if (getOptLevel() != CodeGenOpt::None)
addBlockPlacement();
OpenPOWER on IntegriCloud