GDB (xrefs)
|
#include "defs.h"
#include "dwarf2/comp-unit-head.h"
#include "dwarf2/leb.h"
#include "dwarf2/read.h"
#include "dwarf2/section.h"
#include "dwarf2/stringify.h"
Go to the source code of this file.
Functions | |
const gdb_byte * | read_comp_unit_head (struct comp_unit_head *cu_header, const gdb_byte *info_ptr, struct dwarf2_section_info *section, rcuh_kind section_kind) |
static void | error_check_comp_unit_head (dwarf2_per_objfile *per_objfile, struct comp_unit_head *header, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section) |
const gdb_byte * | read_and_check_comp_unit_head (dwarf2_per_objfile *per_objfile, struct comp_unit_head *header, struct dwarf2_section_info *section, struct dwarf2_section_info *abbrev_section, const gdb_byte *info_ptr, rcuh_kind section_kind) |
|
static |
Definition at line 148 of file comp-unit-head.c.
References comp_unit_head::abbrev_sect_off, dwarf2_section_info::get_file_name(), comp_unit_head::get_length_with_initial(), comp_unit_head::get_length_without_initial(), dwarf2_section_info::get_size(), dwarf2_per_objfile::objfile, comp_unit_head::sect_off, sect_offset_str(), and dwarf2_section_info::size.
Referenced by read_and_check_comp_unit_head().
const gdb_byte * read_and_check_comp_unit_head | ( | dwarf2_per_objfile * | per_objfile, |
struct comp_unit_head * | header, | ||
struct dwarf2_section_info * | section, | ||
struct dwarf2_section_info * | abbrev_section, | ||
const gdb_byte * | info_ptr, | ||
rcuh_kind | section_kind ) |
Definition at line 176 of file comp-unit-head.c.
References dwarf2_section_info::buffer, error_check_comp_unit_head(), comp_unit_head::first_die_cu_offset, read_comp_unit_head(), and comp_unit_head::sect_off.
Referenced by create_debug_type_hash_table(), create_signatured_type_table_from_debug_names(), cutu_reader::cutu_reader(), cutu_reader::cutu_reader(), read_comp_units_from_section(), and read_cutu_die_from_dwo().
const gdb_byte * read_comp_unit_head | ( | struct comp_unit_head * | cu_header, |
const gdb_byte * | info_ptr, | ||
struct dwarf2_section_info * | section, | ||
rcuh_kind | section_kind ) |
Definition at line 37 of file comp-unit-head.c.
References comp_unit_head::abbrev_sect_off, comp_unit_head::addr_size, COMPILE, dwarf_unit_type_name(), dwarf2_section_info::get_bfd_owner(), dwarf2_section_info::get_file_name(), comp_unit_head::initial_length_size, comp_unit_head::offset_size, read_1_byte(), read_2_bytes(), read_8_bytes(), read_initial_length(), comp_unit_head::read_offset(), comp_unit_head::set_length(), comp_unit_head::signature, comp_unit_head::signed_addr_p, TYPE, comp_unit_head::type_cu_offset_in_tu, version, and comp_unit_head::version.
Referenced by dwarf2_per_cu_data::get_header(), and read_and_check_comp_unit_head().