GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mapped_index Struct Referencefinal
Inheritance diagram for mapped_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)
 
virtual size_t symbol_name_count () const =0
 
virtual const char * symbol_name_at (offset_type idx, dwarf2_per_objfile *per_objfile) const =0
 
virtual bool symbol_name_slot_invalid (offset_type idx) const
 
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_index_vectorindex_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 quick_symbol_functions_up make_quick_functions () const =0
 
virtual bool version_check () const
 
virtual cooked_index_vectorindex_for_writing ()=0
 

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 203 of file read.c.

Member Function Documentation

◆ make_quick_functions()

quick_symbol_functions_up mapped_index::make_quick_functions ( ) const
overridevirtual

Implements dwarf_scanner_base.

Definition at line 1939 of file read.c.

◆ symbol_name_at()

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

Implements mapped_index_base.

Definition at line 239 of file read.c.

References symbol_name_index().

◆ symbol_name_count()

size_t mapped_index::symbol_name_count ( ) const
inlineoverridevirtual

Implements mapped_index_base.

Definition at line 246 of file read.c.

References offset_view::size().

◆ symbol_name_index()

offset_type mapped_index::symbol_name_index ( offset_type  idx) const
inline

Definition at line 219 of file read.c.

References symbol_table.

Referenced by symbol_name_at(), and symbol_name_slot_invalid().

◆ symbol_name_slot_invalid()

bool mapped_index::symbol_name_slot_invalid ( offset_type  idx) const
inlineoverridevirtual

Reimplemented from mapped_index_base.

Definition at line 231 of file read.c.

References symbol_name_index(), and symbol_vec_index().

Referenced by dw2_symtab_iter_init().

◆ symbol_vec_index()

offset_type mapped_index::symbol_vec_index ( offset_type  idx) const
inline

Definition at line 226 of file read.c.

References symbol_table.

Referenced by dw2_expand_marked_cus(), dw2_symtab_iter_init(), and symbol_name_slot_invalid().

◆ version_check()

bool mapped_index::version_check ( ) const
inlineoverridevirtual

Reimplemented from dwarf_scanner_base.

Definition at line 251 of file read.c.

References version.

Member Data Documentation

◆ address_table

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

Definition at line 209 of file read.c.

Referenced by create_addrmap_from_index(), and read_gdb_index_from_buffer().

◆ constant_pool

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

Definition at line 215 of file read.c.

Referenced by dw2_expand_marked_cus(), dw2_symtab_iter_init(), and read_gdb_index_from_buffer().

◆ symbol_table

offset_view mapped_index::symbol_table

Definition at line 212 of file read.c.

Referenced by read_gdb_index_from_buffer(), symbol_name_index(), and symbol_vec_index().

◆ version

int mapped_index::version = 0

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