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

#include <SectionLoadList.h>

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

Public Member Functions

 SectionLoadList ()
 
 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::SectionSP > addr_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

typedef std::map<lldb::addr_t, lldb::SectionSP> lldb_private::SectionLoadList::addr_to_sect_collection
protected

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 ( )
inline

Definition at line 25 of file SectionLoadList.h.

◆ SectionLoadList() [2/2]

SectionLoadList::SectionLoadList ( const SectionLoadList rhs)

Definition at line 22 of file SectionLoadList.cpp.

References m_addr_to_sect, m_mutex, and m_sect_to_addr.

◆ ~SectionLoadList()

lldb_private::SectionLoadList::~SectionLoadList ( )
inline

Member Function Documentation

◆ Clear()

void SectionLoadList::Clear ( )

Definition at line 42 of file SectionLoadList.cpp.

References m_addr_to_sect, m_mutex, and m_sect_to_addr.

Referenced by ~SectionLoadList().

◆ Dump()

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

Definition at line 247 of file SectionLoadList.cpp.

References m_addr_to_sect, m_mutex, and lldb_private::Stream::Printf().

Referenced by ~SectionLoadList().

◆ 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 29 of file SectionLoadList.cpp.

References m_addr_to_sect, m_mutex, and m_sect_to_addr.

Referenced by ~SectionLoadList().

◆ 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]

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

◆ SetSectionUnloaded() [2/2]

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

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: