diff options
author | Reid Kleckner <rnk@google.com> | 2018-12-21 19:59:03 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-12-21 19:59:03 +0000 |
commit | 84a2d2968107644634cad98733dcda31f1a4857b (patch) | |
tree | bc9d3df168333b8eac064d6e83a167d5ea0de0ac /lldb/packages/Python/lldbsuite/test/functionalities/thread/num_threads | |
parent | 18be3cb6064070ef712291111c3275c1f04b6446 (diff) | |
download | bcm5719-llvm-84a2d2968107644634cad98733dcda31f1a4857b.tar.gz bcm5719-llvm-84a2d2968107644634cad98733dcda31f1a4857b.zip |
[BasicAA] Fix AA bug on dynamic allocas and stackrestore
Summary:
BasicAA has special logic for unescaped allocas, which normally applies
equally well to dynamic and static allocas. However, llvm.stackrestore
has the power to end the lifetime of dynamic allocas, without referring
to them directly.
stackrestore is already marked with the most conservative memory
modification attributes, but because the alloca is not escaped, the
normal logic produces incorrect results. I think BasicAA needs a special
case here to teach it about the relationship between dynamic allocas and
stackrestore.
Fixes PR40118
Reviewers: gbiv, efriedma, george.burgess.iv
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D55969
llvm-svn: 349945
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/thread/num_threads')
0 files changed, 0 insertions, 0 deletions