GDB (xrefs)
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
index-common.h File Reference

Go to the source code of this file.

Macros

#define INDEX4_SUFFIX   ".gdb-index"
 
#define INDEX5_SUFFIX   ".debug_names"
 
#define DEBUG_STR_SUFFIX   ".debug_str"
 

Typedefs

typedef uint32_t offset_type
 

Functions

static offset_type gdb_index_unpack (const gdb_byte *value)
 
hashval_t mapped_index_string_hash (int index_version, const void *p)
 
uint32_t dwarf5_djb_hash (const char *str_)
 
uint32_t dwarf5_djb_hash (gdb::string_view str_)
 

Macro Definition Documentation

◆ DEBUG_STR_SUFFIX

#define DEBUG_STR_SUFFIX   ".debug_str"

Definition at line 26 of file index-common.h.

Referenced by write_dwarf_index().

◆ INDEX4_SUFFIX

#define INDEX4_SUFFIX   ".gdb-index"

Definition at line 24 of file index-common.h.

Referenced by write_dwarf_index().

◆ INDEX5_SUFFIX

#define INDEX5_SUFFIX   ".debug_names"

Definition at line 25 of file index-common.h.

Referenced by write_dwarf_index().

Typedef Documentation

◆ offset_type

typedef uint32_t offset_type

Definition at line 30 of file index-common.h.

Function Documentation

◆ dwarf5_djb_hash() [1/2]

uint32_t dwarf5_djb_hash ( const char * str_)

◆ dwarf5_djb_hash() [2/2]

uint32_t dwarf5_djb_hash ( gdb::string_view str_)

Definition at line 61 of file index-common.c.

◆ gdb_index_unpack()

static offset_type gdb_index_unpack ( const gdb_byte * value)
inlinestatic

Definition at line 35 of file index-common.h.

References extract_unsigned_integer().

◆ mapped_index_string_hash()

hashval_t mapped_index_string_hash ( int index_version,
const void * p )

Definition at line 26 of file index-common.c.

Referenced by find_slot(), and c_str_view_hasher::operator()().