LLDB  mainline
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
lldb_private::SectionLoadHistory Class Reference

#include <SectionLoadHistory.h>

Collaboration diagram for lldb_private::SectionLoadHistory:
Collaboration graph
[legend]

Public Types

enum  : unsigned { eStopIDNow = UINT32_MAX }
 

Public Member Functions

 SectionLoadHistory ()
 
 ~SectionLoadHistory ()
 
SectionLoadListGetCurrentSectionLoadList ()
 
bool IsEmpty () const
 
void Clear ()
 
uint32_t GetLastStopID () const
 
lldb::addr_t GetSectionLoadAddress (uint32_t stop_id, const lldb::SectionSP &section_sp)
 
bool ResolveLoadAddress (uint32_t stop_id, lldb::addr_t load_addr, Address &so_addr)
 
bool SetSectionLoadAddress (uint32_t stop_id, const lldb::SectionSP &section_sp, lldb::addr_t load_addr, bool warn_multiple=false)
 
bool SetSectionUnloaded (uint32_t stop_id, const lldb::SectionSP &section_sp, lldb::addr_t load_addr)
 
size_t SetSectionUnloaded (uint32_t stop_id, const lldb::SectionSP &section_sp)
 
void Dump (Stream &s, Target *target)
 

Protected Types

typedef std::map< uint32_t, lldb::SectionLoadListSP > StopIDToSectionLoadList
 

Protected Member Functions

SectionLoadListGetSectionLoadListForStopID (uint32_t stop_id, bool read_only)
 

Protected Attributes

StopIDToSectionLoadList m_stop_id_to_section_load_list
 
std::recursive_mutex m_mutex
 

Detailed Description

Definition at line 19 of file SectionLoadHistory.h.

Member Typedef Documentation

◆ StopIDToSectionLoadList

typedef std::map<uint32_t, lldb::SectionLoadListSP> lldb_private::SectionLoadHistory::StopIDToSectionLoadList
protected

Definition at line 73 of file SectionLoadHistory.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : unsigned
Enumerator
eStopIDNow 

Definition at line 21 of file SectionLoadHistory.h.

Constructor & Destructor Documentation

◆ SectionLoadHistory()

lldb_private::SectionLoadHistory::SectionLoadHistory ( )
inline

Definition at line 27 of file SectionLoadHistory.h.

◆ ~SectionLoadHistory()

lldb_private::SectionLoadHistory::~SectionLoadHistory ( )
inline

Member Function Documentation

◆ Clear()

void SectionLoadHistory::Clear ( )

◆ Dump()

void SectionLoadHistory::Dump ( Stream s,
Target target 
)

◆ GetCurrentSectionLoadList()

SectionLoadList & SectionLoadHistory::GetCurrentSectionLoadList ( )

Definition at line 95 of file SectionLoadHistory.cpp.

Referenced by ~SectionLoadHistory().

◆ GetLastStopID()

uint32_t SectionLoadHistory::GetLastStopID ( ) const

◆ GetSectionLoadAddress()

addr_t SectionLoadHistory::GetSectionLoadAddress ( uint32_t  stop_id,
const lldb::SectionSP &  section_sp 
)

◆ GetSectionLoadListForStopID()

SectionLoadList * SectionLoadHistory::GetSectionLoadListForStopID ( uint32_t  stop_id,
bool  read_only 
)
protected

Definition at line 36 of file SectionLoadHistory.cpp.

Referenced by ~SectionLoadHistory().

◆ IsEmpty()

bool SectionLoadHistory::IsEmpty ( ) const

Definition at line 17 of file SectionLoadHistory.cpp.

Referenced by ~SectionLoadHistory().

◆ ResolveLoadAddress()

bool SectionLoadHistory::ResolveLoadAddress ( uint32_t  stop_id,
lldb::addr_t  load_addr,
Address so_addr 
)

◆ SetSectionLoadAddress()

bool SectionLoadHistory::SetSectionLoadAddress ( uint32_t  stop_id,
const lldb::SectionSP &  section_sp,
lldb::addr_t  load_addr,
bool  warn_multiple = false 
)

◆ SetSectionUnloaded() [1/2]

bool SectionLoadHistory::SetSectionUnloaded ( uint32_t  stop_id,
const lldb::SectionSP &  section_sp,
lldb::addr_t  load_addr 
)

◆ SetSectionUnloaded() [2/2]

size_t SectionLoadHistory::SetSectionUnloaded ( uint32_t  stop_id,
const lldb::SectionSP &  section_sp 
)

Member Data Documentation

◆ m_mutex

std::recursive_mutex lldb_private::SectionLoadHistory::m_mutex
mutableprotected

Definition at line 75 of file SectionLoadHistory.h.

◆ m_stop_id_to_section_load_list

StopIDToSectionLoadList lldb_private::SectionLoadHistory::m_stop_id_to_section_load_list
protected

Definition at line 74 of file SectionLoadHistory.h.


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