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

#include "dwz.h"

Classes

struct  abbrev
 
struct  debug_names
 
struct  gdb_index
 
struct  info
 
struct  line
 
struct  macro
 
struct  str
 

Public Member Functions

 dwz_file (gdb_bfd_ref_ptr &&bfd)
 
const char * filename () const
 
const char * read_string (struct objfile *objfile, LONGEST str_offset)
 

Public Attributes

gdb_bfd_ref_ptr dwz_bfd
 
std::unique_ptr< index_cache_resourceindex_cache_res
 

Detailed Description

Definition at line 31 of file dwz.h.

Constructor & Destructor Documentation

◆ dwz_file()

dwz_file::dwz_file ( gdb_bfd_ref_ptr &&  bfd)
inline

Definition at line 33 of file dwz.h.

Member Function Documentation

◆ filename()

const char * dwz_file::filename ( ) const
inline

Definition at line 38 of file dwz.h.

References dwz_bfd.

Referenced by dwarf2_get_dwz_file(), save_gdb_index_command(), and index_cache::store().

◆ read_string()

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

Definition at line 34 of file dwz.c.

References dwz_bfd.

Referenced by dwarf_decode_macro_bytes(), and read_attribute_value().

Member Data Documentation

◆ dwz_bfd

gdb_bfd_ref_ptr dwz_file::dwz_bfd

◆ index_cache_res

std::unique_ptr<index_cache_resource> dwz_file::index_cache_res

Definition at line 57 of file dwz.h.

Referenced by get_gdb_index_contents_from_cache_dwz().


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