LLDB mainline
Public Member Functions | Private Attributes | List of all members
InstructionLLVMC::DisassemblerScope Class Reference

Grants exclusive access to the disassembler and initializes it with the given InstructionLLVMC and an optional ExecutionContext. More...

Public Member Functions

 DisassemblerScope (InstructionLLVMC &i, const lldb_private::ExecutionContext *exe_ctx=nullptr)
 
 ~DisassemblerScope ()
 
 operator bool () const
 Evaluates to true if this scope contains a valid disassembler.
 
std::shared_ptr< DisassemblerLLVMCoperator-> ()
 

Private Attributes

std::shared_ptr< DisassemblerLLVMCm_disasm
 

Detailed Description

Grants exclusive access to the disassembler and initializes it with the given InstructionLLVMC and an optional ExecutionContext.

Definition at line 702 of file DisassemblerLLVMC.cpp.

Constructor & Destructor Documentation

◆ DisassemblerScope()

InstructionLLVMC::DisassemblerScope::DisassemblerScope ( InstructionLLVMC i,
const lldb_private::ExecutionContext exe_ctx = nullptr 
)
inlineexplicit

Definition at line 706 of file DisassemblerLLVMC.cpp.

References m_disasm.

◆ ~DisassemblerScope()

InstructionLLVMC::DisassemblerScope::~DisassemblerScope ( )
inline

Definition at line 714 of file DisassemblerLLVMC.cpp.

References m_disasm.

Member Function Documentation

◆ operator bool()

InstructionLLVMC::DisassemblerScope::operator bool ( ) const
inline

Evaluates to true if this scope contains a valid disassembler.

Definition at line 717 of file DisassemblerLLVMC.cpp.

References m_disasm.

◆ operator->()

std::shared_ptr< DisassemblerLLVMC > InstructionLLVMC::DisassemblerScope::operator-> ( )
inline

Definition at line 719 of file DisassemblerLLVMC.cpp.

References m_disasm.

Member Data Documentation

◆ m_disasm

std::shared_ptr<DisassemblerLLVMC> InstructionLLVMC::DisassemblerScope::m_disasm
private

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