LLDB  mainline
Public Types | Public Member Functions | Public Attributes | List of all members
lldb_private::DynamicLoaderDarwin::ImageInfo Struct Reference

#include <DynamicLoaderDarwin.h>

Collaboration diagram for lldb_private::DynamicLoaderDarwin::ImageInfo:
Collaboration graph

Public Types

typedef std::vector< ImageInfocollection
typedef collection::iterator iterator
typedef collection::const_iterator const_iterator

Public Member Functions

 ImageInfo ()=default
void Clear (bool load_cmd_data_only)
bool operator== (const ImageInfo &rhs) const
bool UUIDValid () const
uint32_t GetAddressByteSize ()
lldb_private::ArchSpec GetArchitecture () const
const SegmentFindSegment (lldb_private::ConstString name) const
void PutToLog (lldb_private::Log *log) const

Public Attributes

lldb::addr_t address = LLDB_INVALID_ADDRESS
 Address of mach header for this dylib. More...
lldb::addr_t slide = 0
 The amount to slide all segments by if there is a global slide. More...
lldb::addr_t mod_date = 0
 Modification date for this dylib. More...
lldb_private::FileSpec file_spec
 Resolved path for this dylib. More...
lldb_private::UUID uuid
 UUID for this dylib if it has one, else all zeros. More...
llvm::MachO::mach_header header
 The mach header for this image. More...
std::vector< Segmentsegments
 All segment vmaddr and vmsize pairs for this executable (from memory of inferior). More...
uint32_t load_stop_id = 0
 The process stop ID that the sections for this image were loaded. More...
llvm::Triple::OSType os_type = llvm::Triple::OSType::UnknownOS
 LC_VERSION_MIN_... load command os type. More...
llvm::Triple::EnvironmentType os_env
 LC_VERSION_MIN_... load command os environment. More...
std::string min_version_os_sdk
 LC_VERSION_MIN_... SDK. More...

Detailed Description

Definition at line 97 of file DynamicLoaderDarwin.h.

Member Typedef Documentation

◆ collection

Definition at line 170 of file DynamicLoaderDarwin.h.

◆ const_iterator

Definition at line 172 of file DynamicLoaderDarwin.h.

◆ iterator

Definition at line 171 of file DynamicLoaderDarwin.h.

Constructor & Destructor Documentation

◆ ImageInfo()

lldb_private::DynamicLoaderDarwin::ImageInfo::ImageInfo ( )

Member Function Documentation

◆ Clear()

void lldb_private::DynamicLoaderDarwin::ImageInfo::Clear ( bool  load_cmd_data_only)

◆ FindSegment()

const DynamicLoaderDarwin::Segment * DynamicLoaderDarwin::ImageInfo::FindSegment ( lldb_private::ConstString  name) const

Definition at line 781 of file DynamicLoaderDarwin.cpp.

◆ GetAddressByteSize()

uint32_t lldb_private::DynamicLoaderDarwin::ImageInfo::GetAddressByteSize ( )

Definition at line 154 of file DynamicLoaderDarwin.h.

References header.

Referenced by DynamicLoaderMacOSXDYLD::ReadImageInfos().

◆ GetArchitecture()

lldb_private::ArchSpec DynamicLoaderDarwin::ImageInfo::GetArchitecture ( ) const

◆ operator==()

bool lldb_private::DynamicLoaderDarwin::ImageInfo::operator== ( const ImageInfo rhs) const

Definition at line 143 of file DynamicLoaderDarwin.h.

References address, file_spec, header, mod_date, os_env, os_type, segments, slide, and uuid.

◆ PutToLog()

void DynamicLoaderDarwin::ImageInfo::PutToLog ( lldb_private::Log log) const

Definition at line 791 of file DynamicLoaderDarwin.cpp.


◆ UUIDValid()

bool lldb_private::DynamicLoaderDarwin::ImageInfo::UUIDValid ( ) const

Definition at line 152 of file DynamicLoaderDarwin.h.

References lldb_private::UUID::IsValid(), and uuid.

Member Data Documentation

◆ address

lldb::addr_t lldb_private::DynamicLoaderDarwin::ImageInfo::address = LLDB_INVALID_ADDRESS

◆ file_spec

lldb_private::FileSpec lldb_private::DynamicLoaderDarwin::ImageInfo::file_spec

◆ header

llvm::MachO::mach_header lldb_private::DynamicLoaderDarwin::ImageInfo::header

◆ load_stop_id

uint32_t lldb_private::DynamicLoaderDarwin::ImageInfo::load_stop_id = 0

The process stop ID that the sections for this image were loaded.

Definition at line 116 of file DynamicLoaderDarwin.h.

Referenced by Clear(), and lldb_private::DynamicLoaderDarwin::UpdateImageLoadAddress().

◆ min_version_os_sdk

std::string lldb_private::DynamicLoaderDarwin::ImageInfo::min_version_os_sdk


Definition at line 123 of file DynamicLoaderDarwin.h.

Referenced by Clear().

◆ mod_date

lldb::addr_t lldb_private::DynamicLoaderDarwin::ImageInfo::mod_date = 0

Modification date for this dylib.

Definition at line 104 of file DynamicLoaderDarwin.h.

Referenced by Clear(), and operator==().

◆ os_env

llvm::Triple::EnvironmentType lldb_private::DynamicLoaderDarwin::ImageInfo::os_env
Initial value:

LC_VERSION_MIN_... load command os environment.

Definition at line 120 of file DynamicLoaderDarwin.h.

Referenced by Clear(), and operator==().

◆ os_type

llvm::Triple::OSType lldb_private::DynamicLoaderDarwin::ImageInfo::os_type = llvm::Triple::OSType::UnknownOS

LC_VERSION_MIN_... load command os type.

Definition at line 118 of file DynamicLoaderDarwin.h.

Referenced by Clear(), and operator==().

◆ segments

std::vector<Segment> lldb_private::DynamicLoaderDarwin::ImageInfo::segments

All segment vmaddr and vmsize pairs for this executable (from memory of inferior).

Definition at line 113 of file DynamicLoaderDarwin.h.

Referenced by Clear(), operator==(), DynamicLoaderMacOSXDYLD::ParseLoadCommands(), lldb_private::DynamicLoaderDarwin::UnloadModuleSections(), and lldb_private::DynamicLoaderDarwin::UpdateImageLoadAddress().

◆ slide

lldb::addr_t lldb_private::DynamicLoaderDarwin::ImageInfo::slide = 0

◆ uuid

lldb_private::UUID lldb_private::DynamicLoaderDarwin::ImageInfo::uuid

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