commit | 758db9690ae3d2f65fc5e6ef177581ae8d75221d | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Thu Aug 11 01:19:46 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Thu Aug 11 01:19:46 2011 +0000 |
tree | 5711b434ef3b9fce424f20949ac7a9561a772aa7 | |
parent | d96c9e88f80b8856aa76b7e7dd41acdf2bec202e [diff] |
Add logic to SBValue.linked_list_iter() to detect infinite loop and to bail out early. Add code to test case to create an evil linked list with: task_evil -> task_2 -> task_3 -> task_evil ... and to check that the linked list iterator only iterates 3 times. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137291 91177308-0d34-0410-b5e6-96231b3b80d8