LLDB mainline
lldb_private::AcceleratorDynamicLoaderLibraryInfo Struct Reference

#include <AcceleratorGDBRemotePackets.h>

Public Attributes

std::string pathname
 Path to the object file, or a unique name identifying the module in the target when it has no file on disk.
std::optional< std::string > uuid_str
 UUID of the object file, when the plugin knows it.
bool load = true
 False means unload.
std::optional< uint64_t > load_address
 Slides the whole object file.
std::vector< AcceleratorSectionInfoloaded_sections
 Used when sections load at independent addresses.
std::optional< uint64_t > native_memory_address
 Where the image can be read in the native process, meaning the host process driving the accelerator, not the accelerator itself.
std::optional< uint64_t > native_memory_size
std::optional< uint64_t > file_offset
 Slice of pathname holding the object file, when embedded in a container.
std::optional< uint64_t > file_size

Detailed Description

Definition at line 183 of file AcceleratorGDBRemotePackets.h.

Member Data Documentation

◆ file_offset

std::optional<uint64_t> lldb_private::AcceleratorDynamicLoaderLibraryInfo::file_offset

Slice of pathname holding the object file, when embedded in a container.

Definition at line 204 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ file_size

std::optional<uint64_t> lldb_private::AcceleratorDynamicLoaderLibraryInfo::file_size

Definition at line 205 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ load

bool lldb_private::AcceleratorDynamicLoaderLibraryInfo::load = true

False means unload.

Definition at line 190 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ load_address

std::optional<uint64_t> lldb_private::AcceleratorDynamicLoaderLibraryInfo::load_address

Slides the whole object file.

If unset, use loaded_sections or the file addresses.

Definition at line 193 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ loaded_sections

std::vector<AcceleratorSectionInfo> lldb_private::AcceleratorDynamicLoaderLibraryInfo::loaded_sections

Used when sections load at independent addresses.

Absent and empty mean the same thing: no per-section addresses were supplied.

Definition at line 196 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ native_memory_address

std::optional<uint64_t> lldb_private::AcceleratorDynamicLoaderLibraryInfo::native_memory_address

Where the image can be read in the native process, meaning the host process driving the accelerator, not the accelerator itself.

Set for a library that only exists in memory.

Definition at line 200 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ native_memory_size

std::optional<uint64_t> lldb_private::AcceleratorDynamicLoaderLibraryInfo::native_memory_size

Definition at line 201 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ pathname

std::string lldb_private::AcceleratorDynamicLoaderLibraryInfo::pathname

Path to the object file, or a unique name identifying the module in the target when it has no file on disk.

Definition at line 186 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().

◆ uuid_str

std::optional<std::string> lldb_private::AcceleratorDynamicLoaderLibraryInfo::uuid_str

UUID of the object file, when the plugin knows it.

Definition at line 188 of file AcceleratorGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().


The documentation for this struct was generated from the following file: