9#ifndef LLDB_LLDB_PRIVATE_TYPES_H
10#define LLDB_LLDB_PRIVATE_TYPES_H
12#if defined(__cplusplus)
16#include "llvm/ADT/ArrayRef.h"
28class ExecutionContext;
31typedef llvm::sys::DynamicLibrary (*LoadPluginCallbackType)(
32 const lldb::DebuggerSP &debugger_sp,
const FileSpec &spec,
Status &
error);
67 const RegisterFlags *flags_type;
69 llvm::ArrayRef<uint8_t> data(
const uint8_t *context_base)
const {
70 return llvm::ArrayRef<uint8_t>(context_base + byte_offset, byte_size);
73 llvm::MutableArrayRef<uint8_t> mutable_data(uint8_t *context_base)
const {
74 return llvm::MutableArrayRef<uint8_t>(context_base + byte_offset,
78static_assert(std::is_trivial<RegisterInfo>::value,
79 "RegisterInfo must be trivial.");
86 const char *short_name;
97struct OptionEnumValueElement {
99 const char *string_value;
103using OptionEnumValues = llvm::ArrayRef<OptionEnumValueElement>;
107 virtual bool IsValid(Platform &platform,
108 const ExecutionContext &target)
const = 0;
109 virtual const char *ShortConditionString()
const = 0;
110 virtual const char *LongConditionString()
const = 0;
113typedef struct type128 { uint64_t x[2]; } type128;
114typedef struct type256 { uint64_t x[4]; } type256;
119using ValueObjectProviderTy =
120 std::function<lldb::ValueObjectSP(ConstString, StackFrame *)>;
static llvm::raw_ostream & error(Stream &strm)
A class that represents a running process on the host machine.
Format
Display format definitions.
Encoding
Register encoding definitions.