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

#include <SectionLoadList.h>

Public Member Functions

 SectionLoadList ()=default
 
 SectionLoadList (const SectionLoadList &rhs)
 
 ~SectionLoadList ()
 
void operator= (const SectionLoadList &rhs)
 
bool IsEmpty () const
 
void Clear ()
 
lldb::addr_t GetSectionLoadAddress (const lldb::SectionSP &section_sp) const
 
bool ResolveLoadAddress (lldb::addr_t load_addr, Address &so_addr, bool allow_section_end=false) const
 
bool SetSectionLoadAddress (const lldb::SectionSP &section_sp, lldb::addr_t load_addr, bool warn_multiple=false)
 
bool SetSectionUnloaded (const lldb::SectionSP &section_sp, lldb::addr_t load_addr)
 
size_t SetSectionUnloaded (const lldb::SectionSP &section_sp)
 
void Dump (Stream &s, Target *target)
 

Protected Types

typedef std::map< lldb::addr_t, lldb::SectionSPaddr_to_sect_collection
 
typedef llvm::DenseMap< const Section *, lldb::addr_tsect_to_addr_collection
 

Protected Attributes

addr_to_sect_collection m_addr_to_sect
 
sect_to_addr_collection m_sect_to_addr
 
std::recursive_mutex m_mutex
 

Detailed Description

Definition at line 22 of file SectionLoadList.h.

Member Typedef Documentation

◆ addr_to_sect_collection

Definition at line 64 of file SectionLoadList.h.

◆ sect_to_addr_collection

Definition at line 65 of file SectionLoadList.h.

Constructor & Destructor Documentation

◆ SectionLoadList() [1/2]

lldb_private::SectionLoadList::SectionLoadList ( )
default

◆ SectionLoadList() [2/2]

SectionLoadList::SectionLoadList ( const SectionLoadList rhs)

Definition at line 23 of file SectionLoadList.cpp.

References m_addr_to_sect, m_mutex, and m_sect_to_addr.

◆ ~SectionLoadList()

lldb_private::SectionLoadList::~SectionLoadList ( )
inline

Definition at line 29 of file SectionLoadList.h.

References Clear().

Member Function Documentation

◆ Clear()

void SectionLoadList::Clear ( )

◆ Dump()

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

◆ GetSectionLoadAddress()

addr_t SectionLoadList::GetSectionLoadAddress ( const lldb::SectionSP section_sp) const

◆ IsEmpty()

bool SectionLoadList::IsEmpty ( ) const

◆ operator=()

void SectionLoadList::operator= ( const SectionLoadList rhs)

Definition at line 30 of file SectionLoadList.cpp.

References m_addr_to_sect, m_mutex, and m_sect_to_addr.

◆ ResolveLoadAddress()

bool SectionLoadList::ResolveLoadAddress ( lldb::addr_t  load_addr,
Address so_addr,
bool  allow_section_end = false 
) const

◆ SetSectionLoadAddress()

bool SectionLoadList::SetSectionLoadAddress ( const lldb::SectionSP section_sp,
lldb::addr_t  load_addr,
bool  warn_multiple = false 
)

◆ SetSectionUnloaded() [1/2]

size_t SectionLoadList::SetSectionUnloaded ( const lldb::SectionSP section_sp)

◆ SetSectionUnloaded() [2/2]

bool SectionLoadList::SetSectionUnloaded ( const lldb::SectionSP section_sp,
lldb::addr_t  load_addr 
)

Member Data Documentation

◆ m_addr_to_sect

addr_to_sect_collection lldb_private::SectionLoadList::m_addr_to_sect
protected

◆ m_mutex

std::recursive_mutex lldb_private::SectionLoadList::m_mutex
mutableprotected

◆ m_sect_to_addr

sect_to_addr_collection lldb_private::SectionLoadList::m_sect_to_addr
protected

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