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...

Collaboration diagram for InstructionLLVMC::DisassemblerScope:
Collaboration graph
[legend]

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. More...
 
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 349 of file DisassemblerLLVMC.cpp.

Constructor & Destructor Documentation

◆ DisassemblerScope()

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

Definition at line 353 of file DisassemblerLLVMC.cpp.

◆ ~DisassemblerScope()

InstructionLLVMC::DisassemblerScope::~DisassemblerScope ( )
inline

Definition at line 361 of file DisassemblerLLVMC.cpp.

Member Function Documentation

◆ operator bool()

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

Evaluates to true if this scope contains a valid disassembler.

Definition at line 364 of file DisassemblerLLVMC.cpp.

◆ operator->()

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

Definition at line 366 of file DisassemblerLLVMC.cpp.

Member Data Documentation

◆ m_disasm

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

Definition at line 350 of file DisassemblerLLVMC.cpp.


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