LLDB mainline
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 709 of file DisassemblerLLVMC.cpp.

Constructor & Destructor Documentation

◆ DisassemblerScope()

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

◆ ~DisassemblerScope()

InstructionLLVMC::DisassemblerScope::~DisassemblerScope ( )
inline

Definition at line 721 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 724 of file DisassemblerLLVMC.cpp.

References m_disasm.

◆ operator->()

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

Definition at line 726 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: