LLDB mainline
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBInstructionList Class Reference

#include <SBInstructionList.h>

Public Member Functions

 SBInstructionList ()
 
 SBInstructionList (const SBInstructionList &rhs)
 
const SBInstructionListoperator= (const SBInstructionList &rhs)
 
 ~SBInstructionList ()
 
 operator bool () const
 
bool IsValid () const
 
size_t GetSize ()
 
lldb::SBInstruction GetInstructionAtIndex (uint32_t idx)
 
size_t GetInstructionsCount (const SBAddress &start, const SBAddress &end, bool canSetBreakpoint=false)
 
void Clear ()
 
void AppendInstruction (lldb::SBInstruction inst)
 
void Print (FILE *out)
 
void Print (SBFile out)
 
void Print (FileSP BORROWED)
 
bool GetDescription (lldb::SBStream &description)
 
bool DumpEmulationForAllInstructions (const char *triple)
 

Protected Member Functions

void SetDisassembler (const lldb::DisassemblerSP &opaque_sp)
 
bool GetDescription (lldb_private::Stream &description)
 

Private Attributes

lldb::DisassemblerSP m_opaque_sp
 

Friends

class SBFunction
 
class SBSymbol
 
class SBTarget
 

Detailed Description

Definition at line 18 of file SBInstructionList.h.

Constructor & Destructor Documentation

◆ SBInstructionList() [1/2]

SBInstructionList::SBInstructionList ( )

Definition at line 24 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBInstructionList() [2/2]

SBInstructionList::SBInstructionList ( const SBInstructionList rhs)

Definition at line 26 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA.

◆ ~SBInstructionList()

SBInstructionList::~SBInstructionList ( )
default

Member Function Documentation

◆ AppendInstruction()

void SBInstructionList::AppendInstruction ( lldb::SBInstruction  inst)

Definition at line 104 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA.

◆ Clear()

void SBInstructionList::Clear ( )

Definition at line 98 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ DumpEmulationForAllInstructions()

bool SBInstructionList::DumpEmulationForAllInstructions ( const char *  triple)

◆ GetDescription() [1/2]

bool SBInstructionList::GetDescription ( lldb::SBStream description)

Definition at line 136 of file SBInstructionList.cpp.

References GetDescription(), LLDB_INSTRUMENT_VA, and lldb::SBStream::ref().

Referenced by GetDescription(), and Print().

◆ GetDescription() [2/2]

bool SBInstructionList::GetDescription ( lldb_private::Stream description)
protected

◆ GetInstructionAtIndex()

SBInstruction SBInstructionList::GetInstructionAtIndex ( uint32_t  idx)

◆ GetInstructionsCount()

size_t SBInstructionList::GetInstructionsCount ( const SBAddress start,
const SBAddress end,
bool  canSetBreakpoint = false 
)

◆ GetSize()

size_t SBInstructionList::GetSize ( )

◆ IsValid()

bool SBInstructionList::IsValid ( ) const

Definition at line 42 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator bool()

SBInstructionList::operator bool ( ) const
explicit

Definition at line 46 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA.

◆ operator=()

const SBInstructionList & SBInstructionList::operator= ( const SBInstructionList rhs)

Definition at line 31 of file SBInstructionList.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_sp.

◆ Print() [1/3]

void SBInstructionList::Print ( FILE *  out)

Definition at line 112 of file SBInstructionList.cpp.

References GetDescription(), and LLDB_INSTRUMENT_VA.

◆ Print() [2/3]

void SBInstructionList::Print ( FileSP  BORROWED)

Definition at line 128 of file SBInstructionList.cpp.

References GetDescription(), and LLDB_INSTRUMENT_VA.

◆ Print() [3/3]

void SBInstructionList::Print ( SBFile  out)

◆ SetDisassembler()

void SBInstructionList::SetDisassembler ( const lldb::DisassemblerSP opaque_sp)
protected

Friends And Related Function Documentation

◆ SBFunction

friend class SBFunction
friend

Definition at line 60 of file SBInstructionList.h.

◆ SBSymbol

friend class SBSymbol
friend

Definition at line 61 of file SBInstructionList.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 62 of file SBInstructionList.h.

Member Data Documentation

◆ m_opaque_sp

lldb::DisassemblerSP lldb::SBInstructionList::m_opaque_sp
private

The documentation for this class was generated from the following files: