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
..
2011-04-25 17:40:47 +00:00
2011-04-21 22:50:23 +00:00
2011-04-22 16:29:23 +00:00
2011-04-27 17:43:07 +00:00
2010-10-05 00:08:08 +00:00
2011-04-27 17:43:07 +00:00
2011-04-18 08:33:37 +00:00
2011-04-19 18:12:47 +00:00
2011-02-02 17:48:16 +00:00
2011-04-25 23:38:13 +00:00
2011-02-04 22:59:41 +00:00
2011-04-27 17:43:07 +00:00
2011-04-27 17:43:07 +00:00
2011-04-22 21:47:07 +00:00
2011-04-21 22:50:23 +00:00
2011-04-25 23:38:13 +00:00
2011-04-22 21:56:22 +00:00
2011-04-25 23:38:13 +00:00
2011-04-18 08:33:37 +00:00
2011-04-18 08:33:37 +00:00
2010-09-01 19:59:58 +00:00
2011-04-27 17:43:07 +00:00
2011-04-18 08:33:37 +00:00
2011-04-27 17:43:07 +00:00
2011-04-18 08:33:37 +00:00
2011-04-18 08:33:37 +00:00
2011-04-27 17:43:07 +00:00
2011-01-07 00:17:44 +00:00
2011-04-27 17:43:07 +00:00
2011-04-18 08:33:37 +00:00
2010-08-24 20:54:26 +00:00
2011-04-18 08:33:37 +00:00
2011-04-21 20:55:57 +00:00
2011-02-08 18:37:49 +00:00
2011-04-18 21:08:05 +00:00
2011-04-18 08:33:37 +00:00
2011-01-14 21:55:29 +00:00
2011-03-04 18:31:00 +00:00
2011-04-27 17:43:07 +00:00
2010-12-17 18:02:08 +00:00
2011-03-11 20:13:06 +00:00
2011-04-01 00:48:40 +00:00
2011-02-11 00:07:26 +00:00
2011-04-19 19:21:19 +00:00
2011-04-27 21:44:09 +00:00
2011-01-07 22:10:25 +00:00
2011-04-18 08:33:37 +00:00
2011-04-19 22:32:36 +00:00
2011-04-18 08:33:37 +00:00
2011-04-18 08:33:37 +00:00
2011-04-20 20:35:59 +00:00
2011-01-21 18:23:16 +00:00
2011-04-19 22:32:57 +00:00
2011-04-20 22:01:48 +00:00
2011-02-04 22:59:41 +00:00
2011-04-18 21:08:05 +00:00
2011-03-23 20:28:59 +00:00
2011-04-18 08:33:37 +00:00
2010-08-05 23:42:46 +00:00
2011-04-18 08:33:37 +00:00
2011-01-08 01:37:33 +00:00
2011-04-26 23:10:51 +00:00
2011-04-27 17:43:07 +00:00
2011-04-27 21:44:09 +00:00
2011-01-19 19:48:29 +00:00