GDB (xrefs)
|
#include "defs.h"
#include "dwarf2/comp-unit-head.h"
#include "dwarf2/leb.h"
#include "dwarf2/line-header.h"
#include "dwarf2/read.h"
#include "complaints.h"
#include "filenames.h"
#include "gdbsupport/pathstuff.h"
Go to the source code of this file.
Functions | |
static void | dwarf2_statement_list_fits_in_line_number_section_complaint (void) |
static LONGEST | read_checked_initial_length_and_offset (bfd *abfd, const gdb_byte *buf, const struct comp_unit_head *cu_header, unsigned int *bytes_read, unsigned int *offset_size) |
static void | read_formatted_entries (dwarf2_per_objfile *per_objfile, bfd *abfd, const gdb_byte **bufp, struct line_header *lh, unsigned int offset_size, void(*callback)(struct line_header *lh, const char *name, dir_index d_index, unsigned int mod_time, unsigned int length)) |
line_header_up | dwarf_decode_line_header (sect_offset sect_off, bool is_dwz, dwarf2_per_objfile *per_objfile, struct dwarf2_section_info *section, const struct comp_unit_head *cu_header, const char *comp_dir) |
|
static |
Definition at line 84 of file line-header.c.
References complaint.
Referenced by dwarf_decode_line_header().
line_header_up dwarf_decode_line_header | ( | sect_offset | sect_off, |
bool | is_dwz, | ||
dwarf2_per_objfile * | per_objfile, | ||
struct dwarf2_section_info * | section, | ||
const struct comp_unit_head * | cu_header, | ||
const char * | comp_dir ) |
Definition at line 257 of file line-header.c.
References dwarf2_section_info::buffer, complaint, file_entry::d_index, dwarf2_statement_list_fits_in_line_number_section_complaint(), dwarf2_section_info::get_bfd_owner(), file_entry::length, file_entry::mod_time, name, read_1_byte(), read_1_signed_byte(), read_2_bytes(), read_checked_initial_length_and_offset(), read_direct_string(), read_formatted_entries(), read_offset(), read_unsigned_leb128(), and dwarf2_section_info::size.
Referenced by dwarf2_cu::setup_type_unit_groups().
|
static |
Definition at line 98 of file line-header.c.
References complaint, comp_unit_head::initial_length_size, and read_initial_length().
Referenced by dwarf_decode_line_header().
|
static |
Definition at line 122 of file line-header.c.
References complaint, file_entry::d_index, file_entry::length, file_entry::mod_time, file_entry::name, read_1_byte(), read_2_bytes(), read_4_bytes(), read_8_bytes(), read_direct_string(), dwarf2_per_objfile::read_line_string(), and read_unsigned_leb128().
Referenced by dwarf_decode_line_header().