diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-10 20:25:10 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-10 20:25:10 +0000 |
commit | 493b526bf71221e5fa94f82625bcffa8dcb78c1f (patch) | |
tree | 6bbb372a2a7d6a6aa4820de72758f875894f70ba /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | f8f7537a77088cfa55a3827d805b90e14c401c8f (diff) | |
download | llvm-493b526bf71221e5fa94f82625bcffa8dcb78c1f.zip llvm-493b526bf71221e5fa94f82625bcffa8dcb78c1f.tar.gz llvm-493b526bf71221e5fa94f82625bcffa8dcb78c1f.tar.bz2 |
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions