GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
cutu_reader Class Reference
Inheritance diagram for cutu_reader:
die_reader_specs

Public Member Functions

 cutu_reader (dwarf2_per_cu_data *this_cu, dwarf2_per_objfile *per_objfile, struct abbrev_table *abbrev_table, dwarf2_cu *existing_cu, bool skip_partial, abbrev_cache *cache=nullptr)
 
 cutu_reader (struct dwarf2_per_cu_data *this_cu, dwarf2_per_objfile *per_objfile, struct dwarf2_cu *parent_cu=nullptr, struct dwo_file *dwo_file=nullptr)
 
 DISABLE_COPY_AND_ASSIGN (cutu_reader)
 
 cutu_reader (cutu_reader &&)=default
 
void keep ()
 
abbrev_table_up release_abbrev_table ()
 

Public Attributes

const gdb_byte * info_ptr = nullptr
 
struct die_infocomp_unit_die = nullptr
 
bool dummy_p = false
 
- Public Attributes inherited from die_reader_specs
bfd * abfd
 
struct dwarf2_cucu
 
struct dwo_filedwo_file
 
struct dwarf2_section_infodie_section
 
const gdb_byte * buffer
 
const gdb_byte * buffer_end
 
struct abbrev_tableabbrev_table
 

Private Member Functions

void init_tu_and_read_dwo_dies (dwarf2_per_cu_data *this_cu, dwarf2_per_objfile *per_objfile, dwarf2_cu *existing_cu)
 

Private Attributes

struct dwarf2_per_cu_datam_this_cu
 
std::unique_ptr< dwarf2_cum_new_cu
 
abbrev_table_up m_abbrev_table_holder
 
abbrev_table_up m_dwo_abbrev_table
 

Detailed Description

Definition at line 578 of file read.c.

Constructor & Destructor Documentation

◆ cutu_reader() [1/3]

cutu_reader::cutu_reader ( dwarf2_per_cu_data * this_cu,
dwarf2_per_objfile * per_objfile,
struct abbrev_table * abbrev_table,
dwarf2_cu * existing_cu,
bool skip_partial,
abbrev_cache * cache = nullptr )

◆ cutu_reader() [2/3]

cutu_reader::cutu_reader ( struct dwarf2_per_cu_data * this_cu,
dwarf2_per_objfile * per_objfile,
struct dwarf2_cu * parent_cu = nullptr,
struct dwo_file * dwo_file = nullptr )
explicit

◆ cutu_reader() [3/3]

cutu_reader::cutu_reader ( cutu_reader && )
default

Member Function Documentation

◆ DISABLE_COPY_AND_ASSIGN()

cutu_reader::DISABLE_COPY_AND_ASSIGN ( cutu_reader )

◆ init_tu_and_read_dwo_dies()

void cutu_reader::init_tu_and_read_dwo_dies ( dwarf2_per_cu_data * this_cu,
dwarf2_per_objfile * per_objfile,
dwarf2_cu * existing_cu )
private

◆ keep()

void cutu_reader::keep ( )

Definition at line 4398 of file read.c.

References dummy_p, m_new_cu, m_this_cu, and dwarf2_per_objfile::set_cu().

Referenced by load_full_comp_unit(), and read_signatured_type().

◆ release_abbrev_table()

abbrev_table_up cutu_reader::release_abbrev_table ( )
inline

Definition at line 608 of file read.c.

References m_abbrev_table_holder.

Member Data Documentation

◆ comp_unit_die

struct die_info* cutu_reader::comp_unit_die = nullptr

◆ dummy_p

bool cutu_reader::dummy_p = false

◆ info_ptr

const gdb_byte* cutu_reader::info_ptr = nullptr

◆ m_abbrev_table_holder

abbrev_table_up cutu_reader::m_abbrev_table_holder
private

Definition at line 622 of file read.c.

Referenced by cutu_reader(), cutu_reader(), and release_abbrev_table().

◆ m_dwo_abbrev_table

abbrev_table_up cutu_reader::m_dwo_abbrev_table
private

Definition at line 625 of file read.c.

Referenced by cutu_reader(), and init_tu_and_read_dwo_dies().

◆ m_new_cu

std::unique_ptr<dwarf2_cu> cutu_reader::m_new_cu
private

Definition at line 619 of file read.c.

Referenced by cutu_reader(), cutu_reader(), init_tu_and_read_dwo_dies(), and keep().

◆ m_this_cu

struct dwarf2_per_cu_data* cutu_reader::m_this_cu
private

Definition at line 618 of file read.c.

Referenced by keep().


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