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

#include "symtab.h"

Public Member Functions

struct objfileobjfile () const
 
void set_objfile (struct objfile *objfile)
 
symtab_range filetabs () const
 
void add_filetab (symtab *filetab)
 
const char * debugformat () const
 
void set_debugformat (const char *debugformat)
 
const char * producer () const
 
void set_producer (const char *producer)
 
const char * dirname () const
 
void set_dirname (const char *dirname)
 
struct blockvectorblockvector ()
 
const struct blockvectorblockvector () const
 
void set_blockvector (struct blockvector *blockvector)
 
bool locations_valid () const
 
void set_locations_valid (bool locations_valid)
 
bool epilogue_unwind_valid () const
 
void set_epilogue_unwind_valid (bool epilogue_unwind_valid)
 
struct macro_tablemacro_table () const
 
void set_macro_table (struct macro_table *macro_table)
 
void set_primary_filetab (symtab *primary_filetab)
 
symtabprimary_filetab () const
 
void set_call_site_htab (htab_t call_site_htab)
 
call_sitefind_call_site (CORE_ADDR pc) const
 
enum language language () const
 

Public Attributes

struct compunit_symtabnext
 
struct objfilem_objfile
 
const char * name
 
symtabm_filetabs
 
symtabm_last_filetab
 
const char * m_debugformat
 
const char * m_producer
 
const char * m_dirname
 
struct blockvectorm_blockvector
 
unsigned int m_locations_valid: 1
 
unsigned int m_epilogue_unwind_valid: 1
 
htab_t m_call_site_htab
 
struct macro_tablem_macro_table
 
struct compunit_symtab ** includes
 
struct compunit_symtabuser
 

Detailed Description

Definition at line 1786 of file symtab.h.

Member Function Documentation

◆ add_filetab()

void compunit_symtab::add_filetab ( symtab * filetab)
inline

Definition at line 1803 of file symtab.h.

References m_filetabs, m_last_filetab, and symtab::next.

Referenced by allocate_symtab().

◆ blockvector() [1/2]

struct blockvector * compunit_symtab::blockvector ( )
inline

◆ blockvector() [2/2]

const struct blockvector * compunit_symtab::blockvector ( ) const
inline

Definition at line 1852 of file symtab.h.

References m_blockvector.

◆ debugformat()

const char * compunit_symtab::debugformat ( ) const
inline

Definition at line 1817 of file symtab.h.

References m_debugformat.

Referenced by info_source_command(), or1k_skip_prologue(), set_debugformat(), and z80_skip_prologue().

◆ dirname()

const char * compunit_symtab::dirname ( ) const
inline

◆ epilogue_unwind_valid()

bool compunit_symtab::epilogue_unwind_valid ( ) const
inline

Definition at line 1872 of file symtab.h.

References m_epilogue_unwind_valid.

Referenced by compunit_epilogue_unwind_valid(), and set_epilogue_unwind_valid().

◆ filetabs()

symtab_range compunit_symtab::filetabs ( ) const
inline

Definition at line 1798 of file symtab.h.

References m_filetabs.

Referenced by find_pc_sect_line(), iterate_over_some_symtabs(), and set_primary_filetab().

◆ find_call_site()

call_site * compunit_symtab::find_call_site ( CORE_ADDR pc) const

◆ language()

enum language compunit_symtab::language ( ) const

◆ locations_valid()

bool compunit_symtab::locations_valid ( ) const
inline

Definition at line 1862 of file symtab.h.

References m_locations_valid.

Referenced by find_function_start_sal_1(), set_locations_valid(), and skip_prologue_sal().

◆ macro_table()

struct macro_table * compunit_symtab::macro_table ( ) const
inline

◆ objfile()

struct objfile * compunit_symtab::objfile ( ) const
inline

◆ primary_filetab()

struct symtab * compunit_symtab::primary_filetab ( ) const

◆ producer()

const char * compunit_symtab::producer ( ) const
inline

◆ set_blockvector()

void compunit_symtab::set_blockvector ( struct blockvector * blockvector)
inline

◆ set_call_site_htab()

void compunit_symtab::set_call_site_htab ( htab_t call_site_htab)

Definition at line 378 of file symtab.c.

References m_call_site_htab.

Referenced by process_full_comp_unit().

◆ set_debugformat()

void compunit_symtab::set_debugformat ( const char * debugformat)
inline

◆ set_dirname()

void compunit_symtab::set_dirname ( const char * dirname)
inline

Definition at line 1842 of file symtab.h.

References dirname(), and m_dirname.

Referenced by buildsym_compunit::end_compunit_symtab_with_blockvector(), and finalize_symtab().

◆ set_epilogue_unwind_valid()

void compunit_symtab::set_epilogue_unwind_valid ( bool epilogue_unwind_valid)
inline

Definition at line 1877 of file symtab.h.

References epilogue_unwind_valid(), and m_epilogue_unwind_valid.

Referenced by process_full_comp_unit().

◆ set_locations_valid()

void compunit_symtab::set_locations_valid ( bool locations_valid)
inline

Definition at line 1867 of file symtab.h.

References locations_valid(), and m_locations_valid.

Referenced by process_full_comp_unit().

◆ set_macro_table()

void compunit_symtab::set_macro_table ( struct macro_table * macro_table)
inline

Definition at line 1887 of file symtab.h.

References m_macro_table, and macro_table().

Referenced by buildsym_compunit::end_compunit_symtab_with_blockvector().

◆ set_objfile()

void compunit_symtab::set_objfile ( struct objfile * objfile)
inline

Definition at line 1793 of file symtab.h.

References m_objfile, and objfile().

Referenced by allocate_compunit_symtab().

◆ set_primary_filetab()

void compunit_symtab::set_primary_filetab ( symtab * primary_filetab)

◆ set_producer()

void compunit_symtab::set_producer ( const char * producer)
inline

Definition at line 1832 of file symtab.h.

References m_producer, and producer().

Referenced by buildsym_compunit::end_compunit_symtab_with_blockvector().

Member Data Documentation

◆ includes

struct compunit_symtab** compunit_symtab::includes

◆ m_blockvector

struct blockvector* compunit_symtab::m_blockvector

Definition at line 1948 of file symtab.h.

Referenced by blockvector(), blockvector(), and set_blockvector().

◆ m_call_site_htab

htab_t compunit_symtab::m_call_site_htab

Definition at line 1960 of file symtab.h.

Referenced by find_call_site(), and set_call_site_htab().

◆ m_debugformat

const char* compunit_symtab::m_debugformat

Definition at line 1938 of file symtab.h.

Referenced by debugformat(), and set_debugformat().

◆ m_dirname

const char* compunit_symtab::m_dirname

Definition at line 1944 of file symtab.h.

Referenced by dirname(), and set_dirname().

◆ m_epilogue_unwind_valid

unsigned int compunit_symtab::m_epilogue_unwind_valid

Definition at line 1957 of file symtab.h.

Referenced by epilogue_unwind_valid(), and set_epilogue_unwind_valid().

◆ m_filetabs

symtab* compunit_symtab::m_filetabs

Definition at line 1925 of file symtab.h.

Referenced by add_filetab(), filetabs(), primary_filetab(), and set_primary_filetab().

◆ m_last_filetab

symtab* compunit_symtab::m_last_filetab

Definition at line 1932 of file symtab.h.

Referenced by add_filetab().

◆ m_locations_valid

unsigned int compunit_symtab::m_locations_valid

Definition at line 1953 of file symtab.h.

Referenced by locations_valid(), and set_locations_valid().

◆ m_macro_table

struct macro_table* compunit_symtab::m_macro_table

Definition at line 1966 of file symtab.h.

Referenced by macro_table(), and set_macro_table().

◆ m_objfile

struct objfile* compunit_symtab::m_objfile

Definition at line 1914 of file symtab.h.

Referenced by objfile(), and set_objfile().

◆ m_producer

const char* compunit_symtab::m_producer

Definition at line 1941 of file symtab.h.

Referenced by producer(), and set_producer().

◆ name

const char* compunit_symtab::name

◆ next

struct compunit_symtab* compunit_symtab::next

Definition at line 1911 of file symtab.h.

Referenced by add_compunit_symtab_to_objfile(), and iterate_over_some_symtabs().

◆ user

struct compunit_symtab* compunit_symtab::user

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