GDB (xrefs)
Classes | Public Member Functions | Public Attributes | Private Member Functions | List of all members
dwarf2_per_objfile Struct Reference

Classes

struct  tu_stats
 

Public Member Functions

 dwarf2_per_objfile (struct objfile *objfile, const dwarf2_debug_sections *names)
 
 ~dwarf2_per_objfile ()
 
 DISABLE_COPY_AND_ASSIGN (dwarf2_per_objfile)
 
void free_cached_comp_units ()
 
 VEC (dwarf2_section_info_def)
 
 VEC (dwarf2_per_cu_ptr)
 

Public Attributes

dwarf2_section_info info {}
 
dwarf2_section_info abbrev {}
 
dwarf2_section_info line {}
 
dwarf2_section_info loc {}
 
dwarf2_section_info loclists {}
 
dwarf2_section_info macinfo {}
 
dwarf2_section_info macro {}
 
dwarf2_section_info str {}
 
dwarf2_section_info line_str {}
 
dwarf2_section_info ranges {}
 
dwarf2_section_info rnglists {}
 
dwarf2_section_info addr {}
 
dwarf2_section_info frame {}
 
dwarf2_section_info eh_frame {}
 
dwarf2_section_info gdb_index {}
 
dwarf2_section_info debug_names {}
 
dwarf2_section_info debug_aranges {}
 
htab_t signatured_types {}
 
dwarf2_per_cu_dataread_in_chain = NULL
 
htab_t dwo_files {}
 
bool dwp_checked = false
 
struct dwp_filedwp_file = NULL
 
struct dwz_filedwz_file = NULL
 
bool has_section_at_zero = false
 
bool using_index = false
 
mapped_indexindex_table = NULL
 
std::unique_ptr< mapped_debug_namesdebug_names_table
 
htab_t quick_file_names_table {}
 
bool reading_partial_symbols = false
 
htab_t die_type_hash {}
 
gdb::optional< filename_seen_cachefilenames_cache
 

Private Member Functions

void locate_sections (bfd *abfd, asection *sectp, const dwarf2_debug_sections &names)
 

Detailed Description

Definition at line 381 of file dwarf2read.c.

Constructor & Destructor Documentation

◆ dwarf2_per_objfile()

dwarf2_per_objfile::dwarf2_per_objfile ( struct objfile objfile,
const dwarf2_debug_sections names 
)

Definition at line 2374 of file dwarf2read.c.

References dwarf2_elf_names, locate_sections(), and objfile::obfd.

◆ ~dwarf2_per_objfile()

dwarf2_per_objfile::~dwarf2_per_objfile ( )

Definition at line 2387 of file dwarf2read.c.

References free_cached_comp_units(), line_header_hash(), and quick_file_names_table.

Referenced by dwarf2_free_objfile().

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

dwarf2_per_objfile::DISABLE_COPY_AND_ASSIGN ( dwarf2_per_objfile  )

◆ free_cached_comp_units()

void dwarf2_per_objfile::free_cached_comp_units ( )

◆ locate_sections()

void dwarf2_per_objfile::locate_sections ( bfd *  abfd,
asection *  sectp,
const dwarf2_debug_sections names 
)
private

◆ VEC() [1/2]

dwarf2_per_objfile::VEC ( dwarf2_section_info_def  )
inline

Definition at line 421 of file dwarf2read.c.

◆ VEC() [2/2]

dwarf2_per_objfile::VEC ( dwarf2_per_cu_ptr  )
inline

Definition at line 507 of file dwarf2read.c.

Member Data Documentation

◆ abbrev

dwarf2_section_info dwarf2_per_objfile::abbrev {}

◆ addr

dwarf2_section_info dwarf2_per_objfile::addr {}

Definition at line 414 of file dwarf2read.c.

Referenced by locate_sections(), and read_addr_index_1().

◆ debug_aranges

dwarf2_section_info dwarf2_per_objfile::debug_aranges {}

Definition at line 419 of file dwarf2read.c.

Referenced by dwarf2_read_debug_names(), and locate_sections().

◆ debug_names

dwarf2_section_info dwarf2_per_objfile::debug_names {}

Definition at line 418 of file dwarf2read.c.

Referenced by dwarf2_read_debug_names().

◆ debug_names_table

std::unique_ptr<mapped_debug_names> dwarf2_per_objfile::debug_names_table

◆ die_type_hash

htab_t dwarf2_per_objfile::die_type_hash {}

Definition at line 504 of file dwarf2read.c.

Referenced by get_die_type_at_offset(), and set_die_type().

◆ dwo_files

htab_t dwarf2_per_objfile::dwo_files {}

◆ dwp_checked

bool dwarf2_per_objfile::dwp_checked = false

Definition at line 465 of file dwarf2read.c.

Referenced by get_dwp_file().

◆ dwp_file

struct dwp_file* dwarf2_per_objfile::dwp_file = NULL

Definition at line 468 of file dwarf2read.c.

Referenced by dwarf2_per_objfile_free(), and get_dwp_file().

◆ dwz_file

struct dwz_file* dwarf2_per_objfile::dwz_file = NULL

Definition at line 472 of file dwarf2read.c.

Referenced by dwarf2_get_dwz_file(), and dwarf2_per_objfile_free().

◆ eh_frame

dwarf2_section_info dwarf2_per_objfile::eh_frame {}

Definition at line 416 of file dwarf2read.c.

Referenced by dwarf2_get_section_info(), and locate_sections().

◆ filenames_cache

gdb::optional<filename_seen_cache> dwarf2_per_objfile::filenames_cache

Definition at line 510 of file dwarf2read.c.

Referenced by dw2_map_symbol_filenames().

◆ frame

dwarf2_section_info dwarf2_per_objfile::frame {}

Definition at line 415 of file dwarf2read.c.

Referenced by dwarf2_get_section_info(), and locate_sections().

◆ gdb_index

dwarf2_section_info dwarf2_per_objfile::gdb_index {}

Definition at line 417 of file dwarf2read.c.

Referenced by dwarf2_read_index(), and locate_sections().

◆ has_section_at_zero

bool dwarf2_per_objfile::has_section_at_zero = false

◆ index_table

mapped_index* dwarf2_per_objfile::index_table = NULL

◆ info

dwarf2_section_info dwarf2_per_objfile::info {}

◆ line

dwarf2_section_info dwarf2_per_objfile::line {}

Definition at line 405 of file dwarf2read.c.

Referenced by get_debug_line_section(), and locate_sections().

◆ line_str

dwarf2_section_info dwarf2_per_objfile::line_str {}

Definition at line 411 of file dwarf2read.c.

Referenced by locate_sections(), and read_indirect_line_string_at_offset().

◆ loc

dwarf2_section_info dwarf2_per_objfile::loc {}

Definition at line 406 of file dwarf2read.c.

Referenced by cu_debug_loc_section(), and locate_sections().

◆ loclists

dwarf2_section_info dwarf2_per_objfile::loclists {}

Definition at line 407 of file dwarf2read.c.

Referenced by cu_debug_loc_section(), and locate_sections().

◆ macinfo

dwarf2_section_info dwarf2_per_objfile::macinfo {}

Definition at line 408 of file dwarf2read.c.

Referenced by dwarf_decode_macros(), and locate_sections().

◆ macro

dwarf2_section_info dwarf2_per_objfile::macro {}

Definition at line 409 of file dwarf2read.c.

Referenced by dwarf_decode_macros(), and locate_sections().

◆ quick_file_names_table

htab_t dwarf2_per_objfile::quick_file_names_table {}

◆ ranges

dwarf2_section_info dwarf2_per_objfile::ranges {}

Definition at line 412 of file dwarf2read.c.

Referenced by dwarf2_ranges_process(), and locate_sections().

◆ read_in_chain

dwarf2_per_cu_data* dwarf2_per_objfile::read_in_chain = NULL

◆ reading_partial_symbols

bool dwarf2_per_objfile::reading_partial_symbols = false

◆ rnglists

dwarf2_section_info dwarf2_per_objfile::rnglists {}

Definition at line 413 of file dwarf2read.c.

Referenced by dwarf2_rnglists_process(), and locate_sections().

◆ signatured_types

htab_t dwarf2_per_objfile::signatured_types {}

◆ str

dwarf2_section_info dwarf2_per_objfile::str {}

◆ using_index

bool dwarf2_per_objfile::using_index = false

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