[StackSafety] Add StackLifetime::isAliveAfter
authorVitaly Buka <vitalybuka@google.com>
Fri, 12 Jun 2020 21:10:47 +0000 (14:10 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 19 Jun 2020 09:32:17 +0000 (02:32 -0700)
commitf224f3d0f2b8a66ee13a26b7075e1b93bcb97dc0
tree10d17e281177e9139969c4af4fd8f617d658ba90
parent306c257b00ba4a6ef81d25897c6a05f30a9b8b2b
[StackSafety] Add StackLifetime::isAliveAfter

This function is going to be added into StackSafety checks.
This patch uses function in ::print implementation to make sure
that it works as expected.
llvm/include/llvm/Analysis/StackLifetime.h
llvm/lib/Analysis/StackLifetime.cpp