LLDB  mainline
Public Member Functions | List of all members
DWARFMappedHash::Header Class Reference

#include <HashedNameToDIE.h>

Inheritance diagram for DWARFMappedHash::Header:
Inheritance graph
Collaboration diagram for DWARFMappedHash::Header:
Collaboration graph

Public Member Functions

size_t GetByteSize (const HeaderData &header_data) override
lldb::offset_t Read (lldb_private::DataExtractor &data, lldb::offset_t offset) override
bool Read (const lldb_private::DWARFDataExtractor &data, lldb::offset_t *offset_ptr, DIEInfo &hash_data) const
- Public Member Functions inherited from MappedHash::Header< Prologue >
 Header ()
virtual ~Header ()=default
size_t GetByteSize () const
void SetHeaderDataByteSize (uint32_t header_data_byte_size)
void Dump (lldb_private::Stream &s)

Additional Inherited Members

- Public Types inherited from MappedHash::Header< Prologue >
typedef Prologue HeaderData
- Public Attributes inherited from MappedHash::Header< Prologue >
uint32_t magic
uint16_t version
uint16_t hash_function
uint32_t bucket_count
uint32_t hashes_count
uint32_t header_data_len
HeaderData header_data

Detailed Description

Definition at line 109 of file HashedNameToDIE.h.

Member Function Documentation

◆ GetByteSize()

size_t DWARFMappedHash::Header::GetByteSize ( const HeaderData header_data)

Implements MappedHash::Header< Prologue >.

Definition at line 252 of file HashedNameToDIE.cpp.

◆ Read() [1/2]

bool DWARFMappedHash::Header::Read ( const lldb_private::DWARFDataExtractor data,
lldb::offset_t offset_ptr,
DIEInfo hash_data 
) const

◆ Read() [2/2]

lldb::offset_t DWARFMappedHash::Header::Read ( lldb_private::DataExtractor data,
lldb::offset_t  offset 

Reimplemented from MappedHash::Header< Prologue >.

Definition at line 256 of file HashedNameToDIE.cpp.

References MappedHash::Header< T >::Read(), and UINT32_MAX.

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