LLDB mainline
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
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)   op_##NAME = OP,
 
#define DEFINE_SELECTOR(ID, NAME)   sel_##NAME = ID,
 
#define DEFINE_SIGNATURE(ID, NAME)   sig_##NAME = ID,
 

Typedefs

using lldb_private::FormatterBytecode::ControlStackElement = llvm::StringRef
 
using lldb_private::FormatterBytecode::DataStackElement = std::variant< std::string, uint64_t, int64_t, lldb::ValueObjectSP, CompilerType, Selectors >
 

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

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

Definition at line 19 of file FormatterBytecode.h.

◆ DEFINE_SELECTOR

#define DEFINE_SELECTOR (   ID,
  NAME 
)    sel_##NAME = ID,

Definition at line 25 of file FormatterBytecode.h.

◆ DEFINE_SIGNATURE

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

Definition at line 31 of file FormatterBytecode.h.