diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-05-10 00:39:22 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-05-10 00:39:22 +0000 |
commit | 00d68222783a1592f3bf9d55b9a1f8f7b8e42733 (patch) | |
tree | 7afacd54cf98b4cdb0a2ce88595fbb22ce8d47ab /llvm/tools/opt/opt.cpp | |
parent | bcb79e638652dc3285e0c786d729e26f1dd2cdb7 (diff) | |
download | bcm5719-llvm-00d68222783a1592f3bf9d55b9a1f8f7b8e42733.tar.gz bcm5719-llvm-00d68222783a1592f3bf9d55b9a1f8f7b8e42733.zip |
[CodeGen] Split SafeStack into a LegacyPass and a utility. NFC.
This lets the pass focus on gathering the required analyzes, and the
utility class focus on the transformation.
Differential Revision: https://reviews.llvm.org/D31303
llvm-svn: 302609
Diffstat (limited to 'llvm/tools/opt/opt.cpp')
-rw-r--r-- | llvm/tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 40459e55998..0b584d45b28 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/tools/opt/opt.cpp @@ -390,7 +390,7 @@ int main(int argc, char **argv) { initializeRewriteSymbolsLegacyPassPass(Registry); initializeWinEHPreparePass(Registry); initializeDwarfEHPreparePass(Registry); - initializeSafeStackPass(Registry); + initializeSafeStackLegacyPassPass(Registry); initializeSjLjEHPreparePass(Registry); initializePreISelIntrinsicLoweringLegacyPassPass(Registry); initializeGlobalMergePass(Registry); |