[StackSafety] Add pass for StackLifetime testing
authorVitaly Buka <vitalybuka@google.com>
Wed, 17 Jun 2020 11:09:58 +0000 (04:09 -0700)
committerVitaly Buka <vitalybuka@google.com>
Thu, 18 Jun 2020 23:34:18 +0000 (16:34 -0700)
commitf672791e08fc819fd23f6331025570e24773ea82
treec0c8c39753e5d531891eb4d277640303537be7f4
parent3008609d4509c3efc577c0ccbe9d80a8a2eef31a
[StackSafety] Add pass for StackLifetime testing

Summary: lifetime.ll is a copy of SafeStack/X86/coloring2.ll

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: hiraditya, mgrang, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82043
llvm/include/llvm/Analysis/StackLifetime.h
llvm/lib/Analysis/StackLifetime.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/Analysis/StackSafetyAnalysis/lifetime.ll [new file with mode: 0644]