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;
30typedef llvm::sys::DynamicLibrary (*LoadPluginCallbackType)(
31 const lldb::DebuggerSP &debugger_sp,
const FileSpec &spec,
Status &
error);
66 llvm::ArrayRef<uint8_t> data(
const uint8_t *context_base)
const {
67 return llvm::ArrayRef<uint8_t>(context_base + byte_offset, byte_size);
70 llvm::MutableArrayRef<uint8_t> mutable_data(uint8_t *context_base)
const {
71 return llvm::MutableArrayRef<uint8_t>(context_base + byte_offset,
75static_assert(std::is_trivial<RegisterInfo>::value,
76 "RegisterInfo must be trivial.");
83 const char *short_name;
94struct OptionEnumValueElement {
96 const char *string_value;
100using OptionEnumValues = llvm::ArrayRef<OptionEnumValueElement>;
104 virtual bool IsValid(Platform &platform,
105 const ExecutionContext &target)
const = 0;
106 virtual const char *ShortConditionString()
const = 0;
107 virtual const char *LongConditionString()
const = 0;
110typedef struct type128 { uint64_t x[2]; } type128;
111typedef struct type256 { uint64_t x[4]; } type256;
116using ValueObjectProviderTy =
117 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.