GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
abbrev_cache Class Reference

#include "abbrev-cache.h"

Classes

struct  search_key
 

Public Member Functions

 abbrev_cache ()
 
 DISABLE_COPY_AND_ASSIGN (abbrev_cache)
 
abbrev_tablefind (struct dwarf2_section_info *section, sect_offset offset)
 
void add (abbrev_table_up table)
 

Static Private Member Functions

static hashval_t hash_table (const void *item)
 
static int eq_table (const void *lhs, const void *rhs)
 

Private Attributes

htab_up m_tables
 

Detailed Description

Definition at line 26 of file abbrev-cache.h.

Constructor & Destructor Documentation

◆ abbrev_cache()

abbrev_cache::abbrev_cache ( )

Definition at line 44 of file abbrev-cache.c.

Member Function Documentation

◆ add()

void abbrev_cache::add ( abbrev_table_up table)

Definition at line 52 of file abbrev-cache.c.

References m_tables, and abbrev_cache::search_key::section.

Referenced by cooked_index_storage::preserve().

◆ DISABLE_COPY_AND_ASSIGN()

abbrev_cache::DISABLE_COPY_AND_ASSIGN ( abbrev_cache )

◆ eq_table()

int abbrev_cache::eq_table ( const void * lhs,
const void * rhs )
staticprivate

◆ find()

abbrev_table * abbrev_cache::find ( struct dwarf2_section_info * section,
sect_offset offset )
inline

Definition at line 35 of file abbrev-cache.h.

References m_tables.

Referenced by cutu_reader::cutu_reader().

◆ hash_table()

hashval_t abbrev_cache::hash_table ( const void * item)
staticprivate

Definition at line 27 of file abbrev-cache.c.

References abbrev_table::sect_off.

Member Data Documentation

◆ m_tables

htab_up abbrev_cache::m_tables
private

Definition at line 62 of file abbrev-cache.h.

Referenced by add(), and find().


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