diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-27 16:53:42 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-01-27 16:53:42 +0000 |
commit | 390c33cd18824422585c6db9666e1422d68673b0 (patch) | |
tree | 9c03e54f6ec5509ae86290de8daf1c6e0ba3b45d /llvm/lib/CodeGen/CodeGen.cpp | |
parent | a73a0cfaf4df392aaf42ca0f16732581035d7966 (diff) | |
download | bcm5719-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.cpp | 1 |
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); |