SBInstruction SBInstructionList::GetInstructionAtIndex (uint32_t idx) { SBInstruction inst; if (m_opaque_sp && idx < m_opaque_sp->GetInstructionList().GetSize()) inst.SetOpaque (m_opaque_sp->GetInstructionList().GetInstructionAtIndex (idx)); return inst; }
SBInstruction SBInstructionList::GetInstructionAtIndex(uint32_t idx) { LLDB_RECORD_METHOD(lldb::SBInstruction, SBInstructionList, GetInstructionAtIndex, (uint32_t), idx); SBInstruction inst; if (m_opaque_sp && idx < m_opaque_sp->GetInstructionList().GetSize()) inst.SetOpaque( m_opaque_sp, m_opaque_sp->GetInstructionList().GetInstructionAtIndex(idx)); return LLDB_RECORD_RESULT(inst); }