Example #1
0
bool
SBInstruction::TestEmulation (lldb::SBStream &output_stream,  const char *test_file)
{
    if (!m_opaque_sp.get())
        m_opaque_sp.reset (new PseudoInstruction());
        
    return m_opaque_sp->TestEmulation (output_stream.get(), test_file);
}
bool SBThreadPlan::GetDescription(lldb::SBStream &description) const {
  if (m_opaque_sp) {
    m_opaque_sp->GetDescription(description.get(), eDescriptionLevelFull);
  } else {
    description.Printf("Empty SBThreadPlan");
  }
  return true;
}
Example #3
0
bool
SBInstruction::TestEmulation (lldb::SBStream &output_stream, const char *test_file)
{
    if (!m_opaque_sp)
        SetOpaque(lldb::DisassemblerSP(), lldb::InstructionSP(new PseudoInstruction()));

    lldb::InstructionSP inst_sp(GetOpaque());
    if (inst_sp)
        return inst_sp->TestEmulation (output_stream.get(), test_file);
    return false;
}