LLDB mainline
FormatterBytecode.h File Reference
#include "lldb/DataFormatters/TypeSummary.h"
#include "lldb/Symbol/CompilerType.h"
#include "FormatterBytecode.def"

Go to the source code of this file.

Classes

struct  lldb_private::FormatterBytecode::DataStack

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
namespace  lldb_private::FormatterBytecode

Macros

#define DEFINE_OPCODE(OP, MNEMONIC, NAME)
#define DEFINE_SELECTOR(ID, NAME)
#define DEFINE_SIGNATURE(ID, NAME)
#define DEFINE_SELECTOR(ID, NAME)
#define DEFINE_OPCODE(OP, MNEMONIC, NAME)
#define DEFINE_SIGNATURE(ID, NAME)
#define DEFINE_SIGNATURE(ID, NAME)
#define DEFINE_OPCODE(OP, MNEMONIC, NAME)
#define DEFINE_SELECTOR(ID, NAME)

Typedefs

using lldb_private::FormatterBytecode::ControlStackElement = llvm::StringRef
using lldb_private::FormatterBytecode::DataStackElement

Enumerations

enum  lldb_private::FormatterBytecode::DataType : uint8_t {
  lldb_private::FormatterBytecode::Any , lldb_private::FormatterBytecode::String , lldb_private::FormatterBytecode::Int , lldb_private::FormatterBytecode::UInt ,
  lldb_private::FormatterBytecode::Object , lldb_private::FormatterBytecode::Type , lldb_private::FormatterBytecode::Selector
}
enum  lldb_private::FormatterBytecode::OpCodes : uint8_t
enum  lldb_private::FormatterBytecode::Selectors : uint8_t
enum  lldb_private::FormatterBytecode::Signatures : uint8_t

Functions

llvm::Error lldb_private::FormatterBytecode::Interpret (std::vector< ControlStackElement > &control, DataStack &data, Selectors sel)
std::string lldb_private::toString (FormatterBytecode::OpCodes op)
std::string lldb_private::toString (FormatterBytecode::Selectors sel)
std::string lldb_private::toString (FormatterBytecode::Signatures sig)

Macro Definition Documentation

◆ DEFINE_OPCODE [1/3]

#define DEFINE_OPCODE ( OP,
MNEMONIC,
NAME )

Definition at line 19 of file FormatterBytecode.h.

◆ DEFINE_OPCODE [2/3]

#define DEFINE_OPCODE ( OP,
MNEMONIC,
NAME )

Definition at line 19 of file FormatterBytecode.h.

◆ DEFINE_OPCODE [3/3]

#define DEFINE_OPCODE ( OP,
MNEMONIC,
NAME )
Value:
op_##NAME = OP,

Definition at line 19 of file FormatterBytecode.h.

◆ DEFINE_SELECTOR [1/3]

#define DEFINE_SELECTOR ( ID,
NAME )

Definition at line 33 of file FormatterBytecode.h.

◆ DEFINE_SELECTOR [2/3]

#define DEFINE_SELECTOR ( ID,
NAME )

Definition at line 33 of file FormatterBytecode.h.

◆ DEFINE_SELECTOR [3/3]

#define DEFINE_SELECTOR ( ID,
NAME )
Value:
sel_##NAME = ID,
static char ID

Definition at line 33 of file FormatterBytecode.h.

◆ DEFINE_SIGNATURE [1/3]

#define DEFINE_SIGNATURE ( ID,
NAME )

Definition at line 36 of file FormatterBytecode.h.

◆ DEFINE_SIGNATURE [2/3]

#define DEFINE_SIGNATURE ( ID,
NAME )

Definition at line 36 of file FormatterBytecode.h.

◆ DEFINE_SIGNATURE [3/3]

#define DEFINE_SIGNATURE ( ID,
NAME )
Value:
sig_##NAME = ID,

Definition at line 36 of file FormatterBytecode.h.