osprey/common/com/dwarf_DST.h File Reference

#include "dwarf_stuff.h"
#include "dwarf_DST_mem.h"
#include "symtab_idx.h"
#include "srcpos.h"

Include dependency graph for dwarf_DST.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

union  DST_assoc_info
type  DST_const_value
type  DST_include_dir
type  DST_file_name
type  DST_info
type  DST_CHILDREN
type  DST_compile_unit
type  DST_inlined_subroutine
type  DST_subpr_decl
type  DST_subpr_def
type  DST_subpr_memdef
union  DST_subprogram
type  DST_entry_point
type  DST_common_block
type  DST_common_incl
type  DST_lexical_block
type  DST_label
type  DST_var_decl
type  DST_var_def
type  DST_var_const
type  DST_var_comm
type  DST_var_memdef
union  DST_variable
type  DST_formal_parameter
type  DST_unspecified_parameters
type  DST_const_def
type  DST_const_decl
union  DST_constant
type  DST_basetype
type  DST_qualified_type
type  DST_pointer_type
type  DST_typedef
type  DST_array_type
union  DST_cval_ref
type  DST_subrange_type
type  DST_string_type
type  DST_structure_type
type  DST_member
type  DST_inheritance
type  DST_template_type_parameter
type  DST_template_value_parameter
type  DST_enumeration_type
type  DST_enumerator
type  DST_subroutine_type
type  DST_ptr_to_member_type

Defines

#define dwarf_DST_version   0x0
#define DST_no_flag   0x00000000
#define DST_flag_external   0x00000001
#define DST_flag_declaration   0x00000002
#define DST_flag_prototyped   0x00000008
#define DST_flag_memdef   0x00000010
#define DST_flag_const   0x00000020
#define DST_flag_automatic   0x00000040
#define DST_flag_optional_parm   0x00000080
#define DST_flag_variable_parm   0x00000100
#define DST_flag_bitfield   0x00000200
#define DST_flag_comm   0x00000400
#define DST_flag_lb_cval   0x00000800
#define DST_flag_ub_cval   0x00001000
#define DST_flag_cval   0x00002000
#define DST_flag_artificial   0x00004000
#define DST_flag_deref   0x00008000
#define DST_flag_base_deref   0x00010000
#define DST_flag_count   0x00020000
#define DST_flag_stride_1byte   0x00040000
#define DST_flag_stride_2byte   0x00080000
#define DST_flag_f90_pointer   0x00100000
#define DST_flag_allocatable   0x00200000
#define DST_flag_assumed_shape   0x00400000
#define DST_flag_assumed_size   0x00800000
#define DST_flag_assoc_fe   0x10000000
#define DST_flag_assoc_be   0x20000000
#define DST_flag_assoc_idx   0x40000000
#define DST_flag_info_mark   0x80000000
#define DST_flag_static   0x100000000LL
#define DST_flag_mask   0xffffffff
#define DST_SET_external(flag)   (flag |= DST_flag_external)
#define DST_SET_declaration(flag)   (flag |= DST_flag_declaration)
#define DST_SET_prototyped(flag)   (flag |= DST_flag_prototyped)
#define DST_SET_memdef(flag)   (flag |= DST_flag_memdef)
#define DST_SET_const(flag)   (flag |= DST_flag_const)
#define DST_SET_comm(flag)   (flag |= DST_flag_comm)
#define DST_SET_lb_cval(flag)   (flag |= DST_flag_lb_cval)
#define DST_SET_ub_cval(flag)   (flag |= DST_flag_ub_cval)
#define DST_SET_cval(flag)   (flag |= DST_flag_cval)
#define DST_SET_count(flag)   (flag |= DST_flag_count)
#define DST_SET_stride_1byte(flag)   (flag |= DST_flag_stride_1byte)
#define DST_SET_stride_2byte(flag)   (flag |= DST_flag_stride_2byte)
#define DST_SET_artificial(flag)   (flag |= DST_flag_artificial)
#define DST_SET_deref(flag)   (flag |= DST_flag_deref)
#define DST_SET_base_deref(flag)   (flag |= DST_flag_base_deref)
#define DST_SET_automatic(flag)   (flag |= DST_flag_automatic)
#define DST_SET_optional_parm(flag)   (flag |= DST_flag_optional_parm)
#define DST_SET_variable_parm(flag)   (flag |= DST_flag_variable_parm)
#define DST_SET_bitfield(flag)   (flag |= DST_flag_bitfield)
#define DST_SET_f90_pointer(flag)   (flag |= DST_flag_f90_pointer)
#define DST_SET_allocatable(flag)   (flag |= DST_flag_allocatable)
#define DST_SET_assumed_shape(flag)   (flag |= DST_flag_assumed_shape)
#define DST_SET_assumed_size(flag)   (flag |= DST_flag_assumed_size)
#define DST_SET_assoc_fe(flag)   (flag |= DST_flag_assoc_fe)
#define DST_SET_assoc_be(flag)   (flag |= DST_flag_assoc_be)
#define DST_SET_assoc_idx(flag)   (flag |= DST_flag_assoc_idx)
#define DST_SET_info_mark(flag)   (flag |= DST_flag_info_mark)
#define DST_SET_static(flag)   (flag |= DST_flag_static)
#define DST_RESET_all(flag)   (flag &= ~DST_flag_mask)
#define DST_RESET_external(flag)   (flag &= ~DST_flag_external)
#define DST_RESET_declaration(flag)   (flag &= ~DST_flag_declaration)
#define DST_RESET_prototyped(flag)   (flag &= ~DST_flag_prototyped)
#define DST_RESET_memdef(flag)   (flag &= ~DST_flag_memdef)
#define DST_RESET_const(flag)   (flag &= ~DST_flag_const)
#define DST_RESET_comm(flag)   (flag &= ~DST_flag_comm)
#define DST_RESET_lb_cval(flag)   (flag &= ~DST_flag_lb_cval)
#define DST_RESET_ub_cval(flag)   (flag &= ~DST_flag_ub_cval)
#define DST_RESET_cval(flag)   (flag &= ~DST_flag_cval)
#define DST_RESET_count(flag)   (flag &= ~DST_flag_count)
#define DST_RESET_stride_1byte(flag)   (flag &= ~DST_flag_stride_1byte)
#define DST_RESET_stride_2byte(flag)   (flag &= ~DST_flag_stride_2byte)
#define DST_RESET_artificial(flag)   (flag &= ~DST_flag_artificial)
#define DST_RESET_deref(flag)   (flag &= ~DST_flag_deref)
#define DST_RESET_base_deref(flag)   (flag &= ~DST_flag_base_deref)
#define DST_RESET_automatic(flag)   (flag &= ~DST_flag_automatic)
#define DST_RESET_optional_parm(flag)   (flag &= ~DST_flag_optional_parm)
#define DST_RESET_variable_parm(flag)   (flag &= ~DST_flag_variable_parm)
#define DST_RESET_bitfield(flag)   (flag &= ~DST_flag_bitfield)
#define DST_RESET_f90_pointer(flag)   (flag &= ~DST_flag_f90_pointer)
#define DST_RESET_allocatable(flag)   (flag &= ~DST_flag_allocatable)
#define DST_RESET_assumed_shape(flag)   (flag &= ~DST_flag_assumed_shape)
#define DST_RESET_assumed_size(flag)   (flag &= ~DST_flag_assumed_size)
#define DST_RESET_assoc_fe(flag)   (flag &= ~DST_flag_assoc_fe)
#define DST_RESET_assoc_be(flag)   (flag &= ~DST_flag_assoc_be)
#define DST_RESET_assoc_idx(flag)   (flag &= ~DST_flag_assoc_idx)
#define DST_RESET_info_mark(flag)   (flag &= ~DST_flag_info_mark)
#define DST_RESET_static(flag)   (flag &= ~DST_flag_static)
#define DST_IS_external(flag)   (flag & DST_flag_external)
#define DST_IS_declaration(flag)   (flag & DST_flag_declaration)
#define DST_IS_prototyped(flag)   (flag & DST_flag_prototyped)
#define DST_IS_memdef(flag)   (flag & DST_flag_memdef)
#define DST_IS_const(flag)   (flag & DST_flag_const)
#define DST_IS_comm(flag)   (flag & DST_flag_comm)
#define DST_IS_lb_cval(flag)   (flag & DST_flag_lb_cval)
#define DST_IS_ub_cval(flag)   (flag & DST_flag_ub_cval)
#define DST_IS_cval(flag)   (flag & DST_flag_cval)
#define DST_IS_count(flag)   (flag & DST_flag_count)
#define DST_IS_stride_1byte(flag)   (flag & DST_flag_stride_1byte)
#define DST_IS_stride_2byte(flag)   (flag & DST_flag_stride_2byte)
#define DST_IS_artificial(flag)   (flag & DST_flag_artificial)
#define DST_IS_deref(flag)   (flag & DST_flag_deref)
#define DST_IS_base_deref(flag)   (flag & DST_flag_base_deref)
#define DST_IS_automatic(flag)   (flag & DST_flag_automatic)
#define DST_IS_optional_parm(flag)   (flag & DST_flag_optional_parm)
#define DST_IS_variable_parm(flag)   (flag & DST_flag_variable_parm)
#define DST_IS_bitfield(flag)   (flag & DST_flag_bitfield)
#define DST_IS_f90_pointer(flag)   (flag & DST_flag_f90_pointer)
#define DST_IS_allocatable(flag)   (flag & DST_flag_allocatable)
#define DST_IS_assumed_shape(flag)   (flag & DST_flag_assumed_shape)
#define DST_IS_assumed_size(flag)   (flag & DST_flag_assumed_size)
#define DST_IS_assoc_fe(flag)   (flag & DST_flag_assoc_fe)
#define DST_IS_assoc_be(flag)   (flag & DST_flag_assoc_be)
#define DST_IS_assoc_idx(flag)   (flag & DST_flag_assoc_idx)
#define DST_IS_info_mark(flag)   (flag & DST_flag_info_mark)
#define DST_IS_static(flag)   (flag & DST_flag_static)
#define DST_ASSOC_INFO_st_idx(p)   ((p).st_idx)
#define DST_ASSOC_INFO_st_level(p)   (ST_IDX_level((p).st_idx))
#define DST_ASSOC_INFO_st_index(p)   (ST_IDX_index((p).st_idx))
#define DST_ASSOC_INFO_st_ptr(p)   ((p).st_ptr)
#define DST_ASSOC_INFO_fe_ptr(p)   ((p).st_u.fe_ptr)
#define pDST_ASSOC_INFO_st_idx(p)   ((p)->st_idx)
#define pDST_ASSOC_INFO_st_level(p)   (ST_IDX_level((p)->st_idx))
#define pDST_ASSOC_INFO_st_index(p)   (ST_IDX_index((p)->st_idx))
#define pDST_ASSOC_INFO_st_ptr(p)   ((p)->st_ptr)
#define pDST_ASSOC_INFO_fe_ptr(p)   ((p)->st_u.fe_ptr)
#define DST_CONST_VALUE_form(c)   ((c).form)
#define DST_CONST_VALUE_form_string(c)   ((c).value.form_string)
#define DST_CONST_VALUE_form_data1(c)   ((c).value.form_data1)
#define DST_CONST_VALUE_form_data2(c)   ((c).value.form_data2)
#define DST_CONST_VALUE_form_data4(c)   ((c).value.form_data4)
#define DST_CONST_VALUE_form_data8(c)   ((c).value.form_data8)
#define DST_INCLUDE_DIR_path(dir)   ((dir)->path)
#define DST_INCLUDE_DIR_next(dir)   ((dir)->next)
#define DST_FILE_NAME_name(f)   ((f)->name)
#define DST_FILE_NAME_dir(f)   ((f)->dir)
#define DST_FILE_NAME_size(f)   ((f)->size)
#define DST_FILE_NAME_modt(f)   ((f)->modt)
#define DST_FILE_NAME_next(f)   ((f)->next)
#define DST_INFO_tag(info)   ((info)->tag)
#define DST_INFO_flag(info)   ((info)->flag)
#define DST_INFO_sibling(info)   ((info)->sibling)
#define DST_INFO_attributes(info)   ((info)->attributes)
#define DST_INFO_dieptr(info)   ((info)->dieptr)
#define DST_COMPILE_UNIT_name(attr)   ((attr)->name)
#define DST_COMPILE_UNIT_comp_dir(attr)   ((attr)->comp_dir)
#define DST_COMPILE_UNIT_producer(attr)   ((attr)->producer)
#define DST_COMPILE_UNIT_language(attr)   ((attr)->language)
#define DST_COMPILE_UNIT_identifier_case(attr)   ((attr)->identifier_case)
#define DST_COMPILE_UNIT_first_child(attr)   ((attr)->child.first)
#define DST_COMPILE_UNIT_last_child(attr)   ((attr)->child.last)
#define DST_INLINED_SUBROUTINE_low_pc(attr)   ((attr)->low_pc)
#define DST_INLINED_SUBROUTINE_high_pc(attr)   ((attr)->high_pc)
#define DST_INLINED_SUBROUTINE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_INLINED_SUBROUTINE_first_child(attr)   ((attr)->child.first)
#define DST_INLINED_SUBROUTINE_last_child(attr)   ((attr)->child.last)
#define DST_INLINED_SUBROUTINE_decl(attr)   ((attr)->decl)
#define DST_INLINED_SUBROUTINE_abstract_name(attr)   ((attr)->abstract_name)
#define DST_SUBPROGRAM_memdef_decl(attr)   ((attr)->memdef.decl)
#define DST_SUBPROGRAM_memdef_spec(attr)   ((attr)->memdef.spec)
#define DST_SUBPROGRAM_memdef_st(attr)   ((attr)->memdef.st)
#define DST_SUBPROGRAM_memdef_first_child(attr)   ((attr)->memdef.child.first)
#define DST_SUBPROGRAM_memdef_last_child(attr)   ((attr)->memdef.child.last)
#define DST_SUBPROGRAM_decl_decl(attr)   ((attr)->decl.decl)
#define DST_SUBPROGRAM_decl_name(attr)   ((attr)->decl.name)
#define DST_SUBPROGRAM_decl_linkage_name(attr)   ((attr)->decl.linkage_name)
#define DST_SUBPROGRAM_decl_type(attr)   ((attr)->decl.type)
#define DST_SUBPROGRAM_decl_inline(attr)   ((attr)->decl.inlin)
#define DST_SUBPROGRAM_decl_virtuality(attr)   ((attr)->decl.virtuality)
#define DST_SUBPROGRAM_decl_vtable_elem_location(attr)   ((attr)->decl.vtable_elem_location)
#define DST_SUBPROGRAM_decl_first_child(attr)   ((attr)->decl.child.first)
#define DST_SUBPROGRAM_decl_last_child(attr)   ((attr)->decl.child.last)
#define DST_SUBPROGRAM_decl_origin(attr)   ((attr)->decl.origin)
#define DST_SUBPROGRAM_def_decl(attr)   ((attr)->def.decl)
#define DST_SUBPROGRAM_def_name(attr)   ((attr)->def.name)
#define DST_SUBPROGRAM_def_linkage_name(attr)   ((attr)->def.linkage_name)
#define DST_SUBPROGRAM_def_pubname(attr)   ((attr)->def.pubname)
#define DST_SUBPROGRAM_def_type(attr)   ((attr)->def.type)
#define DST_SUBPROGRAM_def_st(attr)   ((attr)->def.st)
#define DST_SUBPROGRAM_def_inline(attr)   ((attr)->def.inlin)
#define DST_SUBPROGRAM_def_virtuality(attr)   ((attr)->def.virtuality)
#define DST_SUBPROGRAM_def_vtable_elem_location(attr)   ((attr)->def.vtable_elem_location)
#define DST_SUBPROGRAM_def_specification(attr)   ((attr)->def.specification)
#define DST_SUBPROGRAM_def_first_child(attr)   ((attr)->def.child.first)
#define DST_SUBPROGRAM_def_last_child(attr)   ((attr)->def.child.last)
#define DST_SUBPROGRAM_def_clone_origin(attr)   ((attr)->def.origin)
#define DST_ENTRY_POINT_decl(attr)   ((attr)->decl)
#define DST_ENTRY_POINT_name(attr)   ((attr)->name)
#define DST_ENTRY_POINT_type(attr)   ((attr)->type)
#define DST_ENTRY_POINT_st(attr)   ((attr)->st)
#define DST_ENTRY_POINT_first_child(attr)   ((attr)->child.first)
#define DST_ENTRY_POINT_last_child(attr)   ((attr)->child.last)
#define DST_COMMON_BLOCK_name(attr)   ((attr)->name)
#define DST_COMMON_BLOCK_st(attr)   ((attr)->st)
#define DST_COMMON_BLOCK_first_child(attr)   ((attr)->child.first)
#define DST_COMMON_BLOCK_last_child(attr)   ((attr)->child.last)
#define DST_COMMON_INCL_decl(attr)   ((attr)->decl)
#define DST_COMMON_INCL_com_blk(attr)   ((attr)->com_blk)
#define DST_LEXICAL_BLOCK_name(attr)   ((attr)->name)
#define DST_LEXICAL_BLOCK_low_pc(attr)   ((attr)->low_pc)
#define DST_LEXICAL_BLOCK_high_pc(attr)   ((attr)->high_pc)
#define DST_LEXICAL_BLOCK_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_LEXICAL_BLOCK_first_child(attr)   ((attr)->child.first)
#define DST_LEXICAL_BLOCK_last_child(attr)   ((attr)->child.last)
#define DST_LABEL_name(attr)   ((attr)->name)
#define DST_LABEL_low_pc(attr)   ((attr)->low_pc)
#define DST_LABEL_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_VARIABLE_decl_decl(attr)   ((attr)->decl.decl)
#define DST_VARIABLE_decl_name(attr)   ((attr)->decl.name)
#define DST_VARIABLE_decl_type(attr)   ((attr)->decl.type)
#define DST_VARIABLE_def_decl(attr)   ((attr)->def.decl)
#define DST_VARIABLE_def_name(attr)   ((attr)->def.name)
#define DST_VARIABLE_def_type(attr)   ((attr)->def.type)
#define DST_VARIABLE_def_st(attr)   ((attr)->def.st)
#define DST_VARIABLE_def_offs(attr)   ((attr)->def.offs)
#define DST_VARIABLE_def_specification(attr)   ((attr)->def.specification)
#define DST_VARIABLE_def_abstract_origin(attr)   ((attr)->def.abstract_origin)
#define DST_VARIABLE_def_dopetype(attr)   ((attr)->def.dopetype)
#define DST_VARIABLE_constant_decl(attr)   ((attr)->constant.decl)
#define DST_VARIABLE_constant_name(attr)   ((attr)->constant.name)
#define DST_VARIABLE_constant_type(attr)   ((attr)->constant.type)
#define DST_VARIABLE_constant_cval(attr)   ((attr)->constant.cval)
#define DST_VARIABLE_comm_decl(attr)   ((attr)->comm.decl)
#define DST_VARIABLE_comm_name(attr)   ((attr)->comm.name)
#define DST_VARIABLE_comm_type(attr)   ((attr)->comm.type)
#define DST_VARIABLE_comm_st(attr)   ((attr)->comm.st)
#define DST_VARIABLE_comm_offs(attr)   ((attr)->comm.offs)
#define DST_VARIABLE_comm_dopetype(attr)   ((attr)->comm.dopetype)
#define DST_VARIABLE_memdef_decl(attr)   ((attr)->memdef.decl)
#define DST_VARIABLE_memdef_st(attr)   ((attr)->memdef.st)
#define DST_VARIABLE_memdef_spec(attr)   ((attr)->memdef.spec)
#define DST_FORMAL_PARAMETER_decl(attr)   ((attr)->decl)
#define DST_FORMAL_PARAMETER_name(attr)   ((attr)->name)
#define DST_FORMAL_PARAMETER_type(attr)   ((attr)->type)
#define DST_FORMAL_PARAMETER_st(attr)   ((attr)->st)
#define DST_FORMAL_PARAMETER_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_FORMAL_PARAMETER_default_val(attr)   ((attr)->default_val)
#define DST_FORMAL_PARAMETER_dopetype(attr)   ((attr)->dopetype)
#define DST_UNSPECIFIED_PARAMETERS_decl(attr)   ((attr)->decl)
#define DST_UNSPECIFIED_PARAMETERS_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_CONSTANT_decl_decl(attr)   ((attr)->decl.decl)
#define DST_CONSTANT_decl_name(attr)   ((attr)->decl.name)
#define DST_CONSTANT_decl_type(attr)   ((attr)->decl.type)
#define DST_CONSTANT_def_decl(attr)   ((attr)->def.decl)
#define DST_CONSTANT_def_name(attr)   ((attr)->def.name)
#define DST_CONSTANT_def_type(attr)   ((attr)->def.type)
#define DST_CONSTANT_def_cval(attr)   ((attr)->def.cval)
#define DST_BASETYPE_name(attr)   ((attr)->name)
#define DST_BASETYPE_encoding(attr)   ((attr)->encoding)
#define DST_BASETYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_CONST_TYPE_type(attr)   ((attr)->type)
#define DST_VOLATILE_TYPE_type(attr)   ((attr)->type)
#define DST_POINTER_TYPE_type(attr)   ((attr)->type)
#define DST_POINTER_TYPE_address_class(attr)   ((attr)->address_class)
#define DST_POINTER_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_REFERENCE_TYPE_type(attr)   ((attr)->type)
#define DST_REFERENCE_TYPE_address_class(attr)   ((attr)->address_class)
#define DST_REFERENCE_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_TYPEDEF_decl(attr)   ((attr)->decl)
#define DST_TYPEDEF_name(attr)   ((attr)->name)
#define DST_TYPEDEF_type(attr)   ((attr)->type)
#define DST_TYPEDEF_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_ARRAY_TYPE_decl(attr)   ((attr)->decl)
#define DST_ARRAY_TYPE_name(attr)   ((attr)->name)
#define DST_ARRAY_TYPE_type(attr)   ((attr)->type)
#define DST_ARRAY_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_ARRAY_TYPE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_ARRAY_TYPE_first_child(attr)   ((attr)->child.first)
#define DST_ARRAY_TYPE_last_child(attr)   ((attr)->child.last)
#define DST_SUBRANGE_TYPE_count(attr)   ((attr)->upper.cval - (attr)->lower.cval + 1)
#define DST_SUBRANGE_TYPE_lower_cval(attr)   ((attr)->lower.cval)
#define DST_SUBRANGE_TYPE_upper_cval(attr)   ((attr)->upper.cval)
#define DST_SUBRANGE_TYPE_lower_ref(attr)   ((attr)->lower.ref)
#define DST_SUBRANGE_TYPE_upper_ref(attr)   ((attr)->upper.ref)
#define DST_SUBRANGE_TYPE_stride_ref(attr)   ((attr)->stride.ref)
#define DST_STRING_TYPE_decl(attr)   ((attr)->decl)
#define DST_STRING_TYPE_name(attr)   ((attr)->name)
#define DST_STRING_TYPE_len_cval(attr)   ((attr)->len.cval)
#define DST_STRING_TYPE_len_ref(attr)   ((attr)->len.ref)
#define DST_STRUCTURE_TYPE_decl(attr)   ((attr)->decl)
#define DST_STRUCTURE_TYPE_name(attr)   ((attr)->name)
#define DST_STRUCTURE_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_STRUCTURE_TYPE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_STRUCTURE_TYPE_inheritance(attr)   ((attr)->inheritance)
#define DST_STRUCTURE_TYPE_first_child(attr)   ((attr)->child.first)
#define DST_STRUCTURE_TYPE_last_child(attr)   ((attr)->child.last)
#define DST_UNION_TYPE_decl(attr)   ((attr)->decl)
#define DST_UNION_TYPE_name(attr)   ((attr)->name)
#define DST_UNION_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_UNION_TYPE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_UNION_TYPE_inheritance(attr)   ((attr)->inheritance)
#define DST_UNION_TYPE_first_child(attr)   ((attr)->child.first)
#define DST_UNION_TYPE_last_child(attr)   ((attr)->child.last)
#define DST_CLASS_TYPE_decl(attr)   ((attr)->decl)
#define DST_CLASS_TYPE_name(attr)   ((attr)->name)
#define DST_CLASS_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_CLASS_TYPE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_CLASS_TYPE_inheritance(attr)   ((attr)->inheritance)
#define DST_CLASS_TYPE_first_child(attr)   ((attr)->child.first)
#define DST_CLASS_TYPE_last_child(attr)   ((attr)->child.last)
#define DST_MEMBER_decl(attr)   ((attr)->decl)
#define DST_MEMBER_name(attr)   ((attr)->name)
#define DST_MEMBER_type(attr)   ((attr)->type)
#define DST_MEMBER_memb_loc(attr)   ((attr)->memb_loc)
#define DST_MEMBER_byte_size(attr)   ((attr)->byte_size)
#define DST_MEMBER_bit_offset(attr)   ((attr)->bit_offset)
#define DST_MEMBER_bit_size(attr)   ((attr)->bit_size)
#define DST_MEMBER_dopetype(attr)   ((attr)->dopetype)
#define DST_INHERITANCE_decl(attr)   ((attr)->decl)
#define DST_INHERITANCE_type(attr)   ((attr)->type)
#define DST_INHERITANCE_virtuality(attr)   ((attr)->virtuality)
#define DST_INHERITANCE_memb_loc(attr)   ((attr)->memb_loc)
#define DST_TEMPLATE_TYPE_PARAMETER_decl(attr)   ((attr)->decl)
#define DST_TEMPLATE_TYPE_PARAMETER_name(attr)   ((attr)->name)
#define DST_TEMPLATE_TYPE_PARAMETER_type(attr)   ((attr)->type)
#define DST_TEMPLATE_VALUE_PARAMETER_decl(attr)   ((attr)->decl)
#define DST_TEMPLATE_VALUE_PARAMETER_name(attr)   ((attr)->name)
#define DST_TEMPLATE_VALUE_PARAMETER_type(attr)   ((attr)->type)
#define DST_TEMPLATE_VALUE_PARAMETER_cval(attr)   ((attr)->cval)
#define DST_ENUMERATION_TYPE_decl(attr)   ((attr)->decl)
#define DST_ENUMERATION_TYPE_name(attr)   ((attr)->name)
#define DST_ENUMERATION_TYPE_byte_size(attr)   ((attr)->byte_size)
#define DST_ENUMERATION_TYPE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_ENUMERATION_TYPE_first_child(attr)   ((attr)->child.first)
#define DST_ENUMERATION_TYPE_last_child(attr)   ((attr)->child.last)
#define DST_ENUMERATOR_decl(attr)   ((attr)->decl)
#define DST_ENUMERATOR_name(attr)   ((attr)->name)
#define DST_ENUMERATOR_cval(attr)   ((attr)->cval)
#define DST_SUBROUTINE_TYPE_decl(attr)   ((attr)->decl)
#define DST_SUBROUTINE_TYPE_name(attr)   ((attr)->name)
#define DST_SUBROUTINE_TYPE_type(attr)   ((attr)->type)
#define DST_SUBROUTINE_TYPE_abstract_origin(attr)   ((attr)->abstract_origin)
#define DST_SUBROUTINE_TYPE_first_child(attr)   ((attr)->child.first)
#define DST_SUBROUTINE_TYPE_last_child(attr)   ((attr)->child.last)
#define DST_PTR_TO_MEMBER_TYPE_name(attr)   ((attr)->name)
#define DST_PTR_TO_MEMBER_TYPE_type(attr)   ((attr)->type)
#define DST_PTR_TO_MEMBER_TYPE_class_type(attr)   ((attr)->class_type)
#define DST_IDX_TO_PTR(i, btype)   ((btype *)DST_idx_to_string(i))
#define DST_INFO_IDX_TO_PTR(i)   ((DST_INFO *)DST_idx_to_string(i))
#define DST_ATTR_IDX_TO_PTR(i, attr_struct)   DST_IDX_TO_PTR(i, attr_struct)
#define DST_FILE_IDX_TO_PTR(i)   ((DST_FILE_NAME *)DST_idx_to_string(i))
#define DST_DIR_IDX_TO_PTR(i)   ((DST_INCLUDE_DIR *)DST_idx_to_string(i))
#define DST_STR_IDX_TO_PTR(i)   ((char *)DST_idx_to_string(i))

Typedefs

typedef UINT64 DST_flag
typedef UINT16 DST_DW_tag
typedef UINT8 DST_ATE_encoding
typedef UINT8 DST_addr_class
typedef UINT16 DST_language
typedef UINT16 DST_identifier_case
typedef UINT8 DST_inline
typedef UINT8 DST_virtuality
typedef UINT16 DST_vtable_elem_location
typedef UINT8 DST_bitsize
typedef UINT64 DST_size_t
typedef INT64 DST_bounds_t
typedef voidDST_die_ptr
typedef DST_IDX DST_INFO_IDX
typedef DST_IDX DST_ATTR_IDX
typedef DST_IDX DST_FILE_IDX
typedef DST_IDX DST_DIR_IDX
typedef DST_IDX DST_MACR_IDX
typedef DST_IDX DST_STR_IDX
typedef union DST_assoc_info DST_ASSOC_INFO
typedef enum DST_const_form DST_CONST_FORM
typedef struct DST_const_value DST_CONST_VALUE
typedef struct DST_include_dir DST_INCLUDE_DIR
typedef struct DST_file_name DST_FILE_NAME
typedef struct DST_info DST_INFO
typedef struct DST_compile_unit DST_COMPILE_UNIT
typedef struct
DST_inlined_subroutine 
DST_INLINED_SUBROUTINE
typedef struct DST_subpr_decl DST_SUBPR_DECL
typedef struct DST_subpr_def DST_SUBPR_DEF
typedef struct DST_subpr_memdef DST_SUBPR_MEMDEF
typedef union DST_subprogram DST_SUBPROGRAM
typedef struct DST_entry_point DST_ENTRY_POINT
typedef struct DST_common_block DST_COMMON_BLOCK
typedef struct DST_common_incl DST_COMMON_INCL
typedef struct DST_lexical_block DST_LEXICAL_BLOCK
typedef struct DST_label DST_LABEL
typedef struct DST_var_decl DST_VAR_DECL
typedef struct DST_var_def DST_VAR_DEF
typedef struct DST_var_const DST_VAR_CONST
typedef struct DST_var_comm DST_VAR_COMM
typedef struct DST_var_memdef DST_VAR_MEMDEF
typedef union DST_variable DST_VARIABLE
typedef struct DST_formal_parameter DST_FORMAL_PARAMETER
typedef struct
DST_unspecified_parameters 
DST_UNSPECIFIED_PARAMETERS
typedef struct DST_const_def DST_CONST_DEF
typedef struct DST_const_decl DST_CONST_DECL
typedef union DST_constant DST_CONSTANT
typedef struct DST_basetype DST_BASETYPE
typedef struct DST_qualified_type DST_QUALIFIED_TYPE
typedef DST_QUALIFIED_TYPE DST_CONST_TYPE
typedef DST_QUALIFIED_TYPE DST_VOLATILE_TYPE
typedef struct DST_pointer_type DST_POINTER_TYPE
typedef DST_POINTER_TYPE DST_REFERENCE_TYPE
typedef struct DST_typedef DST_TYPEDEF
typedef struct DST_array_type DST_ARRAY_TYPE
typedef struct DST_subrange_type DST_SUBRANGE_TYPE
typedef struct DST_string_type DST_STRING_TYPE
typedef struct DST_structure_type DST_STRUCTURE_TYPE
typedef DST_STRUCTURE_TYPE DST_UNION_TYPE
typedef DST_STRUCTURE_TYPE DST_CLASS_TYPE
typedef struct DST_member DST_MEMBER
typedef struct DST_inheritance DST_INHERITANCE
typedef struct
DST_template_type_parameter 
DST_TEMPLATE_TYPE_PARAMETER
typedef struct
DST_template_value_parameter 
DST_TEMPLATE_VALUE_PARAMETER
typedef struct DST_enumeration_type DST_ENUMERATION_TYPE
typedef struct DST_enumerator DST_ENUMERATOR
typedef struct DST_subroutine_type DST_SUBROUTINE_TYPE
typedef struct
DST_ptr_to_member_type 
DST_PTR_TO_MEMBER_TYPE

Enumerations

enum  DST_const_form {
  DST_FORM_STRING, DST_FORM_DATA1, DST_FORM_DATA2, DST_FORM_DATA4,
  DST_FORM_DATA8
}

Functions/Subroutines

DST_INFO_IDX DST_first_child (DST_INFO_IDX parent)
DST_INFO_IDX DST_last_child (DST_INFO_IDX parent)
void DST_append_child (DST_INFO_IDX parent, DST_INFO_IDX child)
void DST_preorder_visit (DST_INFO_IDX i, INT32 init_val, INT32(*action)(INT32, DST_DW_tag, DST_flag, DST_ATTR_IDX, DST_INFO_IDX))


Define Documentation

#define DST_ARRAY_TYPE_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 958 of file dwarf_DST.h.

Referenced by DST_mk_array_type(), DST_put_array_type(), and get_abstract_origin().

#define DST_ARRAY_TYPE_byte_size ( attr   )     ((attr)->byte_size)

#define DST_ARRAY_TYPE_decl ( attr   )     ((attr)->decl)

#define DST_ARRAY_TYPE_first_child ( attr   )     ((attr)->child.first)

Definition at line 959 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_array_type().

#define DST_ARRAY_TYPE_last_child ( attr   )     ((attr)->child.last)

Definition at line 960 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_array_type().

#define DST_ARRAY_TYPE_name ( attr   )     ((attr)->name)

Definition at line 955 of file dwarf_DST.h.

Referenced by DST_mk_array_type(), DST_put_array_type(), and put_array_type().

#define DST_ARRAY_TYPE_type ( attr   )     ((attr)->type)

#define DST_ASSOC_INFO_fe_ptr ( p   )     ((p).st_u.fe_ptr)

Definition at line 275 of file dwarf_DST.h.

#define DST_ASSOC_INFO_st_idx ( p   )     ((p).st_idx)

#define DST_ASSOC_INFO_st_index ( p   )     (ST_IDX_index((p).st_idx))

#define DST_ASSOC_INFO_st_level ( p   )     (ST_IDX_level((p).st_idx))

#define DST_ASSOC_INFO_st_ptr ( p   )     ((p).st_ptr)

Definition at line 273 of file dwarf_DST.h.

#define DST_ATTR_IDX_TO_PTR ( i,
attr_struct   )     DST_IDX_TO_PTR(i, attr_struct)

Definition at line 1233 of file dwarf_DST.h.

Referenced by Add_DST_variable(), Cg_Dwarf_Process_PU(), Create_Func_DST(), Create_New_DST(), cwh_dst_dope_bounds(), cwh_dst_member(), cwh_dst_mk_common(), cwh_dst_mk_formal(), cwh_dst_mk_variable(), DRA_Mangle_All(), DST_add_linkage_name_to_subprogram(), DST_add_pubname_to_subprogram(), DST_add_specification_to_subprogram(), DST_add_specification_to_variable(), DST_dump_info(), DST_enter_cloned_childs(), DST_enter_cloned_subroutine(), DST_enter_inlined_subroutine(), DST_get_cross_file_id(), DST_get_ptr_to_firstChildField(), DST_get_ptr_to_lastChildField(), DST_mk_array_type(), DST_mk_basetype(), DST_mk_class_type(), DST_mk_common_block(), DST_mk_common_incl(), DST_mk_compile_unit(), DST_mk_const_type(), DST_mk_constant_decl(), DST_mk_constant_def(), DST_mk_entry_point(), DST_mk_enumeration_type(), DST_mk_enumerator(), DST_mk_formal_parameter(), DST_mk_inheritance(), DST_mk_inlined_subroutine(), DST_mk_label(), DST_mk_lexical_block(), DST_mk_member(), DST_mk_pointer_type(), DST_mk_ptr_to_member_type(), DST_mk_reference_type(), DST_mk_string_type(), DST_mk_structure_type(), DST_mk_subprogram(), DST_mk_subprogram_memdef(), DST_mk_subrange_type(), DST_mk_subroutine_type(), DST_mk_template_type_parameter(), DST_mk_template_value_parameter(), DST_mk_typedef(), DST_mk_union_type(), DST_mk_unspecified_parameters(), DST_mk_variable(), DST_mk_variable_comm(), DST_mk_variable_const(), DST_mk_variable_memdef(), DST_mk_volatile_type(), DST_set_assoc_idx(), Find_DST_From_ST(), get_abstract_origin(), Get_Dwarf_Language(), Get_Orig_PU_Name(), preorder_visit(), put_string_type(), put_subprogram(), remap_dst_entry(), Traverse_DST(), Traverse_Extra_DST(), and Write_Attributes().

#define DST_BASETYPE_byte_size ( attr   )     ((attr)->byte_size)

Definition at line 866 of file dwarf_DST.h.

Referenced by DST_mk_basetype(), DST_put_basetype(), and put_basetype().

#define DST_BASETYPE_encoding ( attr   )     ((attr)->encoding)

Definition at line 865 of file dwarf_DST.h.

Referenced by DST_mk_basetype(), DST_put_basetype(), and put_basetype().

#define DST_BASETYPE_name ( attr   )     ((attr)->name)

Definition at line 864 of file dwarf_DST.h.

Referenced by DST_mk_basetype(), and put_basetype().

#define DST_CLASS_TYPE_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 1050 of file dwarf_DST.h.

Referenced by DST_mk_class_type(), DST_put_class_type(), and get_abstract_origin().

#define DST_CLASS_TYPE_byte_size ( attr   )     ((attr)->byte_size)

#define DST_CLASS_TYPE_decl ( attr   )     ((attr)->decl)

#define DST_CLASS_TYPE_first_child ( attr   )     ((attr)->child.first)

Definition at line 1052 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_class_type().

#define DST_CLASS_TYPE_inheritance ( attr   )     ((attr)->inheritance)

Definition at line 1051 of file dwarf_DST.h.

#define DST_CLASS_TYPE_last_child ( attr   )     ((attr)->child.last)

Definition at line 1053 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_class_type().

#define DST_CLASS_TYPE_name ( attr   )     ((attr)->name)

Definition at line 1048 of file dwarf_DST.h.

Referenced by DST_mk_class_type(), DST_put_class_type(), and put_class_type().

#define DST_COMMON_BLOCK_first_child ( attr   )     ((attr)->child.first)

Definition at line 601 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_common_block().

#define DST_COMMON_BLOCK_last_child ( attr   )     ((attr)->child.last)

Definition at line 602 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_common_block().

#define DST_COMMON_BLOCK_name ( attr   )     ((attr)->name)

Definition at line 599 of file dwarf_DST.h.

Referenced by DST_mk_common_block(), and put_common_block().

#define DST_COMMON_BLOCK_st ( attr   )     ((attr)->st)

#define DST_COMMON_INCL_com_blk ( attr   )     ((attr)->com_blk)

Definition at line 615 of file dwarf_DST.h.

Referenced by DST_mk_common_incl(), DST_put_common_inclusion(), and put_common_inclusion().

#define DST_COMMON_INCL_decl ( attr   )     ((attr)->decl)

Definition at line 614 of file dwarf_DST.h.

Referenced by DST_mk_common_incl(), DST_put_common_inclusion(), and put_common_inclusion().

#define DST_COMPILE_UNIT_comp_dir ( attr   )     ((attr)->comp_dir)

#define DST_COMPILE_UNIT_first_child ( attr   )     ((attr)->child.first)

#define DST_COMPILE_UNIT_identifier_case ( attr   )     ((attr)->identifier_case)

#define DST_COMPILE_UNIT_language ( attr   )     ((attr)->language)

#define DST_COMPILE_UNIT_last_child ( attr   )     ((attr)->child.last)

#define DST_COMPILE_UNIT_name ( attr   )     ((attr)->name)

#define DST_COMPILE_UNIT_producer ( attr   )     ((attr)->producer)

#define DST_CONST_TYPE_type ( attr   )     ((attr)->type)

Definition at line 879 of file dwarf_DST.h.

Referenced by DST_mk_const_type(), DST_put_const_type(), and put_const_type().

#define DST_CONST_VALUE_form ( c   )     ((c).form)

#define DST_CONST_VALUE_form_data1 ( c   )     ((c).value.form_data1)

Definition at line 334 of file dwarf_DST.h.

Referenced by cwh_dst_mk_const(), DST_put_const_attribute(), and put_const_attribute().

#define DST_CONST_VALUE_form_data2 ( c   )     ((c).value.form_data2)

Definition at line 335 of file dwarf_DST.h.

Referenced by cwh_dst_mk_const(), DST_put_const_attribute(), and put_const_attribute().

#define DST_CONST_VALUE_form_data4 ( c   )     ((c).value.form_data4)

#define DST_CONST_VALUE_form_data8 ( c   )     ((c).value.form_data8)

#define DST_CONST_VALUE_form_string ( c   )     ((c).value.form_string)

Definition at line 333 of file dwarf_DST.h.

Referenced by cwh_dst_mk_const(), DST_put_const_attribute(), and put_const_attribute().

#define DST_CONSTANT_decl_decl ( attr   )     ((attr)->decl.decl)

Definition at line 844 of file dwarf_DST.h.

Referenced by DST_mk_constant_decl().

#define DST_CONSTANT_decl_name ( attr   )     ((attr)->decl.name)

Definition at line 845 of file dwarf_DST.h.

Referenced by DST_mk_constant_decl().

#define DST_CONSTANT_decl_type ( attr   )     ((attr)->decl.type)

Definition at line 846 of file dwarf_DST.h.

Referenced by DST_mk_constant_decl().

#define DST_CONSTANT_def_cval ( attr   )     ((attr)->def.cval)

Definition at line 851 of file dwarf_DST.h.

Referenced by DST_mk_constant_def(), DST_put_constant(), put_constant(), and put_variable().

#define DST_CONSTANT_def_decl ( attr   )     ((attr)->def.decl)

Definition at line 848 of file dwarf_DST.h.

Referenced by DST_mk_constant_def(), DST_put_constant(), put_constant(), and put_variable().

#define DST_CONSTANT_def_name ( attr   )     ((attr)->def.name)

Definition at line 849 of file dwarf_DST.h.

Referenced by DST_mk_constant_def(), DST_put_constant(), put_constant(), and put_variable().

#define DST_CONSTANT_def_type ( attr   )     ((attr)->def.type)

Definition at line 850 of file dwarf_DST.h.

Referenced by DST_mk_constant_def(), DST_put_constant(), put_constant(), and put_variable().

#define DST_DIR_IDX_TO_PTR ( i   )     ((DST_INCLUDE_DIR *)DST_idx_to_string(i))

#define DST_ENTRY_POINT_decl ( attr   )     ((attr)->decl)

Definition at line 582 of file dwarf_DST.h.

Referenced by DST_mk_entry_point(), DST_put_entry_point(), and put_entry_point().

#define DST_ENTRY_POINT_first_child ( attr   )     ((attr)->child.first)

Definition at line 586 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_entry_point().

#define DST_ENTRY_POINT_last_child ( attr   )     ((attr)->child.last)

Definition at line 587 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_entry_point().

#define DST_ENTRY_POINT_name ( attr   )     ((attr)->name)

#define DST_ENTRY_POINT_st ( attr   )     ((attr)->st)

#define DST_ENTRY_POINT_type ( attr   )     ((attr)->type)

Definition at line 584 of file dwarf_DST.h.

Referenced by DST_mk_entry_point(), DST_put_entry_point(), and put_entry_point().

#define DST_ENUMERATION_TYPE_abstract_origin ( attr   )     ((attr)->abstract_origin)

#define DST_ENUMERATION_TYPE_byte_size ( attr   )     ((attr)->byte_size)

#define DST_ENUMERATION_TYPE_decl ( attr   )     ((attr)->decl)

#define DST_ENUMERATION_TYPE_first_child ( attr   )     ((attr)->child.first)

Definition at line 1167 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_enumeration_type().

#define DST_ENUMERATION_TYPE_last_child ( attr   )     ((attr)->child.last)

Definition at line 1168 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_enumeration_type().

#define DST_ENUMERATION_TYPE_name ( attr   )     ((attr)->name)

#define DST_ENUMERATOR_cval ( attr   )     ((attr)->cval)

Definition at line 1183 of file dwarf_DST.h.

Referenced by DST_mk_enumerator(), DST_put_enumerator(), and put_enumerator().

#define DST_ENUMERATOR_decl ( attr   )     ((attr)->decl)

Definition at line 1181 of file dwarf_DST.h.

Referenced by DST_mk_enumerator(), DST_put_enumerator(), and put_enumerator().

#define DST_ENUMERATOR_name ( attr   )     ((attr)->name)

Definition at line 1182 of file dwarf_DST.h.

Referenced by DST_mk_enumerator(), DST_put_enumerator(), and put_enumerator().

#define DST_FILE_IDX_TO_PTR ( i   )     ((DST_FILE_NAME *)DST_idx_to_string(i))

#define DST_FILE_NAME_dir ( f   )     ((f)->dir)

#define DST_FILE_NAME_modt ( f   )     ((f)->modt)

#define DST_FILE_NAME_name ( f   )     ((f)->name)

#define DST_FILE_NAME_next ( f   )     ((f)->next)

#define DST_FILE_NAME_size ( f   )     ((f)->size)

#define DST_flag_allocatable   0x00200000

Definition at line 96 of file dwarf_DST.h.

#define DST_flag_artificial   0x00004000

Definition at line 89 of file dwarf_DST.h.

#define DST_flag_assoc_be   0x20000000

Definition at line 102 of file dwarf_DST.h.

#define DST_flag_assoc_fe   0x10000000

Definition at line 101 of file dwarf_DST.h.

#define DST_flag_assoc_idx   0x40000000

Definition at line 103 of file dwarf_DST.h.

#define DST_flag_assumed_shape   0x00400000

Definition at line 97 of file dwarf_DST.h.

#define DST_flag_assumed_size   0x00800000

Definition at line 98 of file dwarf_DST.h.

#define DST_flag_automatic   0x00000040

Definition at line 81 of file dwarf_DST.h.

#define DST_flag_base_deref   0x00010000

Definition at line 91 of file dwarf_DST.h.

#define DST_flag_bitfield   0x00000200

Definition at line 84 of file dwarf_DST.h.

#define DST_flag_comm   0x00000400

Definition at line 85 of file dwarf_DST.h.

#define DST_flag_const   0x00000020

Definition at line 80 of file dwarf_DST.h.

#define DST_flag_count   0x00020000

Definition at line 92 of file dwarf_DST.h.

#define DST_flag_cval   0x00002000

Definition at line 88 of file dwarf_DST.h.

#define DST_flag_declaration   0x00000002

Definition at line 77 of file dwarf_DST.h.

#define DST_flag_deref   0x00008000

Definition at line 90 of file dwarf_DST.h.

#define DST_flag_external   0x00000001

Definition at line 76 of file dwarf_DST.h.

#define DST_flag_f90_pointer   0x00100000

Definition at line 95 of file dwarf_DST.h.

#define DST_flag_info_mark   0x80000000

Definition at line 106 of file dwarf_DST.h.

#define DST_flag_lb_cval   0x00000800

Definition at line 86 of file dwarf_DST.h.

#define DST_flag_mask   0xffffffff

Definition at line 111 of file dwarf_DST.h.

#define DST_flag_memdef   0x00000010

Definition at line 79 of file dwarf_DST.h.

Referenced by DST_mk_subprogram_memdef().

#define DST_flag_optional_parm   0x00000080

Definition at line 82 of file dwarf_DST.h.

#define DST_flag_prototyped   0x00000008

Definition at line 78 of file dwarf_DST.h.

#define DST_flag_static   0x100000000LL

Definition at line 107 of file dwarf_DST.h.

#define DST_flag_stride_1byte   0x00040000

Definition at line 93 of file dwarf_DST.h.

#define DST_flag_stride_2byte   0x00080000

Definition at line 94 of file dwarf_DST.h.

#define DST_flag_ub_cval   0x00001000

Definition at line 87 of file dwarf_DST.h.

#define DST_flag_variable_parm   0x00000100

Definition at line 83 of file dwarf_DST.h.

#define DST_FORMAL_PARAMETER_abstract_origin ( attr   )     ((attr)->abstract_origin)

#define DST_FORMAL_PARAMETER_decl ( attr   )     ((attr)->decl)

#define DST_FORMAL_PARAMETER_default_val ( attr   )     ((attr)->default_val)

#define DST_FORMAL_PARAMETER_dopetype ( attr   )     ((attr)->dopetype)

Definition at line 802 of file dwarf_DST.h.

Referenced by cwh_dst_mk_formal(), DST_put_formal_parameter(), and put_formal_parameter().

#define DST_FORMAL_PARAMETER_name ( attr   )     ((attr)->name)

#define DST_FORMAL_PARAMETER_st ( attr   )     ((attr)->st)

#define DST_FORMAL_PARAMETER_type ( attr   )     ((attr)->type)

#define DST_IDX_TO_PTR ( i,
btype   )     ((btype *)DST_idx_to_string(i))

Definition at line 1231 of file dwarf_DST.h.

#define DST_INCLUDE_DIR_next ( dir   )     ((dir)->next)

#define DST_INCLUDE_DIR_path ( dir   )     ((dir)->path)

#define DST_INFO_attributes ( info   )     ((info)->attributes)

#define DST_INFO_dieptr ( info   )     ((info)->dieptr)

Definition at line 419 of file dwarf_DST.h.

Referenced by Cg_Dwarf_Process_PU(), DST_init_info(), get_ref_die(), and preorder_visit().

#define DST_INFO_flag ( info   )     ((info)->flag)

#define DST_INFO_IDX_TO_PTR ( i   )     ((DST_INFO *)DST_idx_to_string(i))

#define DST_INFO_sibling ( info   )     ((info)->sibling)

#define DST_INFO_tag ( info   )     ((info)->tag)

#define DST_INHERITANCE_decl ( attr   )     ((attr)->decl)

Definition at line 1105 of file dwarf_DST.h.

Referenced by DST_mk_inheritance().

#define DST_INHERITANCE_memb_loc ( attr   )     ((attr)->memb_loc)

Definition at line 1108 of file dwarf_DST.h.

Referenced by DST_mk_inheritance(), DST_put_inheritance(), and put_inheritance().

#define DST_INHERITANCE_type ( attr   )     ((attr)->type)

Definition at line 1106 of file dwarf_DST.h.

Referenced by DST_mk_inheritance(), DST_put_inheritance(), and put_inheritance().

#define DST_INHERITANCE_virtuality ( attr   )     ((attr)->virtuality)

Definition at line 1107 of file dwarf_DST.h.

Referenced by DST_mk_inheritance(), and put_inheritance().

#define DST_INLINED_SUBROUTINE_abstract_name ( attr   )     ((attr)->abstract_name)

Definition at line 477 of file dwarf_DST.h.

Referenced by DST_put_inlined_subroutine(), and put_inlined_subroutine().

#define DST_INLINED_SUBROUTINE_abstract_origin ( attr   )     ((attr)->abstract_origin)

#define DST_INLINED_SUBROUTINE_decl ( attr   )     ((attr)->decl)

Definition at line 476 of file dwarf_DST.h.

Referenced by DST_put_inlined_subroutine(), and put_inlined_subroutine().

#define DST_INLINED_SUBROUTINE_first_child ( attr   )     ((attr)->child.first)

Definition at line 474 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_inlined_subroutine().

#define DST_INLINED_SUBROUTINE_high_pc ( attr   )     ((attr)->high_pc)

#define DST_INLINED_SUBROUTINE_last_child ( attr   )     ((attr)->child.last)

Definition at line 475 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_inlined_subroutine().

#define DST_INLINED_SUBROUTINE_low_pc ( attr   )     ((attr)->low_pc)

#define DST_IS_allocatable ( flag   )     (flag & DST_flag_allocatable)

#define DST_IS_artificial ( flag   )     (flag & DST_flag_artificial)

Definition at line 194 of file dwarf_DST.h.

Referenced by DST_put_formal_parameter(), DST_put_variable(), and Write_Attributes().

#define DST_IS_assoc_be ( flag   )     (flag & DST_flag_assoc_be)

Definition at line 207 of file dwarf_DST.h.

#define DST_IS_assoc_fe ( flag   )     (flag & DST_flag_assoc_fe)

Definition at line 206 of file dwarf_DST.h.

Referenced by DST_put_assoc(), and DST_set_assoc_idx().

#define DST_IS_assoc_idx ( flag   )     (flag & DST_flag_assoc_idx)

Definition at line 208 of file dwarf_DST.h.

#define DST_IS_assumed_shape ( flag   )     (flag & DST_flag_assumed_shape)

#define DST_IS_assumed_size ( flag   )     (flag & DST_flag_assumed_size)

#define DST_IS_automatic ( flag   )     (flag & DST_flag_automatic)

Definition at line 197 of file dwarf_DST.h.

Referenced by DST_enter_cloned_childs(), DST_put_variable(), and put_variable().

#define DST_IS_base_deref ( flag   )     (flag & DST_flag_base_deref)

Definition at line 196 of file dwarf_DST.h.

Referenced by DST_put_formal_parameter(), DST_put_variable(), and put_location().

#define DST_IS_bitfield ( flag   )     (flag & DST_flag_bitfield)

Definition at line 200 of file dwarf_DST.h.

Referenced by DST_put_member(), and put_member().

#define DST_IS_comm ( flag   )     (flag & DST_flag_comm)

#define DST_IS_const ( flag   )     (flag & DST_flag_const)

Definition at line 186 of file dwarf_DST.h.

Referenced by DST_put_variable(), put_variable(), and remap_dst_entry().

#define DST_IS_count ( flag   )     (flag & DST_flag_count)

Definition at line 191 of file dwarf_DST.h.

Referenced by DST_put_subrange_type(), and put_subrange_type().

#define DST_IS_cval ( flag   )     (flag & DST_flag_cval)

Definition at line 190 of file dwarf_DST.h.

Referenced by DST_put_string_type(), and put_string_type().

#define DST_IS_declaration ( flag   )     (flag & DST_flag_declaration)

#define DST_IS_deref ( flag   )     (flag & DST_flag_deref)

Definition at line 195 of file dwarf_DST.h.

Referenced by DST_put_formal_parameter(), DST_put_variable(), put_location(), and put_member().

#define DST_IS_external ( flag   )     (flag & DST_flag_external)

Definition at line 182 of file dwarf_DST.h.

Referenced by DST_put_subprogram(), DST_put_variable(), put_subprogram(), and put_variable().

#define DST_IS_f90_pointer ( flag   )     (flag & DST_flag_f90_pointer)

#define DST_IS_info_mark ( flag   )     (flag & DST_flag_info_mark)

Definition at line 210 of file dwarf_DST.h.

Referenced by Traverse_DST(), and Traverse_Extra_DST().

#define DST_IS_lb_cval ( flag   )     (flag & DST_flag_lb_cval)

Definition at line 188 of file dwarf_DST.h.

Referenced by DST_put_subrange_type(), and put_lower_bound().

#define DST_IS_memdef ( flag   )     (flag & DST_flag_memdef)

#define DST_IS_optional_parm ( flag   )     (flag & DST_flag_optional_parm)

Definition at line 198 of file dwarf_DST.h.

Referenced by DST_put_formal_parameter(), and put_formal_parameter().

#define DST_IS_prototyped ( flag   )     (flag & DST_flag_prototyped)

#define DST_IS_static ( flag   )     (flag & DST_flag_static)

Definition at line 211 of file dwarf_DST.h.

#define DST_IS_stride_1byte ( flag   )     (flag & DST_flag_stride_1byte)

Definition at line 192 of file dwarf_DST.h.

Referenced by DST_put_subrange_type(), and put_subrange_type().

#define DST_IS_stride_2byte ( flag   )     (flag & DST_flag_stride_2byte)

Definition at line 193 of file dwarf_DST.h.

Referenced by DST_put_subrange_type(), and put_subrange_type().

#define DST_IS_ub_cval ( flag   )     (flag & DST_flag_ub_cval)

Definition at line 189 of file dwarf_DST.h.

Referenced by DST_put_subrange_type(), and put_subrange_type().

#define DST_IS_variable_parm ( flag   )     (flag & DST_flag_variable_parm)

Definition at line 199 of file dwarf_DST.h.

Referenced by DST_put_formal_parameter(), and put_formal_parameter().

#define DST_LABEL_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 671 of file dwarf_DST.h.

Referenced by DST_mk_label(), and get_abstract_origin().

#define DST_LABEL_low_pc ( attr   )     ((attr)->low_pc)

#define DST_LABEL_name ( attr   )     ((attr)->name)

Definition at line 669 of file dwarf_DST.h.

Referenced by DST_enter_cloned_childs(), DST_mk_label(), DST_put_label(), and put_label().

#define DST_LEXICAL_BLOCK_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 653 of file dwarf_DST.h.

Referenced by DST_mk_lexical_block(), and get_abstract_origin().

#define DST_LEXICAL_BLOCK_first_child ( attr   )     ((attr)->child.first)

Definition at line 654 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_lexical_block().

#define DST_LEXICAL_BLOCK_high_pc ( attr   )     ((attr)->high_pc)

#define DST_LEXICAL_BLOCK_last_child ( attr   )     ((attr)->child.last)

Definition at line 655 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_lexical_block().

#define DST_LEXICAL_BLOCK_low_pc ( attr   )     ((attr)->low_pc)

#define DST_LEXICAL_BLOCK_name ( attr   )     ((attr)->name)

#define DST_MEMBER_bit_offset ( attr   )     ((attr)->bit_offset)

Definition at line 1081 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_MEMBER_bit_size ( attr   )     ((attr)->bit_size)

Definition at line 1082 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_MEMBER_byte_size ( attr   )     ((attr)->byte_size)

Definition at line 1080 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_MEMBER_decl ( attr   )     ((attr)->decl)

Definition at line 1076 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_MEMBER_dopetype ( attr   )     ((attr)->dopetype)

Definition at line 1083 of file dwarf_DST.h.

Referenced by cwh_dst_member(), DST_put_member(), and put_member().

#define DST_MEMBER_memb_loc ( attr   )     ((attr)->memb_loc)

Definition at line 1079 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_MEMBER_name ( attr   )     ((attr)->name)

Definition at line 1077 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_MEMBER_type ( attr   )     ((attr)->type)

Definition at line 1078 of file dwarf_DST.h.

Referenced by DST_mk_member(), DST_put_member(), and put_member().

#define DST_no_flag   0x00000000

#define DST_POINTER_TYPE_address_class ( attr   )     ((attr)->address_class)

Definition at line 907 of file dwarf_DST.h.

Referenced by DST_mk_pointer_type(), DST_put_pointer_type(), and put_pointer_type().

#define DST_POINTER_TYPE_byte_size ( attr   )     ((attr)->byte_size)

Definition at line 908 of file dwarf_DST.h.

Referenced by DST_mk_pointer_type(), DST_put_pointer_type(), and put_pointer_type().

#define DST_POINTER_TYPE_type ( attr   )     ((attr)->type)

Definition at line 906 of file dwarf_DST.h.

Referenced by DST_mk_pointer_type(), DST_put_pointer_type(), and put_pointer_type().

#define DST_PTR_TO_MEMBER_TYPE_class_type ( attr   )     ((attr)->class_type)

Definition at line 1220 of file dwarf_DST.h.

Referenced by DST_mk_ptr_to_member_type(), and put_ptr_to_member_type().

#define DST_PTR_TO_MEMBER_TYPE_name ( attr   )     ((attr)->name)

Definition at line 1218 of file dwarf_DST.h.

Referenced by DST_mk_ptr_to_member_type(), and put_ptr_to_member_type().

#define DST_PTR_TO_MEMBER_TYPE_type ( attr   )     ((attr)->type)

Definition at line 1219 of file dwarf_DST.h.

Referenced by DST_mk_ptr_to_member_type(), and put_ptr_to_member_type().

#define DST_REFERENCE_TYPE_address_class ( attr   )     ((attr)->address_class)

Definition at line 918 of file dwarf_DST.h.

Referenced by DST_mk_reference_type(), DST_put_reference_type(), and put_reference_type().

#define DST_REFERENCE_TYPE_byte_size ( attr   )     ((attr)->byte_size)

Definition at line 919 of file dwarf_DST.h.

Referenced by DST_mk_reference_type(), DST_put_reference_type(), and put_reference_type().

#define DST_REFERENCE_TYPE_type ( attr   )     ((attr)->type)

Definition at line 917 of file dwarf_DST.h.

Referenced by DST_mk_reference_type(), DST_put_reference_type(), and put_reference_type().

#define DST_RESET_all ( flag   )     (flag &= ~DST_flag_mask)

Definition at line 147 of file dwarf_DST.h.

#define DST_RESET_allocatable ( flag   )     (flag &= ~DST_flag_allocatable)

Definition at line 168 of file dwarf_DST.h.

#define DST_RESET_artificial ( flag   )     (flag &= ~DST_flag_artificial)

Definition at line 160 of file dwarf_DST.h.

#define DST_RESET_assoc_be ( flag   )     (flag &= ~DST_flag_assoc_be)

Definition at line 173 of file dwarf_DST.h.

#define DST_RESET_assoc_fe ( flag   )     (flag &= ~DST_flag_assoc_fe)

#define DST_RESET_assoc_idx ( flag   )     (flag &= ~DST_flag_assoc_idx)

Definition at line 174 of file dwarf_DST.h.

#define DST_RESET_assumed_shape ( flag   )     (flag &= ~DST_flag_assumed_shape)

Definition at line 169 of file dwarf_DST.h.

#define DST_RESET_assumed_size ( flag   )     (flag &= ~DST_flag_assumed_size)

Definition at line 170 of file dwarf_DST.h.

#define DST_RESET_automatic ( flag   )     (flag &= ~DST_flag_automatic)

Definition at line 163 of file dwarf_DST.h.

#define DST_RESET_base_deref ( flag   )     (flag &= ~DST_flag_base_deref)

Definition at line 162 of file dwarf_DST.h.

#define DST_RESET_bitfield ( flag   )     (flag &= ~DST_flag_bitfield)

Definition at line 166 of file dwarf_DST.h.

#define DST_RESET_comm ( flag   )     (flag &= ~DST_flag_comm)

Definition at line 153 of file dwarf_DST.h.

#define DST_RESET_const ( flag   )     (flag &= ~DST_flag_const)

Definition at line 152 of file dwarf_DST.h.

#define DST_RESET_count ( flag   )     (flag &= ~DST_flag_count)

Definition at line 157 of file dwarf_DST.h.

#define DST_RESET_cval ( flag   )     (flag &= ~DST_flag_cval)

Definition at line 156 of file dwarf_DST.h.

#define DST_RESET_declaration ( flag   )     (flag &= ~DST_flag_declaration)

Definition at line 149 of file dwarf_DST.h.

#define DST_RESET_deref ( flag   )     (flag &= ~DST_flag_deref)

Definition at line 161 of file dwarf_DST.h.

#define DST_RESET_external ( flag   )     (flag &= ~DST_flag_external)

Definition at line 148 of file dwarf_DST.h.

#define DST_RESET_f90_pointer ( flag   )     (flag &= ~DST_flag_f90_pointer)

Definition at line 167 of file dwarf_DST.h.

#define DST_RESET_info_mark ( flag   )     (flag &= ~DST_flag_info_mark)

Definition at line 176 of file dwarf_DST.h.

#define DST_RESET_lb_cval ( flag   )     (flag &= ~DST_flag_lb_cval)

Definition at line 154 of file dwarf_DST.h.

#define DST_RESET_memdef ( flag   )     (flag &= ~DST_flag_memdef)

Definition at line 151 of file dwarf_DST.h.

#define DST_RESET_optional_parm ( flag   )     (flag &= ~DST_flag_optional_parm)

Definition at line 164 of file dwarf_DST.h.

#define DST_RESET_prototyped ( flag   )     (flag &= ~DST_flag_prototyped)

Definition at line 150 of file dwarf_DST.h.

#define DST_RESET_static ( flag   )     (flag &= ~DST_flag_static)

Definition at line 177 of file dwarf_DST.h.

#define DST_RESET_stride_1byte ( flag   )     (flag &= ~DST_flag_stride_1byte)

Definition at line 158 of file dwarf_DST.h.

#define DST_RESET_stride_2byte ( flag   )     (flag &= ~DST_flag_stride_2byte)

Definition at line 159 of file dwarf_DST.h.

#define DST_RESET_ub_cval ( flag   )     (flag &= ~DST_flag_ub_cval)

Definition at line 155 of file dwarf_DST.h.

#define DST_RESET_variable_parm ( flag   )     (flag &= ~DST_flag_variable_parm)

Definition at line 165 of file dwarf_DST.h.

#define DST_SET_allocatable ( flag   )     (flag |= DST_flag_allocatable)

Definition at line 133 of file dwarf_DST.h.

Referenced by cwh_dst_mk_common(), and cwh_dst_mk_variable().

#define DST_SET_artificial ( flag   )     (flag |= DST_flag_artificial)

#define DST_SET_assoc_be ( flag   )     (flag |= DST_flag_assoc_be)

Definition at line 138 of file dwarf_DST.h.

#define DST_SET_assoc_fe ( flag   )     (flag |= DST_flag_assoc_fe)

Definition at line 137 of file dwarf_DST.h.

#define DST_SET_assoc_idx ( flag   )     (flag |= DST_flag_assoc_idx)

Definition at line 139 of file dwarf_DST.h.

Referenced by Add_DST_variable(), Create_Func_DST(), Create_New_DST(), and DST_set_assoc_idx().

#define DST_SET_assumed_shape ( flag   )     (flag |= DST_flag_assumed_shape)

Definition at line 134 of file dwarf_DST.h.

Referenced by cwh_dst_mk_common(), cwh_dst_mk_formal(), and cwh_dst_mk_variable().

#define DST_SET_assumed_size ( flag   )     (flag |= DST_flag_assumed_size)

Definition at line 135 of file dwarf_DST.h.

Referenced by cwh_dst_mk_common(), cwh_dst_mk_formal(), and cwh_dst_mk_variable().

#define DST_SET_automatic ( flag   )     (flag |= DST_flag_automatic)

Definition at line 128 of file dwarf_DST.h.

Referenced by DST_mk_variable(), and DST_mk_variable_const().

#define DST_SET_base_deref ( flag   )     (flag |= DST_flag_base_deref)

Definition at line 127 of file dwarf_DST.h.

Referenced by cwh_dst_mk_dope_bound(), and cwh_dst_mk_formal().

#define DST_SET_bitfield ( flag   )     (flag |= DST_flag_bitfield)

Definition at line 131 of file dwarf_DST.h.

Referenced by DST_mk_member().

#define DST_SET_comm ( flag   )     (flag |= DST_flag_comm)

Definition at line 118 of file dwarf_DST.h.

Referenced by DST_mk_variable_comm().

#define DST_SET_const ( flag   )     (flag |= DST_flag_const)

Definition at line 117 of file dwarf_DST.h.

Referenced by DST_mk_variable_const().

#define DST_SET_count ( flag   )     (flag |= DST_flag_count)

Definition at line 122 of file dwarf_DST.h.

Referenced by cwh_dst_dope_bounds(), and cwh_dst_subrange().

#define DST_SET_cval ( flag   )     (flag |= DST_flag_cval)

Definition at line 121 of file dwarf_DST.h.

Referenced by DST_mk_string_type().

#define DST_SET_declaration ( flag   )     (flag |= DST_flag_declaration)

#define DST_SET_deref ( flag   )     (flag |= DST_flag_deref)

#define DST_SET_external ( flag   )     (flag |= DST_flag_external)

#define DST_SET_f90_pointer ( flag   )     (flag |= DST_flag_f90_pointer)

#define DST_SET_info_mark ( flag   )     (flag |= DST_flag_info_mark)

Definition at line 141 of file dwarf_DST.h.

Referenced by Traverse_DST(), Traverse_Extra_DST(), and Traverse_Global_DST().

#define DST_SET_lb_cval ( flag   )     (flag |= DST_flag_lb_cval)

Definition at line 119 of file dwarf_DST.h.

Referenced by DST_mk_subrange_type().

#define DST_SET_memdef ( flag   )     (flag |= DST_flag_memdef)

Definition at line 116 of file dwarf_DST.h.

Referenced by DST_mk_subprogram_memdef(), and DST_mk_variable_memdef().

#define DST_SET_optional_parm ( flag   )     (flag |= DST_flag_optional_parm)

Definition at line 129 of file dwarf_DST.h.

Referenced by DST_mk_formal_parameter().

#define DST_SET_prototyped ( flag   )     (flag |= DST_flag_prototyped)

#define DST_SET_static ( flag   )     (flag |= DST_flag_static)

Definition at line 142 of file dwarf_DST.h.

Referenced by DST_mk_member().

#define DST_SET_stride_1byte ( flag   )     (flag |= DST_flag_stride_1byte)

Definition at line 123 of file dwarf_DST.h.

Referenced by cwh_dst_dope_bounds().

#define DST_SET_stride_2byte ( flag   )     (flag |= DST_flag_stride_2byte)

Definition at line 124 of file dwarf_DST.h.

Referenced by cwh_dst_dope_bounds().

#define DST_SET_ub_cval ( flag   )     (flag |= DST_flag_ub_cval)

Definition at line 120 of file dwarf_DST.h.

Referenced by DST_mk_subrange_type().

#define DST_SET_variable_parm ( flag   )     (flag |= DST_flag_variable_parm)

Definition at line 130 of file dwarf_DST.h.

Referenced by DST_mk_formal_parameter().

#define DST_STR_IDX_TO_PTR ( i   )     ((char *)DST_idx_to_string(i))

#define DST_STRING_TYPE_decl ( attr   )     ((attr)->decl)

Definition at line 998 of file dwarf_DST.h.

Referenced by DST_mk_string_type(), DST_put_string_type(), and put_string_type().

#define DST_STRING_TYPE_len_cval ( attr   )     ((attr)->len.cval)

Definition at line 1000 of file dwarf_DST.h.

Referenced by DST_mk_string_type(), DST_put_string_type(), and put_string_type().

#define DST_STRING_TYPE_len_ref ( attr   )     ((attr)->len.ref)

Definition at line 1001 of file dwarf_DST.h.

Referenced by DST_mk_string_type(), DST_put_string_type(), and put_string_type().

#define DST_STRING_TYPE_name ( attr   )     ((attr)->name)

Definition at line 999 of file dwarf_DST.h.

Referenced by DST_mk_string_type(), DST_put_string_type(), and put_string_type().

#define DST_STRUCTURE_TYPE_abstract_origin ( attr   )     ((attr)->abstract_origin)

#define DST_STRUCTURE_TYPE_byte_size ( attr   )     ((attr)->byte_size)

#define DST_STRUCTURE_TYPE_decl ( attr   )     ((attr)->decl)

#define DST_STRUCTURE_TYPE_first_child ( attr   )     ((attr)->child.first)

Definition at line 1022 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_structure_type().

#define DST_STRUCTURE_TYPE_inheritance ( attr   )     ((attr)->inheritance)

Definition at line 1021 of file dwarf_DST.h.

#define DST_STRUCTURE_TYPE_last_child ( attr   )     ((attr)->child.last)

Definition at line 1023 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_structure_type().

#define DST_STRUCTURE_TYPE_name ( attr   )     ((attr)->name)

Definition at line 1018 of file dwarf_DST.h.

Referenced by DST_mk_structure_type(), DST_put_structure_type(), and put_structure_type().

#define DST_SUBPROGRAM_decl_decl ( attr   )     ((attr)->decl.decl)

#define DST_SUBPROGRAM_decl_first_child ( attr   )     ((attr)->decl.child.first)

#define DST_SUBPROGRAM_decl_inline ( attr   )     ((attr)->decl.inlin)

#define DST_SUBPROGRAM_decl_last_child ( attr   )     ((attr)->decl.child.last)

#define DST_SUBPROGRAM_decl_linkage_name ( attr   )     ((attr)->decl.linkage_name)

#define DST_SUBPROGRAM_decl_name ( attr   )     ((attr)->decl.name)

#define DST_SUBPROGRAM_decl_origin ( attr   )     ((attr)->decl.origin)

#define DST_SUBPROGRAM_decl_type ( attr   )     ((attr)->decl.type)

#define DST_SUBPROGRAM_decl_virtuality ( attr   )     ((attr)->decl.virtuality)

#define DST_SUBPROGRAM_decl_vtable_elem_location ( attr   )     ((attr)->decl.vtable_elem_location)

#define DST_SUBPROGRAM_def_clone_origin ( attr   )     ((attr)->def.origin)

#define DST_SUBPROGRAM_def_decl ( attr   )     ((attr)->def.decl)

#define DST_SUBPROGRAM_def_first_child ( attr   )     ((attr)->def.child.first)

#define DST_SUBPROGRAM_def_inline ( attr   )     ((attr)->def.inlin)

#define DST_SUBPROGRAM_def_last_child ( attr   )     ((attr)->def.child.last)

#define DST_SUBPROGRAM_def_linkage_name ( attr   )     ((attr)->def.linkage_name)

#define DST_SUBPROGRAM_def_name ( attr   )     ((attr)->def.name)

#define DST_SUBPROGRAM_def_pubname ( attr   )     ((attr)->def.pubname)

#define DST_SUBPROGRAM_def_specification ( attr   )     ((attr)->def.specification)

#define DST_SUBPROGRAM_def_st ( attr   )     ((attr)->def.st)

#define DST_SUBPROGRAM_def_type ( attr   )     ((attr)->def.type)

#define DST_SUBPROGRAM_def_virtuality ( attr   )     ((attr)->def.virtuality)

#define DST_SUBPROGRAM_def_vtable_elem_location ( attr   )     ((attr)->def.vtable_elem_location)

#define DST_SUBPROGRAM_memdef_decl ( attr   )     ((attr)->memdef.decl)

Definition at line 536 of file dwarf_DST.h.

Referenced by DST_copy_subprogram(), DST_mk_memdef(), and DST_mk_subprogram_memdef().

#define DST_SUBPROGRAM_memdef_first_child ( attr   )     ((attr)->memdef.child.first)

Definition at line 539 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_subprogram_memdef().

#define DST_SUBPROGRAM_memdef_last_child ( attr   )     ((attr)->memdef.child.last)

Definition at line 540 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_subprogram_memdef().

#define DST_SUBPROGRAM_memdef_spec ( attr   )     ((attr)->memdef.spec)

Definition at line 537 of file dwarf_DST.h.

Referenced by DST_mk_memdef(), DST_mk_subprogram_memdef(), and DST_SUBPROGRAM_spec().

#define DST_SUBPROGRAM_memdef_st ( attr   )     ((attr)->memdef.st)

#define DST_SUBRANGE_TYPE_count ( attr   )     ((attr)->upper.cval - (attr)->lower.cval + 1)

Definition at line 980 of file dwarf_DST.h.

#define DST_SUBRANGE_TYPE_lower_cval ( attr   )     ((attr)->lower.cval)

Definition at line 981 of file dwarf_DST.h.

Referenced by DST_mk_subrange_type(), DST_put_subrange_type(), and put_lower_bound().

#define DST_SUBRANGE_TYPE_lower_ref ( attr   )     ((attr)->lower.ref)

Definition at line 983 of file dwarf_DST.h.

Referenced by DST_mk_subrange_type(), DST_put_subrange_type(), and put_lower_bound().

#define DST_SUBRANGE_TYPE_stride_ref ( attr   )     ((attr)->stride.ref)

#define DST_SUBRANGE_TYPE_upper_cval ( attr   )     ((attr)->upper.cval)

Definition at line 982 of file dwarf_DST.h.

Referenced by DST_mk_subrange_type(), DST_put_subrange_type(), and put_subrange_type().

#define DST_SUBRANGE_TYPE_upper_ref ( attr   )     ((attr)->upper.ref)

Definition at line 984 of file dwarf_DST.h.

Referenced by DST_mk_subrange_type(), DST_put_subrange_type(), and put_subrange_type().

#define DST_SUBROUTINE_TYPE_abstract_origin ( attr   )     ((attr)->abstract_origin)

#define DST_SUBROUTINE_TYPE_decl ( attr   )     ((attr)->decl)

#define DST_SUBROUTINE_TYPE_first_child ( attr   )     ((attr)->child.first)

Definition at line 1204 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_subroutine_type().

#define DST_SUBROUTINE_TYPE_last_child ( attr   )     ((attr)->child.last)

Definition at line 1205 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_subroutine_type().

#define DST_SUBROUTINE_TYPE_name ( attr   )     ((attr)->name)

#define DST_SUBROUTINE_TYPE_type ( attr   )     ((attr)->type)

#define DST_TEMPLATE_TYPE_PARAMETER_decl ( attr   )     ((attr)->decl)

Definition at line 1125 of file dwarf_DST.h.

Referenced by DST_mk_template_type_parameter().

#define DST_TEMPLATE_TYPE_PARAMETER_name ( attr   )     ((attr)->name)

#define DST_TEMPLATE_TYPE_PARAMETER_type ( attr   )     ((attr)->type)

#define DST_TEMPLATE_VALUE_PARAMETER_cval ( attr   )     ((attr)->cval)

#define DST_TEMPLATE_VALUE_PARAMETER_decl ( attr   )     ((attr)->decl)

Definition at line 1142 of file dwarf_DST.h.

Referenced by DST_mk_template_value_parameter().

#define DST_TEMPLATE_VALUE_PARAMETER_name ( attr   )     ((attr)->name)

#define DST_TEMPLATE_VALUE_PARAMETER_type ( attr   )     ((attr)->type)

Definition at line 1144 of file dwarf_DST.h.

Referenced by DST_mk_template_value_parameter(), and put_template_value_param().

#define DST_TYPEDEF_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 937 of file dwarf_DST.h.

Referenced by DST_mk_typedef(), DST_put_typedef(), and get_abstract_origin().

#define DST_TYPEDEF_decl ( attr   )     ((attr)->decl)

Definition at line 934 of file dwarf_DST.h.

Referenced by DST_enter_cloned_childs(), DST_mk_typedef(), DST_put_typedef(), and put_typedef().

#define DST_TYPEDEF_name ( attr   )     ((attr)->name)

Definition at line 935 of file dwarf_DST.h.

Referenced by DST_mk_typedef(), DST_put_typedef(), and put_typedef().

#define DST_TYPEDEF_type ( attr   )     ((attr)->type)

Definition at line 936 of file dwarf_DST.h.

Referenced by DST_enter_cloned_childs(), DST_mk_typedef(), DST_put_typedef(), and put_typedef().

#define DST_UNION_TYPE_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 1035 of file dwarf_DST.h.

Referenced by DST_mk_union_type(), DST_put_union_type(), and get_abstract_origin().

#define DST_UNION_TYPE_byte_size ( attr   )     ((attr)->byte_size)

#define DST_UNION_TYPE_decl ( attr   )     ((attr)->decl)

#define DST_UNION_TYPE_first_child ( attr   )     ((attr)->child.first)

Definition at line 1037 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_firstChildField(), and DST_mk_union_type().

#define DST_UNION_TYPE_inheritance ( attr   )     ((attr)->inheritance)

Definition at line 1036 of file dwarf_DST.h.

#define DST_UNION_TYPE_last_child ( attr   )     ((attr)->child.last)

Definition at line 1038 of file dwarf_DST.h.

Referenced by DST_get_ptr_to_lastChildField(), and DST_mk_union_type().

#define DST_UNION_TYPE_name ( attr   )     ((attr)->name)

Definition at line 1033 of file dwarf_DST.h.

Referenced by DST_mk_union_type(), DST_put_union_type(), and put_union_type().

#define DST_UNSPECIFIED_PARAMETERS_abstract_origin ( attr   )     ((attr)->abstract_origin)

Definition at line 815 of file dwarf_DST.h.

Referenced by DST_mk_unspecified_parameters(), and get_abstract_origin().

#define DST_UNSPECIFIED_PARAMETERS_decl ( attr   )     ((attr)->decl)

#define DST_VARIABLE_comm_decl ( attr   )     ((attr)->comm.decl)

Definition at line 767 of file dwarf_DST.h.

Referenced by DST_mk_variable_comm(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_comm_dopetype ( attr   )     ((attr)->comm.dopetype)

Definition at line 772 of file dwarf_DST.h.

Referenced by cwh_dst_mk_common(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_comm_name ( attr   )     ((attr)->comm.name)

#define DST_VARIABLE_comm_offs ( attr   )     ((attr)->comm.offs)

Definition at line 771 of file dwarf_DST.h.

Referenced by DST_mk_variable_comm(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_comm_st ( attr   )     ((attr)->comm.st)

#define DST_VARIABLE_comm_type ( attr   )     ((attr)->comm.type)

Definition at line 769 of file dwarf_DST.h.

Referenced by Create_New_DST(), DST_mk_variable_comm(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_constant_cval ( attr   )     ((attr)->constant.cval)

Definition at line 765 of file dwarf_DST.h.

Referenced by DST_mk_variable_const().

#define DST_VARIABLE_constant_decl ( attr   )     ((attr)->constant.decl)

Definition at line 762 of file dwarf_DST.h.

Referenced by DST_enter_cloned_childs(), and DST_mk_variable_const().

#define DST_VARIABLE_constant_name ( attr   )     ((attr)->constant.name)

Definition at line 763 of file dwarf_DST.h.

Referenced by DST_mk_variable_const().

#define DST_VARIABLE_constant_type ( attr   )     ((attr)->constant.type)

Definition at line 764 of file dwarf_DST.h.

Referenced by DST_mk_variable_const().

#define DST_VARIABLE_decl_decl ( attr   )     ((attr)->decl.decl)

Definition at line 743 of file dwarf_DST.h.

Referenced by DST_mk_variable(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_decl_name ( attr   )     ((attr)->decl.name)

Definition at line 744 of file dwarf_DST.h.

Referenced by DST_mk_variable(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_decl_type ( attr   )     ((attr)->decl.type)

Definition at line 745 of file dwarf_DST.h.

Referenced by DST_mk_variable(), DST_put_variable(), put_subprogram(), and put_variable().

#define DST_VARIABLE_def_abstract_origin ( attr   )     ((attr)->def.abstract_origin)

Definition at line 759 of file dwarf_DST.h.

Referenced by DST_mk_variable(), DST_put_variable(), get_abstract_origin(), and put_variable().

#define DST_VARIABLE_def_decl ( attr   )     ((attr)->def.decl)

Definition at line 750 of file dwarf_DST.h.

Referenced by DST_mk_variable(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_def_dopetype ( attr   )     ((attr)->def.dopetype)

Definition at line 760 of file dwarf_DST.h.

Referenced by cwh_dst_mk_variable(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_def_name ( attr   )     ((attr)->def.name)

#define DST_VARIABLE_def_offs ( attr   )     ((attr)->def.offs)

Definition at line 754 of file dwarf_DST.h.

Referenced by DST_mk_variable(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_def_specification ( attr   )     ((attr)->def.specification)

Definition at line 755 of file dwarf_DST.h.

Referenced by DST_add_specification_to_variable(), DST_mk_variable(), and put_variable().

#define DST_VARIABLE_def_st ( attr   )     ((attr)->def.st)

#define DST_VARIABLE_def_type ( attr   )     ((attr)->def.type)

Definition at line 752 of file dwarf_DST.h.

Referenced by Create_New_DST(), DST_mk_variable(), DST_put_variable(), and put_variable().

#define DST_VARIABLE_memdef_decl ( attr   )     ((attr)->memdef.decl)

Definition at line 774 of file dwarf_DST.h.

Referenced by DST_mk_variable_memdef().

#define DST_VARIABLE_memdef_spec ( attr   )     ((attr)->memdef.spec)

Definition at line 776 of file dwarf_DST.h.

Referenced by DST_mk_variable_memdef().

#define DST_VARIABLE_memdef_st ( attr   )     ((attr)->memdef.st)

Definition at line 775 of file dwarf_DST.h.

Referenced by DST_mk_variable_memdef(), DST_set_assoc_idx(), and remap_dst_entry().

#define DST_VOLATILE_TYPE_type ( attr   )     ((attr)->type)

Definition at line 887 of file dwarf_DST.h.

Referenced by DST_mk_volatile_type(), DST_put_volatile_type(), and put_volatile_type().

#define dwarf_DST_version   0x0

Definition at line 55 of file dwarf_DST.h.

#define pDST_ASSOC_INFO_fe_ptr ( p   )     ((p)->st_u.fe_ptr)

Definition at line 283 of file dwarf_DST.h.

Referenced by DST_set_assoc_idx().

#define pDST_ASSOC_INFO_st_idx ( p   )     ((p)->st_idx)

#define pDST_ASSOC_INFO_st_index ( p   )     (ST_IDX_index((p)->st_idx))

Definition at line 280 of file dwarf_DST.h.

Referenced by Find_DST_From_ST().

#define pDST_ASSOC_INFO_st_level ( p   )     (ST_IDX_level((p)->st_idx))

Definition at line 279 of file dwarf_DST.h.

Referenced by Find_DST_From_ST().

#define pDST_ASSOC_INFO_st_ptr ( p   )     ((p)->st_ptr)

Definition at line 281 of file dwarf_DST.h.


Typedef Documentation

typedef UINT8 DST_addr_class

Definition at line 222 of file dwarf_DST.h.

typedef UINT8 DST_ATE_encoding

Definition at line 221 of file dwarf_DST.h.

Definition at line 244 of file dwarf_DST.h.

typedef UINT8 DST_bitsize

Definition at line 233 of file dwarf_DST.h.

Definition at line 235 of file dwarf_DST.h.

Definition at line 1045 of file dwarf_DST.h.

Definition at line 878 of file dwarf_DST.h.

typedef union DST_constant DST_CONSTANT

typedef void* DST_die_ptr

Definition at line 236 of file dwarf_DST.h.

Definition at line 246 of file dwarf_DST.h.

typedef UINT16 DST_DW_tag

Definition at line 220 of file dwarf_DST.h.

Definition at line 245 of file dwarf_DST.h.

typedef UINT64 DST_flag

Definition at line 219 of file dwarf_DST.h.

typedef UINT16 DST_identifier_case

Definition at line 224 of file dwarf_DST.h.

Definition at line 243 of file dwarf_DST.h.

typedef UINT8 DST_inline

Definition at line 225 of file dwarf_DST.h.

typedef UINT16 DST_language

Definition at line 223 of file dwarf_DST.h.

Definition at line 247 of file dwarf_DST.h.

Definition at line 915 of file dwarf_DST.h.

typedef UINT64 DST_size_t

Definition at line 234 of file dwarf_DST.h.

Definition at line 248 of file dwarf_DST.h.

Definition at line 1030 of file dwarf_DST.h.

typedef union DST_variable DST_VARIABLE

typedef UINT8 DST_virtuality

Definition at line 226 of file dwarf_DST.h.

Definition at line 886 of file dwarf_DST.h.

typedef UINT16 DST_vtable_elem_location

Definition at line 231 of file dwarf_DST.h.


Enumeration Type Documentation

Enumerator:
DST_FORM_STRING 
DST_FORM_DATA1 
DST_FORM_DATA2 
DST_FORM_DATA4 
DST_FORM_DATA8 

Definition at line 294 of file dwarf_DST.h.


Function Documentation

void DST_append_child ( DST_INFO_IDX  parent,
DST_INFO_IDX  child 
)

DST_INFO_IDX DST_first_child ( DST_INFO_IDX  parent  ) 

DST_INFO_IDX DST_last_child ( DST_INFO_IDX  parent  ) 

void DST_preorder_visit ( DST_INFO_IDX  i,
INT32  init_val,
INT32(*)(INT32, DST_DW_tag, DST_flag, DST_ATTR_IDX, DST_INFO_IDX action 
)


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