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

#include "objfiles.h"

Public Member Functions

 objfile_per_bfd_storage (bfd *bfd)
 
 ~objfile_per_bfd_storage ()
 
const char * intern (const char *str)
 
const char * intern (const std::string &str)
 
bfd * get_bfd () const
 

Public Attributes

auto_obstack storage_obstack
 
gdb::bcache string_cache
 
struct gdbarchgdbarch = NULL
 
htab_up demangled_names_hash
 
entry_info ei {}
 
const char * name_of_main = NULL
 
enum language language_of_main = language_unknown
 
gdb::unique_xmalloc_ptr< minimal_symbolmsymbols
 
int minimal_symbol_count = 0
 
int n_minsyms = 0
 
bool minsyms_read: 1
 
minimal_symbolmsymbol_hash [MINIMAL_SYMBOL_HASH_SIZE] {}
 
minimal_symbolmsymbol_demangled_hash [MINIMAL_SYMBOL_HASH_SIZE] {}
 
std::bitset< nr_languagesdemangled_hash_languages
 

Private Attributes

bfd * m_bfd
 

Detailed Description

Definition at line 222 of file objfiles.h.

Constructor & Destructor Documentation

◆ objfile_per_bfd_storage()

objfile_per_bfd_storage::objfile_per_bfd_storage ( bfd * bfd)
inline

Definition at line 224 of file objfiles.h.

Referenced by set_objfile_per_bfd().

◆ ~objfile_per_bfd_storage()

objfile_per_bfd_storage::~objfile_per_bfd_storage ( )

Definition at line 110 of file objfiles.c.

Member Function Documentation

◆ get_bfd()

bfd * objfile_per_bfd_storage::get_bfd ( ) const
inline

Definition at line 249 of file objfiles.h.

References m_bfd.

Referenced by partial_symtab::partial_symtab().

◆ intern() [1/2]

const char * objfile_per_bfd_storage::intern ( const char * str)
inline

◆ intern() [2/2]

const char * objfile_per_bfd_storage::intern ( const std::string & str)
inline

Definition at line 242 of file objfiles.h.

References gdb::bcache::insert(), and string_cache.

Member Data Documentation

◆ demangled_hash_languages

std::bitset<nr_languages> objfile_per_bfd_storage::demangled_hash_languages

◆ demangled_names_hash

htab_up objfile_per_bfd_storage::demangled_names_hash

◆ ei

entry_info objfile_per_bfd_storage::ei {}

Definition at line 280 of file objfiles.h.

Referenced by entry_point_address_query(), and init_entry_point_info().

◆ gdbarch

struct gdbarch* objfile_per_bfd_storage::gdbarch = NULL

Definition at line 267 of file objfiles.h.

Referenced by objfile::arch(), jit_object_close_impl(), and set_objfile_per_bfd().

◆ language_of_main

enum language objfile_per_bfd_storage::language_of_main = language_unknown

Definition at line 287 of file objfiles.h.

Referenced by find_main_name(), and set_objfile_main_name().

◆ m_bfd

bfd* objfile_per_bfd_storage::m_bfd
private

Definition at line 335 of file objfiles.h.

Referenced by get_bfd().

◆ minimal_symbol_count

int objfile_per_bfd_storage::minimal_symbol_count = 0

◆ minsyms_read

bool objfile_per_bfd_storage::minsyms_read

◆ msymbol_demangled_hash

minimal_symbol* objfile_per_bfd_storage::msymbol_demangled_hash[MINIMAL_SYMBOL_HASH_SIZE] {}

◆ msymbol_hash

minimal_symbol* objfile_per_bfd_storage::msymbol_hash[MINIMAL_SYMBOL_HASH_SIZE] {}

◆ msymbols

gdb::unique_xmalloc_ptr<minimal_symbol> objfile_per_bfd_storage::msymbols

◆ n_minsyms

int objfile_per_bfd_storage::n_minsyms = 0

Definition at line 305 of file objfiles.h.

Referenced by print_objfile_statistics(), and minimal_symbol_reader::record_full().

◆ name_of_main

const char* objfile_per_bfd_storage::name_of_main = NULL

Definition at line 286 of file objfiles.h.

Referenced by find_main_name(), and set_objfile_main_name().

◆ storage_obstack

auto_obstack objfile_per_bfd_storage::storage_obstack

◆ string_cache

gdb::bcache objfile_per_bfd_storage::string_cache

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