summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter
diff options
context:
space:
mode:
authorKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>2018-05-30 15:56:46 +0000
committerKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>2018-05-30 15:56:46 +0000
commitebaaa2ddae28edd5a29eeec3a7eb927da11f4fb6 (patch)
tree5ca58ec0c17385a463e37149cb7e6bcabf92134b /lldb/packages/Python/lldbsuite/test/python_api/interpreter
parent1054541490dbb538fe67408598e93b5494ba7b25 (diff)
downloadbcm5719-llvm-ebaaa2ddae28edd5a29eeec3a7eb927da11f4fb6.tar.gz
bcm5719-llvm-ebaaa2ddae28edd5a29eeec3a7eb927da11f4fb6.zip
[ValueTracking] Fix endless recursion in isKnownNonZero()
Summary: The isKnownNonZero() function have checks that abort the recursion when it reaches the specified max depth. However one of the recursive calls was placed before the max depth check was done, resulting in a endless recursion that eventually triggered a segmentation fault. Fixed the problem by moving the max depth check above the first recursive call. Reviewers: Prazek, nlopes, spatel, craig.topper, hfinkel Reviewed By: hfinkel Subscribers: hfinkel, bjope, llvm-commits Differential Revision: https://reviews.llvm.org/D47531 llvm-svn: 333557
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud