osprey/common/com/dwarf_DST_mem.cxx File Reference

#include "defs.h"
#include "mempool.h"
#include "dwarf_DST_mem.h"
#include "errors.h"
#include "stab.h"

Include dependency graph for dwarf_DST_mem.cxx:

Go to the source code of this file.

Defines

#define USE_DST_INTERNALS
#define NUM_BLOCK_HEADERS   1024
#define BLOCK_SIZE   256
#define DST_CHECK_BLOCK_IDX(b)   (b)
#define DST_CHECK_IDX(i)   (i)

Functions/Subroutines

static voidSymtab_Alloc (size_t bytes, BOOL is_global)
DST_TYPE New_DST (void)
void DST_Init (char *start, INT32 num_blocks)
static void set_current_dst_to_current (void)
static block_header * new_block (DST_BLOCK_KIND kind, INT32 size)
void DST_begin_block (DST_BLOCK_KIND block_kind)
DST_IDX DST_allocate (INT32 size, INT32 align)
void DST_return_to_block (DST_IDX idx)
char * DST_idx_to_string (DST_IDX idx)
static DST_IDX DST_get_block_list (DST_BLOCK_KIND block_kind)
DST_IDX DST_get_include_dirs (void)
DST_IDX DST_get_file_names (void)
DST_IDX DST_get_macro_info (void)
DST_IDX DST_get_compile_unit (void)

Variables

DST_TYPE Current_DST = NULL
DST_Type * current_DST = NULL
const DST_IDX DST_INVALID_IDX = {DST_INVALID_BLOCK_IDX, DST_INVALID_BYTE_IDX}


Define Documentation

#define BLOCK_SIZE   256

Definition at line 84 of file dwarf_DST_mem.cxx.

#define DST_CHECK_BLOCK_IDX ( b   )     (b)

Definition at line 123 of file dwarf_DST_mem.cxx.

Referenced by DST_get_block_list().

#define DST_CHECK_IDX ( i   )     (i)

Definition at line 124 of file dwarf_DST_mem.cxx.

Referenced by DST_idx_to_string(), and DST_return_to_block().

#define NUM_BLOCK_HEADERS   1024

Definition at line 83 of file dwarf_DST_mem.cxx.

Referenced by DST_Init(), and New_DST().

#define USE_DST_INTERNALS

Definition at line 67 of file dwarf_DST_mem.cxx.


Function Documentation

DST_IDX DST_allocate ( INT32  size,
INT32  align 
)

void DST_begin_block ( DST_BLOCK_KIND  block_kind  ) 

static DST_IDX DST_get_block_list ( DST_BLOCK_KIND  block_kind  )  [static]

DST_IDX DST_get_compile_unit ( void   ) 

DST_IDX DST_get_file_names ( void   ) 

DST_IDX DST_get_include_dirs ( void   ) 

DST_IDX DST_get_macro_info ( void   ) 

char* DST_idx_to_string ( DST_IDX  idx  ) 

void DST_Init ( char *  start,
INT32  num_blocks 
)

void DST_return_to_block ( DST_IDX  idx  ) 

static block_header* new_block ( DST_BLOCK_KIND  kind,
INT32  size 
) [static]

DST_TYPE New_DST ( void   ) 

static void set_current_dst_to_current ( void   )  [static]

Definition at line 192 of file dwarf_DST_mem.cxx.

References current_DST.

Referenced by DST_allocate().

static void* Symtab_Alloc ( size_t  bytes,
BOOL  is_global 
) [inline, static]

Definition at line 73 of file dwarf_DST_mem.cxx.

References Pu_Alloc, and Src_Alloc.

Referenced by DST_Init(), and new_block().


Variable Documentation

DST_Type* current_DST = NULL

const DST_IDX DST_INVALID_IDX = {DST_INVALID_BLOCK_IDX, DST_INVALID_BYTE_IDX}

Definition at line 93 of file dwarf_DST_mem.cxx.

Referenced by Add_DST_variable(), construct_transitive_closure(), Create_Func_DST(), Create_MicroTask(), Create_New_DST(), cwh_dst_array_type(), cwh_dst_basetype(), cwh_dst_dope_type(), cwh_dst_enter_pu(), cwh_dst_mk_common(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_func(), cwh_dst_mk_subroutine_type(), cwh_dst_mk_type(), cwh_dst_mk_var(), cwh_dst_mk_variable(), cwh_dst_struct_has_DST(), cwh_dst_struct_type(), DECL_DST_ABSTRACT_ROOT_IDX(), DECL_DST_FIELD_IDX(), DECL_DST_IDX(), DECL_DST_SPECIFICATION_IDX(), DST_Create_Subprogram(), DST_Create_type(), DST_Create_var(), DST_end_PU(), DST_enter_array_type(), DST_enter_cloned_childs(), DST_enter_enum(), DST_enter_member_function(), DST_enter_param_vars(), DST_enter_static_data_mem(), DST_enter_struct_union(), DST_file_scope_iter::DST_file_scope_iter(), DST_first_child(), DST_get_compile_unit_attr(), DST_get_file_name(), DST_get_file_names(), DST_get_include_dir(), DST_get_include_dirs(), DST_get_subprogram_attr(), DST_init_info(), DST_last_child(), DST_mk_array_type(), DST_mk_class_type(), DST_mk_common_block(), DST_mk_compile_unit(), DST_mk_entry_point(), DST_mk_enumeration_type(), DST_mk_file_name(), DST_mk_filename(), DST_mk_formal_parameter(), DST_mk_include_dir(), DST_mk_inlined_subroutine(), DST_mk_lexical_block(), DST_mk_memdef(), DST_mk_name(), DST_mk_string(), DST_mk_structure_type(), DST_mk_subpr_decl(), DST_mk_subpr_def(), DST_mk_subprogram(), DST_mk_subprogram_memdef(), DST_mk_subrange_type(), DST_mk_subroutine_type(), DST_mk_union_type(), DST_mk_variable(), DST_release_from_file_scope_mem(), DST_file_scope_iter::end(), Find_DST_From_ST(), OUTPUT_FUNC_START_PROFILER::Generate_Func_Start_Profiler_PU(), initialize_dst_map(), IP_write_global_symtab(), IPA_Start_Function(), IPO_Clone(), Localize_Variable(), merge_directories_and_files(), merge_subprograms(), DST_file_scope_iter::operator*(), DST_file_scope_iter::operator++(), PU_Info_init(), TYPE_DST_IDX(), and update_pu_dst_indices().


Generated on Wed Apr 8 14:38:09 2009 for Open64 by  doxygen 1.5.6