GDB (xrefs)
|
Classes | |
class | debug_str_lookup |
class | dwarf |
class | dwarf_tmpl |
class | index_key |
class | index_key_hasher |
class | offset_vec |
class | offset_vec_tmpl |
class | symbol_value |
Public Types | |
enum class | unit_kind { cu , tu } |
Public Member Functions | |
debug_names (dwarf2_per_bfd *per_bfd, bool is_dwarf64, bfd_endian dwarf5_byte_order) | |
int | dwarf5_offset_size () const |
void | insert (const cooked_index_entry *entry) |
void | build () |
uint32_t | bucket_count () const |
uint32_t | name_count () const |
uint32_t | abbrev_table_bytes () const |
size_t | bytes () const |
void | file_write (FILE *file_names, FILE *file_str) const |
void | add_cu (dwarf2_per_cu_data *per_cu, offset_type index) |
Private Attributes | |
std::unordered_map< c_str_view, std::set< symbol_value >, c_str_view_hasher > | m_name_to_value_set |
std::vector< uint32_t > | m_bucket_table |
std::vector< uint32_t > | m_hash_table |
const bfd_endian | m_dwarf5_byte_order |
dwarf_tmpl< uint32_t > | m_dwarf32 |
dwarf_tmpl< uint64_t > | m_dwarf64 |
dwarf & | m_dwarf |
offset_vec & | m_name_table_string_offs |
offset_vec & | m_name_table_entry_offs |
debug_str_lookup | m_debugstrlookup |
std::unordered_map< index_key, int, index_key_hasher > | m_indexkey_to_idx |
int | m_idx_next = 1 |
data_buf | m_abbrev_table |
data_buf | m_entry_pool |
auto_obstack | m_string_obstack |
cu_index_map | m_cu_index_htab |
Definition at line 522 of file index-write.c.
|
strong |
Enumerator | |
---|---|
cu | |
tu |
Definition at line 545 of file index-write.c.
|
inline |
Definition at line 525 of file index-write.c.
|
inline |
Definition at line 737 of file index-write.c.
References data_buf::empty(), m_abbrev_table, and data_buf::size().
Referenced by write_debug_names().
|
inline |
Definition at line 775 of file index-write.c.
References m_cu_index_htab.
Referenced by write_debug_names().
|
inline |
Definition at line 711 of file index-write.c.
References data_buf::empty(), m_abbrev_table, and m_bucket_table.
Referenced by write_debug_names().
|
inline |
Definition at line 615 of file index-write.c.
References data_buf::append_unsigned_leb128(), cu, dwarf5_djb_hash(), data_buf::empty(), debug_names::debug_str_lookup::lookup(), m_abbrev_table, m_bucket_table, m_debugstrlookup, m_dwarf5_byte_order, m_entry_pool, m_hash_table, m_idx_next, m_indexkey_to_idx, m_name_table_entry_offs, m_name_table_string_offs, m_name_to_value_set, name, name_count(), debug_names::offset_vec::push_back_reorder(), debug_names::offset_vec::reserve(), data_buf::size(), and store_unsigned_integer().
Referenced by write_debug_names().
|
inline |
Definition at line 745 of file index-write.c.
References debug_names::offset_vec::bytes(), data_buf::empty(), m_abbrev_table, m_bucket_table, m_entry_pool, m_hash_table, m_name_table_entry_offs, m_name_table_string_offs, and data_buf::size().
Referenced by write_debug_names().
|
inline |
Definition at line 538 of file index-write.c.
References m_dwarf, and m_dwarf64.
Referenced by write_debug_names().
|
inline |
Definition at line 762 of file index-write.c.
References data_buf::empty(), data_buf::file_write(), debug_names::debug_str_lookup::file_write(), debug_names::offset_vec::file_write(), file_write(), m_abbrev_table, m_bucket_table, m_debugstrlookup, m_entry_pool, m_hash_table, m_name_table_entry_offs, and m_name_table_string_offs.
Referenced by file_write(), and write_debug_names().
|
inline |
Definition at line 548 of file index-write.c.
References ada_decode(), ada_encode(), cu, IS_STATIC, language_ada, m_cu_index_htab, m_name_to_value_set, m_string_obstack, main_name(), name, tag_is_type(), and tu.
Referenced by write_debug_names().
|
inline |
Definition at line 724 of file index-write.c.
References data_buf::empty(), m_abbrev_table, and m_hash_table.
Referenced by build(), and write_debug_names().
|
private |
Definition at line 1034 of file index-write.c.
Referenced by abbrev_table_bytes(), bucket_count(), build(), bytes(), file_write(), and name_count().
|
private |
Definition at line 1015 of file index-write.c.
Referenced by bucket_count(), build(), bytes(), and file_write().
|
private |
Definition at line 1042 of file index-write.c.
|
private |
Definition at line 1023 of file index-write.c.
Referenced by build(), and file_write().
|
private |
Definition at line 1021 of file index-write.c.
Referenced by dwarf5_offset_size().
|
private |
Definition at line 1019 of file index-write.c.
|
private |
Definition at line 1018 of file index-write.c.
Referenced by build().
|
private |
Definition at line 1020 of file index-write.c.
Referenced by dwarf5_offset_size().
|
private |
Definition at line 1037 of file index-write.c.
Referenced by build(), bytes(), and file_write().
|
private |
Definition at line 1016 of file index-write.c.
Referenced by build(), bytes(), file_write(), and name_count().
|
private |
Definition at line 1031 of file index-write.c.
Referenced by build().
|
private |
Definition at line 1027 of file index-write.c.
Referenced by build().
|
private |
Definition at line 1022 of file index-write.c.
Referenced by build(), bytes(), and file_write().
|
private |
Definition at line 1022 of file index-write.c.
Referenced by build(), bytes(), and file_write().
|
private |
Definition at line 1011 of file index-write.c.
|
private |
Definition at line 1040 of file index-write.c.
Referenced by insert().