opnsense-src/include/lldb/API/SBInstructionList.h
Ed Maste f034231a6a Import lldb as of SVN r188801
(A number of files not required for the FreeBSD build have been removed.)

Sponsored by:	DARPA, AFRL
2013-08-23 17:46:38 +00:00

71 lines
1.3 KiB
C++

//===-- SBInstructionList.h -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_SBInstructionList_h_
#define LLDB_SBInstructionList_h_
#include "lldb/API/SBDefines.h"
#include <stdio.h>
namespace lldb {
class SBInstructionList
{
public:
SBInstructionList ();
SBInstructionList (const SBInstructionList &rhs);
const SBInstructionList &
operator = (const SBInstructionList &rhs);
~SBInstructionList ();
bool
IsValid () const;
size_t
GetSize ();
lldb::SBInstruction
GetInstructionAtIndex (uint32_t idx);
void
Clear ();
void
AppendInstruction (lldb::SBInstruction inst);
void
Print (FILE *out);
bool
GetDescription (lldb::SBStream &description);
bool
DumpEmulationForAllInstructions (const char *triple);
protected:
friend class SBFunction;
friend class SBSymbol;
friend class SBTarget;
void
SetDisassembler (const lldb::DisassemblerSP &opaque_sp);
private:
lldb::DisassemblerSP m_opaque_sp;
};
} // namespace lldb
#endif // LLDB_SBInstructionList_h_