xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBInstructionListDocstrings.i (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1 %feature("docstring",
2 "Represents a list of machine instructions.  SBFunction and SBSymbol have
3 GetInstructions() methods which return SBInstructionList instances.
4 
5 SBInstructionList supports instruction (:py:class:`SBInstruction` instance) iteration.
6 For example (see also :py:class:`SBDebugger` for a more complete example), ::
7 
8     def disassemble_instructions (insts):
9         for i in insts:
10             print i
11 
12 defines a function which takes an SBInstructionList instance and prints out
13 the machine instructions in assembly format."
14 ) lldb::SBInstructionList;
15