GDB (xrefs)
Loading...
Searching...
No Matches
Functions
line-header.c File Reference
#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)
 

Function Documentation

◆ dwarf2_statement_list_fits_in_line_number_section_complaint()

static void dwarf2_statement_list_fits_in_line_number_section_complaint ( void )
static

Definition at line 84 of file line-header.c.

References complaint.

Referenced by dwarf_decode_line_header().

◆ 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 )

◆ read_checked_initial_length_and_offset()

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

◆ read_formatted_entries()

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(*)(struct line_header *lh, const char *name, dir_index d_index, unsigned int mod_time, unsigned int length) callback )
static