GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mapped_gdb_index Struct Referencefinal
Inheritance diagram for mapped_gdb_index:
mapped_index_base dwarf_scanner_base

Public Member Functions

offset_type symbol_name_index (offset_type idx) const
 
offset_type symbol_vec_index (offset_type idx) const
 
bool symbol_name_slot_invalid (offset_type idx) const override
 
const char * symbol_name_at (offset_type idx, dwarf2_per_objfile *per_objfile) const override
 
size_t symbol_name_count () const override
 
quick_symbol_functions_up make_quick_functions () const override
 
bool version_check () const override
 
- Public Member Functions inherited from mapped_index_base
 mapped_index_base ()=default
 
 DISABLE_COPY_AND_ASSIGN (mapped_index_base)
 
void build_name_components (dwarf2_per_objfile *per_objfile)
 
std::pair< std::vector< name_component >::const_iterator, std::vector< name_component >::const_iterator > find_name_components_bounds (const lookup_name_info &ln_no_params, enum language lang, dwarf2_per_objfile *per_objfile) const
 
cooked_indexindex_for_writing () override
 
- Public Member Functions inherited from dwarf_scanner_base
 dwarf_scanner_base ()=default
 
virtual ~dwarf_scanner_base ()=default
 
 DISABLE_COPY_AND_ASSIGN (dwarf_scanner_base)
 
virtual void wait_completely ()
 

Public Attributes

int version = 0
 
gdb::array_view< const gdb_byte > address_table
 
offset_view symbol_table
 
gdb::array_view< const gdb_byte > constant_pool
 
- Public Attributes inherited from mapped_index_base
std::vector< name_componentname_components
 
enum case_sensitivity name_components_casing
 

Detailed Description

Definition at line 77 of file read-gdb-index.c.

Member Function Documentation

◆ make_quick_functions()

quick_symbol_functions_up mapped_gdb_index::make_quick_functions ( ) const
overridevirtual

Implements dwarf_scanner_base.

Definition at line 508 of file read-gdb-index.c.

◆ symbol_name_at()

const char * mapped_gdb_index::symbol_name_at ( offset_type idx,
dwarf2_per_objfile * per_objfile ) const
inlineoverridevirtual

Implements mapped_index_base.

Definition at line 113 of file read-gdb-index.c.

References symbol_name_index().

◆ symbol_name_count()

size_t mapped_gdb_index::symbol_name_count ( ) const
inlineoverridevirtual

Implements mapped_index_base.

Definition at line 120 of file read-gdb-index.c.

References offset_view::size().

◆ symbol_name_index()

offset_type mapped_gdb_index::symbol_name_index ( offset_type idx) const
inline

Definition at line 93 of file read-gdb-index.c.

References symbol_table.

Referenced by symbol_name_at(), and symbol_name_slot_invalid().

◆ symbol_name_slot_invalid()

bool mapped_gdb_index::symbol_name_slot_invalid ( offset_type idx) const
inlineoverridevirtual

Reimplemented from mapped_index_base.

Definition at line 105 of file read-gdb-index.c.

References symbol_name_index(), and symbol_vec_index().

Referenced by dw2_symtab_iter_init().

◆ symbol_vec_index()

offset_type mapped_gdb_index::symbol_vec_index ( offset_type idx) const
inline

Definition at line 100 of file read-gdb-index.c.

References symbol_table.

Referenced by dw2_symtab_iter_init(), and symbol_name_slot_invalid().

◆ version_check()

bool mapped_gdb_index::version_check ( ) const
inlineoverridevirtual

Reimplemented from dwarf_scanner_base.

Definition at line 125 of file read-gdb-index.c.

References version.

Member Data Documentation

◆ address_table

gdb::array_view<const gdb_byte> mapped_gdb_index::address_table

Definition at line 83 of file read-gdb-index.c.

Referenced by read_gdb_index_from_buffer().

◆ constant_pool

gdb::array_view<const gdb_byte> mapped_gdb_index::constant_pool

Definition at line 89 of file read-gdb-index.c.

Referenced by dw2_symtab_iter_init(), and read_gdb_index_from_buffer().

◆ symbol_table

offset_view mapped_gdb_index::symbol_table

◆ version

int mapped_gdb_index::version = 0

The documentation for this struct was generated from the following file: