Simplify the generator adaptor to a Python function instead of a class definition,
with the function name 'lldb_iter'. Example:
def disassemble_instructions (insts):
from lldbutil import lldb_iter
for i in lldb_iter(insts, 'GetSize', 'GetInstructionAtIndex'):
print i
llvm-svn: 116171
parent
f8f7537a
Please register or sign in to comment