GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
file_entry Struct Reference

#include "line-header.h"

Public Member Functions

 file_entry ()=default
 
 file_entry (const char *name_, file_name_index index_, dir_index d_index_, unsigned int mod_time_, unsigned int length_)
 
const char * include_dir (const line_header *lh) const
 

Public Attributes

const char * name {}
 
file_name_index index {}
 
dir_index d_index {}
 
unsigned int mod_time {}
 
unsigned int length {}
 
struct symtabsymtab {}
 

Detailed Description

Definition at line 33 of file line-header.h.

Constructor & Destructor Documentation

◆ file_entry() [1/2]

file_entry::file_entry ( )
default

◆ file_entry() [2/2]

file_entry::file_entry ( const char * name_,
file_name_index index_,
dir_index d_index_,
unsigned int mod_time_,
unsigned int length_ )
inline

Definition at line 37 of file line-header.h.

Member Function Documentation

◆ include_dir()

const char * file_entry::include_dir ( const line_header * lh) const
inline

Definition at line 202 of file line-header.h.

References d_index, and line_header::include_dir_at().

Referenced by compute_include_file_name(), and line_header::file_file_name().

Member Data Documentation

◆ d_index

dir_index file_entry::d_index {}

◆ index

file_name_index file_entry::index {}

Definition at line 55 of file line-header.h.

Referenced by line_header::file_file_name().

◆ length

unsigned int file_entry::length {}

Definition at line 62 of file line-header.h.

Referenced by dwarf_decode_line_header(), and read_formatted_entries().

◆ mod_time

unsigned int file_entry::mod_time {}

Definition at line 60 of file line-header.h.

Referenced by dwarf_decode_line_header(), and read_formatted_entries().

◆ name

const char* file_entry::name {}

◆ symtab

struct symtab* file_entry::symtab {}

Definition at line 65 of file line-header.h.

Referenced by new_symbol(), and dwarf2_cu::setup_type_unit_groups().


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