summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-01-27 16:53:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-01-27 16:53:42 +0000
commit390c33cd18824422585c6db9666e1422d68673b0 (patch)
tree9c03e54f6ec5509ae86290de8daf1c6e0ba3b45d /llvm/lib/CodeGen/CodeGen.cpp
parenta73a0cfaf4df392aaf42ca0f16732581035d7966 (diff)
downloadbcm5719-llvm-390c33cd18824422585c6db9666e1422d68673b0.tar.gz
bcm5719-llvm-390c33cd18824422585c6db9666e1422d68673b0.zip
Move SafeStack to CodeGen.
It depends on the target machinery, that's not available for instrumentation passes. llvm-svn: 258942
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index dc13b5b11d3..3c2dc85df59 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -68,6 +68,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeStackColoringPass(Registry);
initializeStackMapLivenessPass(Registry);
initializeLiveDebugValuesPass(Registry);
+ initializeSafeStackPass(Registry);
initializeStackProtectorPass(Registry);
initializeStackSlotColoringPass(Registry);
initializeTailDuplicatePassPass(Registry);
OpenPOWER on IntegriCloud