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 | 756714d0def21098018a7dcdbcc1e2c2049fb888 (patch) | |
tree | 3d7bcdd8445c46ecea0946afff41b8b5913eef74 /tools/opt | |
parent | 5de619e49adf29bfe8e5e3d520be56fdd4eaeb76 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 40459e55998..0b584d45b28 100644 --- a/tools/opt/opt.cpp +++ b/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); |