diff options
author | Brian M. Rzycki <brzycki@gmail.com> | 2018-03-13 18:14:10 +0000 |
---|---|---|
committer | Brian M. Rzycki <brzycki@gmail.com> | 2018-03-13 18:14:10 +0000 |
commit | 252165b27a0c83856a69c74411be63efc06924c8 (patch) | |
tree | fda895bf60306d901e28bb1e6ddb7c75d86365a6 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py | |
parent | a389c84df5e689ce05270040593c3146ae14e4f5 (diff) | |
download | bcm5719-llvm-252165b27a0c83856a69c74411be63efc06924c8.tar.gz bcm5719-llvm-252165b27a0c83856a69c74411be63efc06924c8.zip |
[LazyValueInfo] PR33357 prevent infinite recursion on BinaryOperator
Summary:
It is possible for LVI to encounter instructions that are not in valid
SSA form and reference themselves. One example is the following:
%tmp4 = and i1 %tmp4, undef
Before this patch LVI would recurse until running out of stack memory
and crashed. This patch marks these self-referential instructions as
Overdefined and aborts analysis on the instruction.
Fixes https://bugs.llvm.org/show_bug.cgi?id=33357
Reviewers: craig.topper, anna, efriedma, dberlin, sebpop, kuhar
Reviewed by: dberlin
Subscribers: uabelho, spatel, a.elovikov, fhahn, eli.friedman, mzolotukhin, spop, evandro, davide, llvm-commits
Differential Revision: https://reviews.llvm.org/D34135
llvm-svn: 327432
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions