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

#include "block.h"

Public Member Functions

gdb::array_view< struct block * > blocks ()
 
gdb::array_view< const struct block *const > blocks () const
 
struct blockblock (size_t i)
 
const struct blockblock (size_t i) const
 
void set_block (int i, struct block *block)
 
void set_num_blocks (int num_blocks)
 
int num_blocks () const
 
struct blockglobal_block ()
 
const struct blockglobal_block () const
 
struct blockstatic_block ()
 
const struct blockstatic_block () const
 
addrmapmap ()
 
const addrmapmap () const
 
void set_map (addrmap *map)
 

Private Attributes

struct addrmapm_map
 
int m_num_blocks
 
struct blockm_blocks [1]
 

Detailed Description

Definition at line 358 of file block.h.

Member Function Documentation

◆ block() [1/2]

struct block * blockvector::block ( size_t i)
inline

◆ block() [2/2]

const struct block * blockvector::block ( size_t i) const
inline

Definition at line 378 of file block.h.

References blocks().

◆ blocks() [1/2]

gdb::array_view< struct block * > blockvector::blocks ( )
inline

◆ blocks() [2/2]

gdb::array_view< const struct block *const > blockvector::blocks ( ) const
inline

Definition at line 367 of file block.h.

References blocks(), m_blocks, and m_num_blocks.

◆ global_block() [1/2]

struct block * blockvector::global_block ( )
inline

◆ global_block() [2/2]

const struct block * blockvector::global_block ( ) const
inline

Definition at line 401 of file block.h.

References block(), and GLOBAL_BLOCK.

◆ map() [1/2]

addrmap * blockvector::map ( )
inline

◆ map() [2/2]

const addrmap * blockvector::map ( ) const
inline

Definition at line 417 of file block.h.

References m_map.

◆ num_blocks()

int blockvector::num_blocks ( ) const
inline

◆ set_block()

void blockvector::set_block ( int i,
struct block * block )
inline

Definition at line 382 of file block.h.

References block(), and m_blocks.

Referenced by add_block(), finalize_symtab(), buildsym_compunit::make_blockvector(), and new_symtab().

◆ set_map()

void blockvector::set_map ( addrmap * map)
inline

Definition at line 421 of file block.h.

References m_map, and map().

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

◆ set_num_blocks()

void blockvector::set_num_blocks ( int num_blocks)
inline

Definition at line 389 of file block.h.

References m_num_blocks, and num_blocks().

Referenced by add_block(), finalize_symtab(), buildsym_compunit::make_blockvector(), and new_bvect().

◆ static_block() [1/2]

struct block * blockvector::static_block ( )
inline

◆ static_block() [2/2]

const struct block * blockvector::static_block ( ) const
inline

Definition at line 409 of file block.h.

References block(), and STATIC_BLOCK.

Member Data Documentation

◆ m_blocks

struct block* blockvector::m_blocks[1]
private

Definition at line 434 of file block.h.

Referenced by blocks(), blocks(), and set_block().

◆ m_map

struct addrmap* blockvector::m_map
private

Definition at line 428 of file block.h.

Referenced by map(), map(), and set_map().

◆ m_num_blocks

int blockvector::m_num_blocks
private

Definition at line 431 of file block.h.

Referenced by blocks(), blocks(), num_blocks(), and set_num_blocks().


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