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

#include "section.h"

Public Member Functions

const char * get_name () const
 
struct dwarf2_section_infoget_containing_section () const
 
struct bfd * get_bfd_owner () const
 
asection * get_bfd_section () const
 
const char * get_file_name () const
 
int get_id () const
 
int get_flags () const
 
bool empty () const
 
void read (struct objfile *objfile)
 
bfd_size_type get_size (struct objfile *objfile)
 
void overflow_complaint () const
 
const char * read_string (struct objfile *objfile, LONGEST str_offset, const char *form_name)
 

Public Attributes

union { 
 
   asection *   section 
 
   struct dwarf2_section_info *   containing_section 
 
s 
 
const gdb_byte * buffer
 
bfd_size_type size
 
bfd_size_type virtual_offset
 
bool readin
 
bool is_virtual
 

Detailed Description

Definition at line 46 of file section.h.

Member Function Documentation

◆ empty()

bool dwarf2_section_info::empty ( ) const

◆ get_bfd_owner()

struct bfd * dwarf2_section_info::get_bfd_owner ( ) const

◆ get_bfd_section()

asection * dwarf2_section_info::get_bfd_section ( ) const

Definition at line 62 of file section.c.

References get_containing_section(), and section.

Referenced by create_dwp_v2_or_v5_section(), get_flags(), get_id(), get_name(), read(), and read_string().

◆ get_containing_section()

struct dwarf2_section_info * dwarf2_section_info::get_containing_section ( ) const

Definition at line 42 of file section.c.

References is_virtual, and s.

Referenced by get_bfd_owner(), get_bfd_section(), and read().

◆ get_file_name()

const char * dwarf2_section_info::get_file_name ( ) const

◆ get_flags()

int dwarf2_section_info::get_flags ( ) const

Definition at line 102 of file section.c.

References get_bfd_section().

Referenced by get_gdb_index_contents_from_section(), and read_debug_names_from_section().

◆ get_id()

int dwarf2_section_info::get_id ( ) const

Definition at line 92 of file section.c.

References get_bfd_section().

Referenced by create_dwo_unit_in_dwp_v1().

◆ get_name()

const char * dwarf2_section_info::get_name ( ) const

◆ get_size()

bfd_size_type dwarf2_section_info::get_size ( struct objfile * objfile)
inline

Definition at line 90 of file section.h.

References read(), readin, and size.

Referenced by error_check_comp_unit_head().

◆ overflow_complaint()

void dwarf2_section_info::overflow_complaint ( ) const

◆ read()

void dwarf2_section_info::read ( struct objfile * objfile)

◆ read_string()

const char * dwarf2_section_info::read_string ( struct objfile * objfile,
LONGEST str_offset,
const char * form_name )

Member Data Documentation

◆ buffer

const gdb_byte* dwarf2_section_info::buffer

◆ containing_section

struct dwarf2_section_info* dwarf2_section_info::containing_section

Definition at line 112 of file section.h.

Referenced by create_dwp_v2_or_v5_section(), and read().

◆ is_virtual

bool dwarf2_section_info::is_virtual

◆ readin

bool dwarf2_section_info::readin

◆ [union]

union { ... } dwarf2_section_info::s

◆ section

asection* dwarf2_section_info::section

◆ size

bfd_size_type dwarf2_section_info::size

◆ virtual_offset

bfd_size_type dwarf2_section_info::virtual_offset

Definition at line 120 of file section.h.

Referenced by create_dwp_v2_or_v5_section(), and read().


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