#include "dwarf_DST_producer.h"#include "errors.h"

Go to the source code of this file.
| #define DST_32_align 4 |
Definition at line 96 of file dwarf_DST_producer.cxx.
| #define DST_64_allign 8 |
Definition at line 95 of file dwarf_DST_producer.cxx.
| #define DST_ASSERT | ( | truth, | |||
| msg | ) | Is_True(truth, (msg)) |
Definition at line 51 of file dwarf_DST_producer.cxx.
| #define DST_char_align 1 |
Definition at line 97 of file dwarf_DST_producer.cxx.
Referenced by DST_mk_name(), and DST_mk_string().
| #define DST_check_info_idx | ( | required_tag, | |||
| idx | ) |
Value:
DST_ASSERT((DST_IS_FOREIGN_OBJ(idx)) || (DST_INFO_tag(DST_INFO_IDX_TO_PTR(idx)) == required_tag),\ "Found invalid DST_info index")
Definition at line 204 of file dwarf_DST_producer.cxx.
Referenced by DST_mk_inlined_subroutine(), and DST_mk_subprogram_memdef().
| #define DST_default_align DST_64_allign |
Definition at line 98 of file dwarf_DST_producer.cxx.
Referenced by DST_mk_compile_unit(), DST_mk_filename(), DST_mk_include_dir(), DST_mk_memdef(), DST_mk_subpr_decl(), and DST_mk_subpr_def().
| #define DST_mk | ( | type | ) | DST_allocate(sizeof(type), DST_default_align) |
Definition at line 103 of file dwarf_DST_producer.cxx.
Definition at line 108 of file dwarf_DST_producer.cxx.
Referenced by 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(), and DST_mk_volatile_type().
| #define DST_mk_dir | ( | ) | (DST_mk(DST_INCLUDE_DIR)); |
| #define DST_mk_file | ( | ) | (DST_mk(DST_FILE_NAME)); |
| #define DST_mk_info | ( | ) | (DST_mk(DST_INFO)); |
Definition at line 107 of file dwarf_DST_producer.cxx.
Referenced by 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(), and DST_mk_volatile_type().
| typedef enum DST_producer_state DST_PRODUCER_STATE |
| enum DST_producer_state |
| DST_begin_state | |
| DST_making_include_dirs | |
| DST_making_file_names | |
| DST_making_macinfo | |
| DST_making_dbg_info | |
| DST_end_state |
Definition at line 61 of file dwarf_DST_producer.cxx.
| void DST_add_linkage_name_to_subprogram | ( | DST_INFO_IDX | subprogram, | |
| char * | linkage_name | |||
| ) |
Definition at line 987 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_ATTR_IDX_TO_PTR, DST_INFO_attributes, DST_INFO_flag, DST_INFO_IDX_TO_PTR, DST_INFO_tag, DST_IS_declaration, DST_mk_name(), DST_SUBPROGRAM_decl_linkage_name, DST_SUBPROGRAM_def_linkage_name, and DW_TAG_subprogram.
Referenced by cwh_dst_mk_func(), DST_Create_Subprogram(), and DST_enter_member_function().
| void DST_add_pubname_to_subprogram | ( | DST_INFO_IDX | subprogram, | |
| char * | pubname | |||
| ) |
Definition at line 961 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_ATTR_IDX_TO_PTR, DST_INFO_attributes, DST_INFO_flag, DST_INFO_IDX_TO_PTR, DST_INFO_tag, DST_IS_declaration, DST_mk_name(), DST_SUBPROGRAM_def_pubname, and DW_TAG_subprogram.
| void DST_add_specification_to_subprogram | ( | DST_INFO_IDX | subprogram_def, | |
| DST_INFO_IDX | subprogram_decl | |||
| ) |
Definition at line 1012 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_ATTR_IDX_TO_PTR, DST_INFO_attributes, DST_INFO_flag, DST_INFO_IDX_TO_PTR, DST_INFO_tag, DST_IS_declaration, DST_SUBPROGRAM_def_specification, and DW_TAG_subprogram.
Referenced by DST_Create_Subprogram().
| void DST_add_specification_to_variable | ( | DST_INFO_IDX | variable_def, | |
| DST_INFO_IDX | field_decl | |||
| ) |
Definition at line 1035 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_ATTR_IDX_TO_PTR, DST_INFO_attributes, DST_INFO_flag, DST_INFO_IDX_TO_PTR, DST_INFO_tag, DST_IS_declaration, DST_VARIABLE_def_specification, and DW_TAG_variable.
Referenced by DST_Create_var().
Definition at line 471 of file dwarf_DST_producer.cxx.
References begin_PU, DST_ASSERT, DST_IS_NULL, file_scope_locks, and TRUE.
Referenced by cwh_dst_enter_pu().
Definition at line 484 of file dwarf_DST_producer.cxx.
References begin_PU, DST_ASSERT, DST_INVALID_IDX, DST_IS_NULL, DST_making_dbg_info, DST_return_to_block(), FALSE, file_scope_locks, and pstate.
Referenced by cwh_dst_enter_pu().
| static void DST_enter_mk | ( | DST_PRODUCER_STATE | new_state, | |
| DST_IDX | last_idx | |||
| ) | [static] |
Definition at line 172 of file dwarf_DST_producer.cxx.
References begin_PU, DST_ASSERT, DST_begin_block(), DST_IS_NULL, DST_local_scope_block, DST_making_dbg_info, DST_return_to_block(), FALSE, file_scope_locks, and pstate.
Referenced by DST_mk_array_type(), DST_mk_basetype(), DST_mk_class_type(), DST_mk_common_block(), DST_mk_common_incl(), 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_file_name(), DST_mk_formal_parameter(), DST_mk_include_dir(), 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(), and DST_mk_volatile_type().
| static DST_INFO_IDX DST_init_info | ( | DST_INFO_IDX | info_idx, | |
| DST_DW_tag | tag, | |||
| DST_flag | flag, | |||
| DST_ATTR_IDX | attrs | |||
| ) | [static] |
Definition at line 410 of file dwarf_DST_producer.cxx.
References DST_INFO_attributes, DST_INFO_dieptr, DST_INFO_flag, DST_INFO_IDX_TO_PTR, DST_INFO_sibling, DST_INFO_tag, DST_INVALID_IDX, and NULL.
Referenced by 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_memdef(), DST_mk_pointer_type(), DST_mk_ptr_to_member_type(), DST_mk_reference_type(), DST_mk_string_type(), 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_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(), and DST_mk_volatile_type().
| DST_INFO_IDX DST_mk_array_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_size_t | byte_size, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_incomplete | |||
| ) |
Definition at line 1770 of file dwarf_DST_producer.cxx.
References DST_ARRAY_TYPE_abstract_origin, DST_ARRAY_TYPE_byte_size, DST_ARRAY_TYPE_decl, DST_ARRAY_TYPE_first_child, DST_ARRAY_TYPE_last_child, DST_ARRAY_TYPE_name, DST_ARRAY_TYPE_type, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_declaration, and DW_TAG_array_type.
Referenced by cwh_dst_array_type(), cwh_dst_dope_type(), DST_enter_array_type(), and DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_basetype | ( | const char * | name, | |
| DST_ATE_encoding | encoding, | |||
| DST_size_t | byte_size | |||
| ) |
Definition at line 1591 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_BASETYPE_byte_size, DST_BASETYPE_encoding, DST_BASETYPE_name, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, and DW_TAG_base_type.
Referenced by Add_DST_variable(), Create_DST_type_For_Tree(), and cwh_dst_basetype().
| DST_INFO_IDX DST_mk_class_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_size_t | byte_size, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_incomplete | |||
| ) |
Definition at line 1942 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_CLASS_TYPE_abstract_origin, DST_CLASS_TYPE_byte_size, DST_CLASS_TYPE_decl, DST_CLASS_TYPE_first_child, DST_CLASS_TYPE_last_child, DST_CLASS_TYPE_name, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_declaration, and DW_TAG_class_type.
Referenced by DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_common_block | ( | char * | name, | |
| ST_IDX | subpr | |||
| ) |
Definition at line 1116 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_COMMON_BLOCK_first_child, DST_COMMON_BLOCK_last_child, DST_COMMON_BLOCK_name, DST_COMMON_BLOCK_st, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, and DW_TAG_common_block.
Referenced by cwh_dst_mk_common().
| DST_INFO_IDX DST_mk_common_incl | ( | USRCPOS | decl, | |
| DST_INFO_IDX | comblk | |||
| ) |
Definition at line 1142 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_COMMON_INCL_com_blk, DST_COMMON_INCL_decl, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, and DW_TAG_common_inclusion.
Referenced by cwh_dst_mk_common_inclusion().
| DST_INFO_IDX DST_mk_compile_unit | ( | char * | src_path, | |
| char * | comp_dir, | |||
| char * | comp_info, | |||
| DST_language | language, | |||
| DST_identifier_case | id_case | |||
| ) |
Definition at line 432 of file dwarf_DST_producer.cxx.
References cu_idx, DST_ASSERT, DST_ATTR_IDX_TO_PTR, DST_begin_block(), DST_COMPILE_UNIT_comp_dir, DST_COMPILE_UNIT_first_child, DST_COMPILE_UNIT_identifier_case, DST_COMPILE_UNIT_language, DST_COMPILE_UNIT_last_child, DST_COMPILE_UNIT_name, DST_COMPILE_UNIT_producer, DST_file_scope_block, DST_init_info(), DST_INVALID_IDX, DST_IS_NULL, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_string(), DST_no_flag, DW_TAG_compile_unit, and pstate.
Referenced by cwh_dst_init_file(), DST_build(), DST_copy_compile_unit(), and IP_write_global_symtab().
| DST_INFO_IDX DST_mk_const_type | ( | DST_INFO_IDX | type | ) |
Definition at line 1618 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_CONST_TYPE_type, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, and DW_TAG_const_type.
Referenced by Create_DST_type_For_Tree(), and DST_Create_var().
| DST_INFO_IDX DST_mk_constant_decl | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| BOOL | is_external | |||
| ) |
Definition at line 1560 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_CONSTANT_decl_decl, DST_CONSTANT_decl_name, DST_CONSTANT_decl_type, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_declaration, DST_SET_external, and DW_TAG_constant.
| DST_INFO_IDX DST_mk_constant_def | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_CONST_VALUE | cval, | |||
| BOOL | is_external | |||
| ) |
Definition at line 1528 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_CONSTANT_def_cval, DST_CONSTANT_def_decl, DST_CONSTANT_def_name, DST_CONSTANT_def_type, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_external, and DW_TAG_constant.
Referenced by cwh_dst_mk_const().
| DST_INFO_IDX DST_mk_entry_point | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| ST_IDX | subpr | |||
| ) |
Definition at line 1085 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_ENTRY_POINT_decl, DST_ENTRY_POINT_first_child, DST_ENTRY_POINT_last_child, DST_ENTRY_POINT_name, DST_ENTRY_POINT_st, DST_ENTRY_POINT_type, DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, and DW_TAG_entry_point.
Referenced by cwh_dst_mk_func().
| DST_INFO_IDX DST_mk_enumeration_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_size_t | byte_size, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_incomplete | |||
| ) |
Definition at line 2142 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_ENUMERATION_TYPE_abstract_origin, DST_ENUMERATION_TYPE_byte_size, DST_ENUMERATION_TYPE_decl, DST_ENUMERATION_TYPE_first_child, DST_ENUMERATION_TYPE_last_child, DST_ENUMERATION_TYPE_name, DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_declaration, and DW_TAG_enumeration_type.
Referenced by DST_enter_cloned_childs(), and DST_enter_enum().
| DST_INFO_IDX DST_mk_enumerator | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_CONST_VALUE | cval | |||
| ) |
Definition at line 2175 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_ENUMERATOR_cval, DST_ENUMERATOR_decl, DST_ENUMERATOR_name, DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, and DW_TAG_enumerator.
Referenced by DST_enter_enum().
Definition at line 298 of file dwarf_DST_producer.cxx.
References DST_begin_block(), DST_enter_mk(), DST_FILE_IDX_TO_PTR, DST_FILE_NAME_dir, DST_FILE_NAME_modt, DST_FILE_NAME_name, DST_FILE_NAME_next, DST_FILE_NAME_size, DST_file_names_block, DST_INVALID_IDX, DST_IS_NULL, DST_making_file_names, DST_mk_file, DST_mk_string(), num_file_names, and pstate.
Referenced by DST_enter_file(), and DST_write_files().
| DST_INFO_IDX DST_mk_formal_parameter | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| ST_IDX | parm, | |||
| DST_INFO_IDX | abstract_origin, | |||
| DST_INFO_IDX | default_val, | |||
| BOOL | is_optional, | |||
| BOOL | is_variable, | |||
| BOOL | is_artificial, | |||
| BOOL | is_declaration_only | |||
| ) |
Definition at line 1447 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_FORMAL_PARAMETER_abstract_origin, DST_FORMAL_PARAMETER_decl, DST_FORMAL_PARAMETER_default_val, DST_FORMAL_PARAMETER_name, DST_FORMAL_PARAMETER_st, DST_FORMAL_PARAMETER_type, DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_artificial, DST_SET_declaration, DST_SET_optional_parm, DST_SET_variable_parm, DW_TAG_formal_parameter, and NULL.
Referenced by Add_DST_variable(), cwh_dst_mk_formal(), DST_enter_cloned_childs(), and DST_enter_param_vars().
| DST_IDX DST_mk_include_dir | ( | char * | path | ) |
Definition at line 244 of file dwarf_DST_producer.cxx.
References DST_begin_block(), DST_DIR_IDX_TO_PTR, DST_enter_mk(), DST_INCLUDE_DIR_next, DST_INCLUDE_DIR_path, DST_include_dirs_block, DST_INVALID_IDX, DST_IS_NULL, DST_making_include_dirs, DST_mk_dir, DST_mk_string(), num_incl_dirs, and pstate.
Referenced by DST_copy_include_dir(), DST_write_directories(), and Get_Dir_Dst_Info().
| DST_INFO_IDX DST_mk_inheritance | ( | USRCPOS | decl, | |
| DST_INFO_IDX | type, | |||
| DST_virtuality | virtuality, | |||
| DST_size_t | memb_loc | |||
| ) |
Definition at line 2046 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_INHERITANCE_decl, DST_INHERITANCE_memb_loc, DST_INHERITANCE_type, DST_INHERITANCE_virtuality, DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, and DW_TAG_inheritance.
Referenced by DST_enter_struct_union().
| DST_INFO_IDX DST_mk_inlined_subroutine | ( | ST_IDX | low_pc, | |
| ST_IDX | high_pc, | |||
| DST_INFO_IDX | abstract_origin | |||
| ) |
Definition at line 504 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_check_info_idx, DST_enter_mk(), DST_init_info(), DST_INLINED_SUBROUTINE_abstract_origin, DST_INLINED_SUBROUTINE_first_child, DST_INLINED_SUBROUTINE_high_pc, DST_INLINED_SUBROUTINE_last_child, DST_INLINED_SUBROUTINE_low_pc, DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DW_TAG_inlined_subroutine, and DW_TAG_subprogram.
Referenced by DST_enter_inlined_subroutine().
| DST_INFO_IDX DST_mk_label | ( | char * | name, | |
| ST_IDX | low_pc, | |||
| DST_INFO_IDX | abstract_origin | |||
| ) |
Definition at line 1257 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_LABEL_abstract_origin, DST_LABEL_low_pc, DST_LABEL_name, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DW_TAG_label, and ST_IDX_ZERO.
Referenced by DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_lexical_block | ( | char * | name, | |
| ST_IDX | low_pc, | |||
| ST_IDX | high_pc, | |||
| DST_INFO_IDX | abstract_origin | |||
| ) |
Definition at line 1223 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_LEXICAL_BLOCK_abstract_origin, DST_LEXICAL_BLOCK_first_child, DST_LEXICAL_BLOCK_high_pc, DST_LEXICAL_BLOCK_last_child, DST_LEXICAL_BLOCK_low_pc, DST_LEXICAL_BLOCK_name, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DW_TAG_lexical_block, and ST_IDX_ZERO.
Referenced by DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_member | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_size_t | memb_loc, | |||
| DST_size_t | byte_size, | |||
| DST_bitsize | bit_offset, | |||
| DST_bitsize | bit_size, | |||
| BOOL | is_bitfield, | |||
| BOOL | is_static, | |||
| BOOL | is_declaration, | |||
| BOOL | is_artificial | |||
| ) |
Definition at line 1979 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_MEMBER_bit_offset, DST_MEMBER_bit_size, DST_MEMBER_byte_size, DST_MEMBER_decl, DST_MEMBER_memb_loc, DST_MEMBER_name, DST_MEMBER_type, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_artificial, DST_SET_bitfield, DST_SET_declaration, DST_SET_static, and DW_TAG_member.
Referenced by cwh_dst_member(), cwh_dst_mk_dope_bound(), DST_enter_normal_field(), and DST_enter_struct_union_members().
| static DST_STR_IDX DST_mk_name | ( | const char * | s | ) | [static] |
Definition at line 137 of file dwarf_DST_producer.cxx.
References DST_allocate(), DST_char_align, DST_INVALID_IDX, DST_STR_IDX_TO_PTR, isdigit(), NULL, strcpy, strlen(), and void.
Referenced by DST_add_linkage_name_to_subprogram(), DST_add_pubname_to_subprogram(), DST_mk_array_type(), DST_mk_basetype(), DST_mk_class_type(), DST_mk_common_block(), 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_label(), DST_mk_lexical_block(), DST_mk_member(), DST_mk_ptr_to_member_type(), DST_mk_string_type(), DST_mk_structure_type(), DST_mk_subprogram(), DST_mk_subroutine_type(), DST_mk_template_type_parameter(), DST_mk_template_value_parameter(), DST_mk_typedef(), DST_mk_union_type(), DST_mk_variable(), DST_mk_variable_comm(), and DST_mk_variable_const().
| DST_INFO_IDX DST_mk_pointer_type | ( | DST_INFO_IDX | type, | |
| DST_addr_class | address_class, | |||
| DST_size_t | byte_size | |||
| ) |
Definition at line 1662 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_POINTER_TYPE_address_class, DST_POINTER_TYPE_byte_size, DST_POINTER_TYPE_type, and DW_TAG_pointer_type.
Referenced by Create_DST_type_For_Tree(), cwh_dst_dope_type(), and cwh_dst_pointer_type().
| DST_INFO_IDX DST_mk_ptr_to_member_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_INFO_IDX | class_type | |||
| ) |
Definition at line 1741 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_PTR_TO_MEMBER_TYPE_class_type, DST_PTR_TO_MEMBER_TYPE_name, DST_PTR_TO_MEMBER_TYPE_type, and DW_TAG_ptr_to_member_type.
Referenced by DST_construct_pointer_to_member().
| DST_INFO_IDX DST_mk_reference_type | ( | DST_INFO_IDX | type, | |
| DST_addr_class | address_class, | |||
| DST_size_t | byte_size | |||
| ) |
Definition at line 1688 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_REFERENCE_TYPE_address_class, DST_REFERENCE_TYPE_byte_size, DST_REFERENCE_TYPE_type, and DW_TAG_reference_type.
Referenced by Create_DST_type_For_Tree().
| DST_STR_IDX DST_mk_string | ( | const char * | s | ) |
Definition at line 120 of file dwarf_DST_producer.cxx.
References DST_allocate(), DST_char_align, DST_INVALID_IDX, DST_STR_IDX_TO_PTR, NULL, strcpy, strlen(), and void.
Referenced by cwh_dst_mk_const(), DST_mk_compile_unit(), DST_mk_file_name(), DST_mk_filename(), DST_mk_include_dir(), DST_mk_subpr_decl(), and DST_mk_subpr_def().
| DST_INFO_IDX DST_mk_string_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_flag | is_len_cval, | |||
| DST_cval_ref | len | |||
| ) |
Definition at line 1844 of file dwarf_DST_producer.cxx.
References DST_cval_ref::cval, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_cval, DST_STRING_TYPE_decl, DST_STRING_TYPE_len_cval, DST_STRING_TYPE_len_ref, DST_STRING_TYPE_name, DW_TAG_string_type, and DST_cval_ref::ref.
Referenced by cwh_dst_substring_type().
| DST_INFO_IDX DST_mk_structure_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_size_t | byte_size, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_incomplete | |||
| ) |
Definition at line 1876 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_declaration, DST_STRUCTURE_TYPE_abstract_origin, DST_STRUCTURE_TYPE_byte_size, DST_STRUCTURE_TYPE_decl, DST_STRUCTURE_TYPE_first_child, DST_STRUCTURE_TYPE_last_child, DST_STRUCTURE_TYPE_name, and DW_TAG_structure_type.
Referenced by cwh_dst_struct_type(), DST_enter_cloned_childs(), and DST_enter_struct_union().
| DST_INFO_IDX DST_mk_subprogram | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_INFO_IDX | origin, | |||
| ST_IDX | subpr, | |||
| DST_inline | inlin, | |||
| DST_virtuality | virtuality, | |||
| DST_vtable_elem_location | vtable_elem_location, | |||
| BOOL | is_declaration, | |||
| BOOL | is_prototyped, | |||
| BOOL | is_external | |||
| ) |
Definition at line 787 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_artificial, DST_SET_declaration, DST_SET_external, DST_SET_prototyped, DST_SUBPROGRAM_decl_decl, DST_SUBPROGRAM_decl_first_child, DST_SUBPROGRAM_decl_inline, DST_SUBPROGRAM_decl_last_child, DST_SUBPROGRAM_decl_linkage_name, DST_SUBPROGRAM_decl_name, DST_SUBPROGRAM_decl_origin, DST_SUBPROGRAM_decl_type, DST_SUBPROGRAM_decl_virtuality, DST_SUBPROGRAM_decl_vtable_elem_location, DST_SUBPROGRAM_def_clone_origin, DST_SUBPROGRAM_def_decl, DST_SUBPROGRAM_def_first_child, DST_SUBPROGRAM_def_inline, DST_SUBPROGRAM_def_last_child, DST_SUBPROGRAM_def_name, DST_SUBPROGRAM_def_pubname, DST_SUBPROGRAM_def_specification, DST_SUBPROGRAM_def_st, DST_SUBPROGRAM_def_type, DST_SUBPROGRAM_def_virtuality, DST_SUBPROGRAM_def_vtable_elem_location, and DW_TAG_subprogram.
Referenced by Create_Func_DST(), cwh_dst_mk_func(), cwh_dst_mk_MAIN(), DST_Create_Subprogram(), and DST_enter_member_function().
| DST_INFO_IDX DST_mk_subprogram_memdef | ( | USRCPOS | decl, | |
| ST_IDX | subpr, | |||
| BOOL | is_prototyped, | |||
| DST_INFO_IDX | spec | |||
| ) |
Definition at line 749 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_check_info_idx, DST_enter_mk(), DST_flag_memdef, DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_SET_memdef, DST_SET_prototyped, DST_SUBPROGRAM_memdef_decl, DST_SUBPROGRAM_memdef_first_child, DST_SUBPROGRAM_memdef_last_child, DST_SUBPROGRAM_memdef_spec, DST_SUBPROGRAM_memdef_st, and DW_TAG_subprogram.
| DST_INFO_IDX DST_mk_subrange_type | ( | DST_flag | is_lb_cval, | |
| DST_cval_ref | low, | |||
| DST_flag | is_ub_cval, | |||
| DST_cval_ref | high | |||
| ) |
Definition at line 1805 of file dwarf_DST_producer.cxx.
References DST_cval_ref::cval, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_SET_lb_cval, DST_SET_ub_cval, DST_SUBRANGE_TYPE_lower_cval, DST_SUBRANGE_TYPE_lower_ref, DST_SUBRANGE_TYPE_stride_ref, DST_SUBRANGE_TYPE_upper_cval, DST_SUBRANGE_TYPE_upper_ref, DW_TAG_subrange_type, and DST_cval_ref::ref.
Referenced by cwh_dst_dope_bounds(), and cwh_dst_subrange().
| DST_INFO_IDX DST_mk_subroutine_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_prototyped | |||
| ) |
Definition at line 2201 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_prototyped, DST_SUBROUTINE_TYPE_abstract_origin, DST_SUBROUTINE_TYPE_decl, DST_SUBROUTINE_TYPE_first_child, DST_SUBROUTINE_TYPE_last_child, DST_SUBROUTINE_TYPE_name, DST_SUBROUTINE_TYPE_type, and DW_TAG_subroutine_type.
Referenced by cwh_dst_mk_subroutine_type(), and DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_template_type_parameter | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type | |||
| ) |
Definition at line 2085 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_TEMPLATE_TYPE_PARAMETER_decl, DST_TEMPLATE_TYPE_PARAMETER_name, DST_TEMPLATE_TYPE_PARAMETER_type, and DW_TAG_template_type_param.
| DST_INFO_IDX DST_mk_template_value_parameter | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_CONST_VALUE | cval | |||
| ) |
Definition at line 2112 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_TEMPLATE_VALUE_PARAMETER_cval, DST_TEMPLATE_VALUE_PARAMETER_decl, DST_TEMPLATE_VALUE_PARAMETER_name, DST_TEMPLATE_VALUE_PARAMETER_type, and DW_TAG_template_value_param.
| DST_INFO_IDX DST_mk_typedef | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| DST_INFO_IDX | abstract_origin | |||
| ) |
Definition at line 1714 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_TYPEDEF_abstract_origin, DST_TYPEDEF_decl, DST_TYPEDEF_name, DST_TYPEDEF_type, and DW_TAG_typedef.
Referenced by DST_Create_type(), and DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_union_type | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_size_t | byte_size, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_incomplete | |||
| ) |
Definition at line 1909 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_declaration, DST_UNION_TYPE_abstract_origin, DST_UNION_TYPE_byte_size, DST_UNION_TYPE_decl, DST_UNION_TYPE_first_child, DST_UNION_TYPE_last_child, DST_UNION_TYPE_name, and DW_TAG_union_type.
Referenced by DST_enter_cloned_childs(), and DST_enter_struct_union().
| DST_INFO_IDX DST_mk_unspecified_parameters | ( | USRCPOS | decl, | |
| DST_INFO_IDX | abstract_origin | |||
| ) |
Definition at line 1503 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_UNSPECIFIED_PARAMETERS_abstract_origin, DST_UNSPECIFIED_PARAMETERS_decl, and DW_TAG_unspecified_parameters.
Referenced by DST_enter_cloned_childs().
| DST_INFO_IDX DST_mk_variable | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| UINT64 | offs, | |||
| ST_IDX | var, | |||
| DST_INFO_IDX | abstract_origin, | |||
| BOOL | is_declaration, | |||
| BOOL | is_automatic, | |||
| BOOL | is_external, | |||
| BOOL | is_artificial | |||
| ) |
Definition at line 1385 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_INVALID_IDX, DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_artificial, DST_SET_automatic, DST_SET_declaration, DST_SET_external, DST_VARIABLE_decl_decl, DST_VARIABLE_decl_name, DST_VARIABLE_decl_type, DST_VARIABLE_def_abstract_origin, DST_VARIABLE_def_decl, DST_VARIABLE_def_name, DST_VARIABLE_def_offs, DST_VARIABLE_def_specification, DST_VARIABLE_def_st, DST_VARIABLE_def_type, and DW_TAG_variable.
Referenced by Add_DST_variable(), Create_New_DST(), cwh_dst_mk_dope_bound(), cwh_dst_mk_variable(), DST_Create_var(), DST_enter_cloned_childs(), and DST_enter_static_data_mem().
| DST_INFO_IDX DST_mk_variable_comm | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| ST_IDX | var, | |||
| UINT64 | offset | |||
| ) |
Definition at line 1323 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_comm, DST_VARIABLE_comm_decl, DST_VARIABLE_comm_name, DST_VARIABLE_comm_offs, DST_VARIABLE_comm_st, DST_VARIABLE_comm_type, and DW_TAG_variable.
Referenced by cwh_dst_mk_common(), and cwh_dst_mk_dope_bound().
| DST_INFO_IDX DST_mk_variable_const | ( | USRCPOS | decl, | |
| char * | name, | |||
| DST_INFO_IDX | type, | |||
| BOOL | is_automatic, | |||
| BOOL | is_external, | |||
| DST_CONST_VALUE | cval | |||
| ) |
Definition at line 1288 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_mk_name(), DST_no_flag, DST_SET_automatic, DST_SET_const, DST_SET_external, DST_VARIABLE_constant_cval, DST_VARIABLE_constant_decl, DST_VARIABLE_constant_name, DST_VARIABLE_constant_type, and DW_TAG_variable.
Referenced by cwh_dst_mk_const().
| DST_INFO_IDX DST_mk_variable_memdef | ( | USRCPOS | decl, | |
| ST_IDX | var, | |||
| DST_INFO_IDX | spec | |||
| ) |
Definition at line 1354 of file dwarf_DST_producer.cxx.
References DST_ASSOC_INFO_st_idx, DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_SET_memdef, DST_VARIABLE_memdef_decl, DST_VARIABLE_memdef_spec, DST_VARIABLE_memdef_st, and DW_TAG_variable.
| DST_INFO_IDX DST_mk_volatile_type | ( | DST_INFO_IDX | type | ) |
Definition at line 1640 of file dwarf_DST_producer.cxx.
References DST_ATTR_IDX_TO_PTR, DST_enter_mk(), DST_init_info(), DST_making_dbg_info, DST_mk_attr, DST_mk_info, DST_no_flag, DST_VOLATILE_TYPE_type, and DW_TAG_volatile_type.
Referenced by Create_DST_type_For_Tree(), and DST_Create_var().
Definition at line 373 of file dwarf_DST_producer.cxx.
References DST_ASSERT, DST_INVALID_IDX, DST_IS_NULL, DST_making_dbg_info, DST_return_to_block(), file_scope_locks, and pstate.
Referenced by DST_unwind_locks().
Definition at line 386 of file dwarf_DST_producer.cxx.
References DST_release_from_file_scope_mem(), file_scope_locks, and mINT32.
Definition at line 87 of file dwarf_DST_producer.cxx.
Referenced by DST_begin_PU(), DST_end_PU(), and DST_enter_mk().
DST_INFO_IDX file_scope_info = DST_INVALID_INIT [static] |
Definition at line 75 of file dwarf_DST_producer.cxx.
mINT32 file_scope_locks = 0 [static] |
Definition at line 88 of file dwarf_DST_producer.cxx.
Referenced by DST_begin_PU(), DST_end_PU(), DST_enter_mk(), DST_is_locked_to_file_scope_mem(), DST_lock_to_file_scope_mem(), DST_release_from_file_scope_mem(), DST_unwind_locks(), and DST_wind_up_locks().
DST_INFO_IDX forced_exit_info = DST_INVALID_INIT [static] |
Definition at line 76 of file dwarf_DST_producer.cxx.
DST_FILE_IDX last_file_name = DST_INVALID_INIT [static] |
Definition at line 73 of file dwarf_DST_producer.cxx.
Referenced by cwh_stab_set_linenum(), cwh_stmt_init_srcpos(), GTY(), and VEC().
DST_DIR_IDX last_include_dir = DST_INVALID_INIT [static] |
Definition at line 72 of file dwarf_DST_producer.cxx.
DST_INFO_IDX last_info_idx = DST_INVALID_INIT [static] |
Definition at line 74 of file dwarf_DST_producer.cxx.
mUINT16 num_file_names = 0 [static] |
Definition at line 81 of file dwarf_DST_producer.cxx.
Referenced by DST_mk_file_name(), and DST_number_of_files().
mUINT16 num_incl_dirs = 0 [static] |
Definition at line 82 of file dwarf_DST_producer.cxx.
Referenced by DST_mk_include_dir(), and DST_number_of_include_dirs().
DST_PRODUCER_STATE pstate = DST_begin_state [static] |
Definition at line 71 of file dwarf_DST_producer.cxx.
Referenced by DST_end_PU(), DST_enter_mk(), DST_mk_compile_unit(), DST_mk_file_name(), DST_mk_include_dir(), and DST_release_from_file_scope_mem().
1.5.6