diff options
author | Adam Balogh <adam.balogh@ericsson.com> | 2019-08-29 09:35:47 +0000 |
---|---|---|
committer | Adam Balogh <adam.balogh@ericsson.com> | 2019-08-29 09:35:47 +0000 |
commit | 12f5c7f0c3b00c08c2f2a6cdfeb532ccb5cca6d7 (patch) | |
tree | c9b80e51cd63fb93694990142e303b5f53e8836c /lldb/packages/Python/lldbsuite/test | |
parent | 7ba81d95d5c07542f13ec21ded8056042aa7df3a (diff) | |
download | bcm5719-llvm-12f5c7f0c3b00c08c2f2a6cdfeb532ccb5cca6d7.tar.gz bcm5719-llvm-12f5c7f0c3b00c08c2f2a6cdfeb532ccb5cca6d7.zip |
[Analyzer] Iterator Checkers - Make range errors and invalidated access fatal
Range errors (dereferencing or incrementing the past-the-end iterator or
decrementing the iterator of the first element of the range) and access of
invalidated iterators lead to undefined behavior. There is no point to
continue the analysis after such an error on the same execution path, but
terminate it by a sink node (fatal error). This also improves the
performance and helps avoiding double reports (e.g. in case of nested
iterators).
Differential Revision: https://reviews.llvm.org/D62893
llvm-svn: 370314
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions