diff options
author | Henry Wong <movietravelcode@outlook.com> | 2018-03-20 09:27:02 +0000 |
---|---|---|
committer | Henry Wong <movietravelcode@outlook.com> | 2018-03-20 09:27:02 +0000 |
commit | 073d5f023c19f3930ef0a5f0c931e1867331d970 (patch) | |
tree | 13784245a035a4617ab04be8219bd6f2184f6a88 /lldb/packages/Python/lldbsuite/test/lldbpexpect.py | |
parent | bf3213e48517f8d6a5123903542d807ef21c0a17 (diff) | |
download | llvm-073d5f023c19f3930ef0a5f0c931e1867331d970.zip llvm-073d5f023c19f3930ef0a5f0c931e1867331d970.tar.gz llvm-073d5f023c19f3930ef0a5f0c931e1867331d970.tar.bz2 |
[analyzer] Fix the crash in IteratorChecker.cpp when 'SymbolConjured' has a null Stmt.
When the loop has a null terminator statement and sets 'widen-loops=true', 'invalidateRegions' will constructs the 'SymbolConjured' with null 'Stmt'. And this will lead to a crash in 'IteratorChecker.cpp'. This patch use 'dyn_cast_or_null<>' instead of 'dyn_cast<>' in IteratorChecker.cpp.
Differential Revision: https://reviews.llvm.org/D44606
llvm-svn: 327962
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbpexpect.py')
0 files changed, 0 insertions, 0 deletions