projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Insert random noops to increase security against ROP attacks (llvm)"
[oota-llvm.git]
/
lib
/
CodeGen
/
Passes.cpp
diff --git
a/lib/CodeGen/Passes.cpp
b/lib/CodeGen/Passes.cpp
index a5d32103d7ca567421069c45f59d8f241514f694..28e9f847a9d746dee460e8ab0c0e70da4d0a4ba6 100644
(file)
--- a/
lib/CodeGen/Passes.cpp
+++ b/
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();