Files
clang-p2996/lldb/test
Johnny Chen b2e1a5c998 Add a utility function smart_iter() which has knowledge of the getsize and the getelem
method names of all the lldb container objects and returns an iterator object when
passed an eligible lldb container object.

Example:

    from lldb_util import smart_iter
    for thread in smart_iter(process):
        ID = thread.GetThreadID()
        if thread.GetStopReason() == lldb.eStopReasonBreakpoint:
            stopped_due_to_breakpoint = True
        for frame in smart_iter(thread):
            self.assertTrue(frame.GetThread().GetThreadID() == ID)
        ...

Add a test case for lldb.smart_iter().

llvm-svn: 130332
2011-04-27 21:44:09 +00:00
..
2010-10-05 00:08:08 +00:00
2010-08-24 20:54:26 +00:00
2011-01-14 21:55:29 +00:00
2011-02-11 00:07:26 +00:00
2011-04-19 22:32:57 +00:00
2011-04-20 22:01:48 +00:00
2011-04-26 23:10:51 +00:00