diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-11-07 01:55:53 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2015-11-07 01:55:53 +0000 |
commit | 436e2397f8ce4802793c27dac37b88427bc52c90 (patch) | |
tree | 4eba744c8aa6abda88c5c716f7380bb20889f19b /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 906c872db9344ce483282938f83ee5d4a262f3e6 (diff) | |
download | bcm5719-llvm-436e2397f8ce4802793c27dac37b88427bc52c90.tar.gz bcm5719-llvm-436e2397f8ce4802793c27dac37b88427bc52c90.zip |
[FunctionAttrs] Fix an iterator wraparound bug
Summary:
This change fixes an iterator wraparound bug in
`determinePointerReadAttrs`.
Ideally, ++'ing off the `end()` of an iplist should result in a failed
assert, but currently iplist seems to silently wrap to the head of the
list on `end()++`. This is why the bad behavior is difficult to
demonstrate.
Reviewers: chandlerc, reames
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D14350
llvm-svn: 252386
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions