Skip to content
Commit 493b526b authored by Johnny Chen's avatar Johnny Chen
Browse files

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment