Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <stdio.h>
#include <cmplrs/rcodes.h>
#include "dwarf_DST.h"
#include "dwarf_DST_dump.h"
#include "errors.h"
Go to the source code of this file.
#define DST_ASSERT | ( | truth, | |
msg | |||
) | Is_True(truth, (msg)) |
Definition at line 64 of file dwarf_DST_dump.cxx.
Referenced by DST_dump(), and DST_write_line().
#define DST_CHARS_DO_FIT | ( | n | ) | (n <= (DST_DUMP_LINELENGTH - next_char - 5)) |
Definition at line 54 of file dwarf_DST_dump.cxx.
Referenced by DST_nput_char(), and DST_put_string().
#define DST_DUMP_LINELENGTH 1024 |
Definition at line 47 of file dwarf_DST_dump.cxx.
#define DST_TMP_BUF_LENGTH 256 |
Definition at line 48 of file dwarf_DST_dump.cxx.
#define USE_DST_INTERNALS |
Definition at line 42 of file dwarf_DST_dump.cxx.
void DST_dump | ( | DST_DIR_IDX | incl_dirs, |
DST_FILE_IDX | files, | ||
DST_INFO_IDX | compile_unit | ||
) |
Definition at line 1187 of file dwarf_DST_dump.cxx.
References Current_DST, DST_ASSERT, DST_dump_block_kind(), DST_dump_files(), DST_dump_include_dirs(), DST_dump_info(), DST_IS_NULL, DST_preorder_visit(), DST_put_string(), DST_write_line(), dumpf, dumpf_name, kind, next_char, NULL, size, and tmp_buffer.
Referenced by cwh_dst_write(), and Dump_DST().
static void DST_dump_block_kind | ( | DST_BLOCK_KIND | k | ) | [static] |
Definition at line 1162 of file dwarf_DST_dump.cxx.
References DST_file_names_block, DST_file_scope_block, DST_include_dirs_block, DST_local_scope_block, DST_macro_info_block, and DST_put_string().
Referenced by DST_dump().
static void DST_dump_files | ( | DST_FILE_IDX | file_idx, |
INT32 | indentation | ||
) | [static] |
Definition at line 1131 of file dwarf_DST_dump.cxx.
References 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_IS_NULL, DST_put_idx(), DST_put_string_attribute(), DST_put_UINT32_attribute(), DST_put_UINT64_attribute(), DST_write_line(), f, idx, and NULL.
Referenced by DST_dump().
static void DST_dump_include_dirs | ( | DST_DIR_IDX | dir_idx, |
INT32 | indentation | ||
) | [static] |
Definition at line 1101 of file dwarf_DST_dump.cxx.
References DST_DIR_IDX_TO_PTR, DST_INCLUDE_DIR_next, DST_INCLUDE_DIR_path, DST_IS_NULL, DST_put_idx(), DST_put_string_attribute(), DST_put_UINT32_attribute(), DST_write_line(), idx, and NULL.
Referenced by DST_dump().
static INT32 DST_dump_info | ( | INT32 | indentation, |
DST_DW_tag | tag, | ||
DST_flag | flag, | ||
DST_ATTR_IDX | iattr, | ||
DST_INFO_IDX | iinfo | ||
) | [static] |
Definition at line 939 of file dwarf_DST_dump.cxx.
References DST_ATTR_IDX_TO_PTR, DST_nput_char(), DST_put_array_type(), DST_put_basetype(), DST_put_class_type(), DST_put_common_block(), DST_put_common_inclusion(), DST_put_compile_unit(), DST_put_const_type(), DST_put_constant(), DST_put_entry_point(), DST_put_enumeration_type(), DST_put_enumerator(), DST_put_formal_parameter(), DST_put_idx(), DST_put_inheritance(), DST_put_inlined_subroutine(), DST_put_INT32_attribute(), DST_put_label(), DST_put_lexical_block(), DST_put_member(), DST_put_pointer_type(), DST_put_reference_type(), DST_put_string(), DST_put_string_type(), DST_put_structure_type(), DST_put_subprogram(), DST_put_subrange_type(), DST_put_subroutine_type(), DST_put_template_type_param(), DST_put_template_value_param(), DST_put_typedef(), DST_put_union_type(), DST_put_unspecified_parameters(), DST_put_variable(), DST_put_volatile_type(), DST_write_line(), DW_TAG_array_type, DW_TAG_base_type, DW_TAG_class_type, DW_TAG_common_block, DW_TAG_common_inclusion, DW_TAG_compile_unit, DW_TAG_const_type, DW_TAG_constant, DW_TAG_entry_point, DW_TAG_enumeration_type, DW_TAG_enumerator, DW_TAG_formal_parameter, DW_TAG_inheritance, DW_TAG_inlined_subroutine, DW_TAG_label, DW_TAG_lexical_block, DW_TAG_member, DW_TAG_pointer_type, DW_TAG_reference_type, DW_TAG_string_type, DW_TAG_structure_type, DW_TAG_subprogram, DW_TAG_subrange_type, DW_TAG_subroutine_type, DW_TAG_template_type_param, DW_TAG_template_value_param, DW_TAG_typedef, DW_TAG_union_type, DW_TAG_unspecified_parameters, DW_TAG_variable, DW_TAG_volatile_type, exit(), and RC_INTERNAL_ERROR.
Referenced by DST_dump().
static void DST_line_overflow | ( | void | ) | [static] |
Definition at line 90 of file dwarf_DST_dump.cxx.
References end_of_line, line_buffer, next_char, and TRUE.
Referenced by DST_nput_char(), and DST_put_string().
static void DST_nput_char | ( | size_t | n, |
const char | c | ||
) | [static] |
Definition at line 102 of file dwarf_DST_dump.cxx.
References c, DST_CHARS_DO_FIT, DST_line_overflow(), end_of_line, line_buffer, and next_char.
Referenced by DST_dump_info(), DST_put_assoc(), DST_put_id_case_attribute(), DST_put_inline_attribute(), DST_put_language_attribute(), DST_put_string_attribute(), and DST_put_virtuality_attribute().
static void DST_put_array_type | ( | DST_flag | flag, |
DST_ARRAY_TYPE * | attr | ||
) | [static] |
Definition at line 731 of file dwarf_DST_dump.cxx.
References DST_ARRAY_TYPE_abstract_origin, DST_ARRAY_TYPE_byte_size, DST_ARRAY_TYPE_decl, DST_ARRAY_TYPE_name, DST_ARRAY_TYPE_type, DST_IS_declaration, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), FALSE, and TRUE.
Referenced by DST_dump_info().
static void DST_put_assoc | ( | const char * | at_name, |
DST_flag | flag, | ||
DST_ASSOC_INFO | assoc | ||
) | [static] |
Definition at line 364 of file dwarf_DST_dump.cxx.
References DST_ASSOC_INFO_fe_ptr, DST_ASSOC_INFO_st_index, DST_ASSOC_INFO_st_level, DST_IS_assoc_fe, DST_nput_char(), DST_put_hex64_attribute(), DST_put_st_id(), and DST_put_string().
Referenced by DST_put_common_block(), DST_put_entry_point(), DST_put_formal_parameter(), DST_put_inlined_subroutine(), DST_put_label(), DST_put_lexical_block(), DST_put_subprogram(), and DST_put_variable().
static void DST_put_basetype | ( | DST_flag | flag, |
DST_BASETYPE * | attr | ||
) | [static] |
Definition at line 661 of file dwarf_DST_dump.cxx.
References DST_BASETYPE_byte_size, DST_BASETYPE_encoding, DST_FORMAL_PARAMETER_name, DST_put_INT32_attribute(), DST_put_string(), and DST_put_string_attribute().
Referenced by DST_dump_info().
static void DST_put_class_type | ( | DST_flag | flag, |
DST_CLASS_TYPE * | attr | ||
) | [static] |
Definition at line 809 of file dwarf_DST_dump.cxx.
References DST_CLASS_TYPE_abstract_origin, DST_CLASS_TYPE_byte_size, DST_CLASS_TYPE_decl, DST_CLASS_TYPE_name, DST_IS_declaration, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), and FALSE.
Referenced by DST_dump_info().
static void DST_put_common_block | ( | DST_flag | flag, |
DST_COMMON_BLOCK * | attr | ||
) | [static] |
Definition at line 508 of file dwarf_DST_dump.cxx.
References DST_ENTRY_POINT_name, DST_ENTRY_POINT_st, DST_put_assoc(), DST_put_string(), and DST_put_string_attribute().
Referenced by DST_dump_info().
static void DST_put_common_inclusion | ( | DST_flag | flag, |
DST_COMMON_INCL * | attr | ||
) | [static] |
Definition at line 516 of file dwarf_DST_dump.cxx.
References DST_COMMON_INCL_com_blk, DST_COMMON_INCL_decl, DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_compile_unit | ( | DST_flag | flag, |
DST_COMPILE_UNIT * | attr | ||
) | [static] |
Definition at line 417 of file dwarf_DST_dump.cxx.
References DST_COMPILE_UNIT_comp_dir, DST_COMPILE_UNIT_identifier_case, DST_COMPILE_UNIT_language, DST_COMPILE_UNIT_name, DST_COMPILE_UNIT_producer, DST_put_id_case_attribute(), DST_put_language_attribute(), DST_put_string(), and DST_put_string_attribute().
Referenced by DST_dump_info().
static void DST_put_const_attribute | ( | const char * | at_name, |
DST_CONST_VALUE | cval | ||
) | [static] |
Definition at line 379 of file dwarf_DST_dump.cxx.
References DST_CONST_VALUE_form, DST_CONST_VALUE_form_data1, DST_CONST_VALUE_form_data2, DST_CONST_VALUE_form_data4, DST_CONST_VALUE_form_data8, DST_CONST_VALUE_form_string, DST_FORM_DATA1, DST_FORM_DATA2, DST_FORM_DATA4, DST_FORM_DATA8, DST_FORM_STRING, DST_put_idx_attribute(), DST_put_UINT32_attribute(), DST_put_UINT64_attribute(), and FALSE.
Referenced by DST_put_constant(), DST_put_enumerator(), and DST_put_template_value_param().
static void DST_put_const_type | ( | DST_flag | flag, |
DST_CONST_TYPE * | attr | ||
) | [static] |
Definition at line 671 of file dwarf_DST_dump.cxx.
References DST_CONST_TYPE_type, DST_put_idx_attribute(), DST_put_string(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_constant | ( | DST_flag | flag, |
DST_CONSTANT * | attr | ||
) | [static] |
Definition at line 678 of file dwarf_DST_dump.cxx.
References DST_CONSTANT_def_cval, DST_CONSTANT_def_decl, DST_CONSTANT_def_name, DST_CONSTANT_def_type, DST_put_const_attribute(), DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_decl | ( | USRCPOS | decl | ) | [static] |
Definition at line 355 of file dwarf_DST_dump.cxx.
References DST_put_UINT32_attribute(), USRCPOS_column, USRCPOS_filenum, and USRCPOS_linenum.
Referenced by DST_put_array_type(), DST_put_class_type(), DST_put_common_inclusion(), DST_put_constant(), DST_put_entry_point(), DST_put_enumeration_type(), DST_put_enumerator(), DST_put_formal_parameter(), DST_put_inlined_subroutine(), DST_put_member(), DST_put_string_type(), DST_put_structure_type(), DST_put_subprogram(), DST_put_subroutine_type(), DST_put_typedef(), DST_put_union_type(), DST_put_unspecified_parameters(), and DST_put_variable().
static void DST_put_entry_point | ( | DST_flag | flag, |
DST_ENTRY_POINT * | attr | ||
) | [static] |
Definition at line 498 of file dwarf_DST_dump.cxx.
References DST_ENTRY_POINT_decl, DST_ENTRY_POINT_name, DST_ENTRY_POINT_st, DST_ENTRY_POINT_type, DST_put_assoc(), DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_enumeration_type | ( | DST_flag | flag, |
DST_ENUMERATION_TYPE * | attr | ||
) | [static] |
Definition at line 895 of file dwarf_DST_dump.cxx.
References DST_ENUMERATION_TYPE_abstract_origin, DST_ENUMERATION_TYPE_byte_size, DST_ENUMERATION_TYPE_decl, DST_ENUMERATION_TYPE_name, DST_IS_declaration, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), and FALSE.
Referenced by DST_dump_info().
static void DST_put_enumerator | ( | DST_flag | flag, |
DST_ENUMERATOR * | attr | ||
) | [static] |
Definition at line 909 of file dwarf_DST_dump.cxx.
References DST_ENUMERATOR_cval, DST_ENUMERATOR_decl, DST_ENUMERATOR_name, DST_put_const_attribute(), DST_put_decl(), DST_put_string(), and DST_put_string_attribute().
Referenced by DST_dump_info().
static void DST_put_formal_parameter | ( | DST_flag | flag, |
DST_FORMAL_PARAMETER * | attr | ||
) | [static] |
Definition at line 619 of file dwarf_DST_dump.cxx.
References DST_FORMAL_PARAMETER_abstract_origin, DST_FORMAL_PARAMETER_decl, DST_FORMAL_PARAMETER_default_val, DST_FORMAL_PARAMETER_dopetype, DST_FORMAL_PARAMETER_name, DST_FORMAL_PARAMETER_st, DST_FORMAL_PARAMETER_type, DST_IS_allocatable, DST_IS_artificial, DST_IS_assumed_shape, DST_IS_assumed_size, DST_IS_base_deref, DST_IS_deref, DST_IS_f90_pointer, DST_IS_optional_parm, DST_IS_variable_parm, DST_put_assoc(), DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), FALSE, and TRUE.
Referenced by DST_dump_info().
static void DST_put_hex64_attribute | ( | const char * | at_name, |
UINT64 | num | ||
) | [static] |
Definition at line 208 of file dwarf_DST_dump.cxx.
References DST_put_string(), and tmp_buffer.
Referenced by DST_put_assoc().
static void DST_put_id_case_attribute | ( | const char * | at_name, |
DST_identifier_case | id_case | ||
) | [static] |
Definition at line 331 of file dwarf_DST_dump.cxx.
References DST_nput_char(), DST_put_string(), DW_ID_case_insensitive, DW_ID_case_sensitive, DW_ID_down_case, and DW_ID_up_case.
Referenced by DST_put_compile_unit().
static void DST_put_idx | ( | DST_IDX | i | ) | [static] |
Definition at line 160 of file dwarf_DST_dump.cxx.
References DST_idx::block_idx, DST_idx::byte_idx, DST_put_string(), and tmp_buffer.
Referenced by DST_dump_files(), DST_dump_include_dirs(), DST_dump_info(), and DST_put_idx_attribute().
static void DST_put_idx_attribute | ( | const char * | at_name, |
DST_IDX | i, | ||
BOOL | is_type | ||
) | [static] |
Definition at line 187 of file dwarf_DST_dump.cxx.
References DST_IS_FOREIGN_OBJ, DST_IS_NULL, DST_put_idx(), and DST_put_string().
Referenced by DST_put_array_type(), DST_put_class_type(), DST_put_common_inclusion(), DST_put_const_attribute(), DST_put_const_type(), DST_put_constant(), DST_put_entry_point(), DST_put_enumeration_type(), DST_put_formal_parameter(), DST_put_inheritance(), DST_put_inlined_subroutine(), DST_put_member(), DST_put_pointer_type(), DST_put_reference_type(), DST_put_string_type(), DST_put_structure_type(), DST_put_subprogram(), DST_put_subrange_type(), DST_put_subroutine_type(), DST_put_template_type_param(), DST_put_typedef(), DST_put_union_type(), DST_put_variable(), and DST_put_volatile_type().
static void DST_put_inheritance | ( | DST_flag | flag, |
DST_INHERITANCE * | attr | ||
) | [static] |
Definition at line 864 of file dwarf_DST_dump.cxx.
References DST_INHERITANCE_memb_loc, DST_INHERITANCE_type, DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_inline_attribute | ( | const char * | at_name, |
DST_inline | inlin | ||
) | [static] |
Definition at line 251 of file dwarf_DST_dump.cxx.
References DST_nput_char(), DST_put_string(), DW_INL_declared_inlined, DW_INL_declared_not_inlined, DW_INL_inlined, and DW_INL_not_inlined.
Referenced by DST_put_subprogram().
static void DST_put_inlined_subroutine | ( | DST_flag | flag, |
DST_INLINED_SUBROUTINE * | attr | ||
) | [static] |
Definition at line 483 of file dwarf_DST_dump.cxx.
References DST_INLINED_SUBROUTINE_abstract_name, DST_INLINED_SUBROUTINE_abstract_origin, DST_INLINED_SUBROUTINE_decl, DST_INLINED_SUBROUTINE_high_pc, DST_INLINED_SUBROUTINE_low_pc, DST_IS_FOREIGN_OBJ, DST_put_assoc(), DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), and FALSE.
Referenced by DST_dump_info().
static void DST_put_INT32_attribute | ( | const char * | at_name, |
INT32 | num | ||
) | [static] |
Definition at line 217 of file dwarf_DST_dump.cxx.
References DST_put_string(), and tmp_buffer.
Referenced by DST_dump_info(), DST_put_array_type(), DST_put_basetype(), DST_put_class_type(), DST_put_enumeration_type(), DST_put_inheritance(), DST_put_member(), DST_put_pointer_type(), DST_put_reference_type(), DST_put_string_type(), DST_put_structure_type(), DST_put_subprogram(), DST_put_subrange_type(), and DST_put_union_type().
static void DST_put_INT64_attribute | ( | const char * | at_name, |
INT64 | num | ||
) | [static] |
Definition at line 233 of file dwarf_DST_dump.cxx.
References DST_put_string(), and tmp_buffer.
static void DST_put_label | ( | DST_flag | flag, |
DST_LABEL * | attr | ||
) | [static] |
Definition at line 534 of file dwarf_DST_dump.cxx.
References DST_LABEL_low_pc, DST_LABEL_name, DST_put_assoc(), DST_put_string(), and DST_put_string_attribute().
Referenced by DST_dump_info().
static void DST_put_language_attribute | ( | const char * | at_name, |
DST_language | lang_code | ||
) | [static] |
Definition at line 293 of file dwarf_DST_dump.cxx.
References DST_nput_char(), DST_put_string(), DW_LANG_Ada83, DW_LANG_C89, DW_LANG_C_plus_plus, DW_LANG_Cobol74, DW_LANG_Cobol85, DW_LANG_Fortran77, DW_LANG_Fortran90, DW_LANG_Modula2, and DW_LANG_Pascal83.
Referenced by DST_put_compile_unit().
static void DST_put_lexical_block | ( | DST_flag | flag, |
DST_LEXICAL_BLOCK * | attr | ||
) | [static] |
Definition at line 524 of file dwarf_DST_dump.cxx.
References DST_LEXICAL_BLOCK_high_pc, DST_LEXICAL_BLOCK_low_pc, DST_LEXICAL_BLOCK_name, DST_put_assoc(), DST_put_string(), and DST_put_string_attribute().
Referenced by DST_dump_info().
static void DST_put_member | ( | DST_flag | flag, |
DST_MEMBER * | attr | ||
) | [static] |
Definition at line 837 of file dwarf_DST_dump.cxx.
References DST_IS_allocatable, DST_IS_assumed_shape, DST_IS_bitfield, DST_IS_declaration, DST_IS_f90_pointer, DST_MEMBER_bit_offset, DST_MEMBER_bit_size, DST_MEMBER_byte_size, DST_MEMBER_decl, DST_MEMBER_dopetype, DST_MEMBER_memb_loc, DST_MEMBER_name, DST_MEMBER_type, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_pointer_type | ( | DST_flag | flag, |
DST_POINTER_TYPE * | attr | ||
) | [static] |
Definition at line 697 of file dwarf_DST_dump.cxx.
References DST_POINTER_TYPE_address_class, DST_POINTER_TYPE_byte_size, DST_POINTER_TYPE_type, DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), and TRUE.
Referenced by DST_dump_info().
static void DST_put_reference_type | ( | DST_flag | flag, |
DST_REFERENCE_TYPE * | attr | ||
) | [static] |
Definition at line 708 of file dwarf_DST_dump.cxx.
References DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_REFERENCE_TYPE_address_class, DST_REFERENCE_TYPE_byte_size, DST_REFERENCE_TYPE_type, and TRUE.
Referenced by DST_dump_info().
static void DST_put_st_id | ( | INT32 | level, |
INT32 | index | ||
) | [static] |
Definition at line 167 of file dwarf_DST_dump.cxx.
References DST_put_string(), and tmp_buffer.
Referenced by DST_put_assoc().
static void DST_put_string | ( | const char * | c | ) | [static] |
Definition at line 124 of file dwarf_DST_dump.cxx.
References DST_CHARS_DO_FIT, DST_line_overflow(), end_of_line, line_buffer, next_char, and NULL.
Referenced by DST_dump(), DST_dump_block_kind(), DST_dump_info(), DST_put_array_type(), DST_put_assoc(), DST_put_basetype(), DST_put_class_type(), DST_put_common_block(), DST_put_common_inclusion(), DST_put_compile_unit(), DST_put_const_type(), DST_put_constant(), DST_put_entry_point(), DST_put_enumeration_type(), DST_put_enumerator(), DST_put_formal_parameter(), DST_put_hex64_attribute(), DST_put_id_case_attribute(), DST_put_idx(), DST_put_idx_attribute(), DST_put_inheritance(), DST_put_inline_attribute(), DST_put_inlined_subroutine(), DST_put_INT32_attribute(), DST_put_INT64_attribute(), DST_put_label(), DST_put_language_attribute(), DST_put_lexical_block(), DST_put_member(), DST_put_pointer_type(), DST_put_reference_type(), DST_put_st_id(), DST_put_string_attribute(), DST_put_string_type(), DST_put_structure_type(), DST_put_subprogram(), DST_put_subrange_type(), DST_put_subroutine_type(), DST_put_template_type_param(), DST_put_template_value_param(), DST_put_typedef(), DST_put_UINT32_attribute(), DST_put_UINT64_attribute(), DST_put_union_type(), DST_put_unspecified_parameters(), DST_put_variable(), DST_put_virtuality_attribute(), and DST_put_volatile_type().
static void DST_put_string_attribute | ( | const char * | at_name, |
DST_STR_IDX | istr | ||
) | [static] |
Definition at line 174 of file dwarf_DST_dump.cxx.
References DST_IS_NULL, DST_nput_char(), DST_put_string(), and DST_STR_IDX_TO_PTR.
Referenced by DST_dump_files(), DST_dump_include_dirs(), DST_put_array_type(), DST_put_basetype(), DST_put_class_type(), DST_put_common_block(), DST_put_compile_unit(), DST_put_constant(), DST_put_entry_point(), DST_put_enumeration_type(), DST_put_enumerator(), DST_put_formal_parameter(), DST_put_inlined_subroutine(), DST_put_label(), DST_put_lexical_block(), DST_put_member(), DST_put_string_type(), DST_put_structure_type(), DST_put_subprogram(), DST_put_subroutine_type(), DST_put_template_type_param(), DST_put_template_value_param(), DST_put_typedef(), DST_put_union_type(), and DST_put_variable().
static void DST_put_string_type | ( | DST_flag | flag, |
DST_STRING_TYPE * | attr | ||
) | [static] |
Definition at line 782 of file dwarf_DST_dump.cxx.
References DST_IS_cval, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), DST_STRING_TYPE_decl, DST_STRING_TYPE_len_cval, DST_STRING_TYPE_len_ref, DST_STRING_TYPE_name, and FALSE.
Referenced by DST_dump_info().
static void DST_put_structure_type | ( | DST_flag | flag, |
DST_STRUCTURE_TYPE * | attr | ||
) | [static] |
Definition at line 796 of file dwarf_DST_dump.cxx.
References DST_IS_declaration, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), DST_STRUCTURE_TYPE_abstract_origin, DST_STRUCTURE_TYPE_byte_size, DST_STRUCTURE_TYPE_decl, DST_STRUCTURE_TYPE_name, and FALSE.
Referenced by DST_dump_info().
static void DST_put_subprogram | ( | DST_flag | flag, |
DST_SUBPROGRAM * | attr | ||
) | [static] |
Definition at line 429 of file dwarf_DST_dump.cxx.
References DST_IS_declaration, DST_IS_external, DST_IS_memdef, DST_IS_prototyped, DST_put_assoc(), DST_put_decl(), DST_put_idx_attribute(), DST_put_inline_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), DST_put_virtuality_attribute(), DST_SUBPROGRAM_decl_decl, DST_SUBPROGRAM_decl_inline, 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_inline, DST_SUBPROGRAM_def_linkage_name, 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, FALSE, and TRUE.
Referenced by DST_dump_info().
static void DST_put_subrange_type | ( | DST_flag | flag, |
DST_SUBRANGE_TYPE * | attr | ||
) | [static] |
Definition at line 746 of file dwarf_DST_dump.cxx.
References DST_IS_count, DST_IS_lb_cval, DST_IS_stride_1byte, DST_IS_stride_2byte, DST_IS_ub_cval, DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), 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, and FALSE.
Referenced by DST_dump_info().
static void DST_put_subroutine_type | ( | DST_flag | flag, |
DST_SUBROUTINE_TYPE * | attr | ||
) | [static] |
Definition at line 919 of file dwarf_DST_dump.cxx.
References DST_IS_prototyped, DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), DST_SUBROUTINE_TYPE_abstract_origin, DST_SUBROUTINE_TYPE_decl, DST_SUBROUTINE_TYPE_name, DST_SUBROUTINE_TYPE_type, FALSE, and TRUE.
Referenced by DST_dump_info().
static void DST_put_template_type_param | ( | DST_flag | flag, |
DST_TEMPLATE_TYPE_PARAMETER * | attr | ||
) | [static] |
Definition at line 874 of file dwarf_DST_dump.cxx.
References DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), DST_TEMPLATE_TYPE_PARAMETER_name, DST_TEMPLATE_TYPE_PARAMETER_type, and TRUE.
Referenced by DST_dump_info().
static void DST_put_template_value_param | ( | DST_flag | flag, |
DST_TEMPLATE_VALUE_PARAMETER * | attr | ||
) | [static] |
Definition at line 885 of file dwarf_DST_dump.cxx.
References DST_put_const_attribute(), DST_put_string(), DST_put_string_attribute(), DST_TEMPLATE_VALUE_PARAMETER_cval, and DST_TEMPLATE_VALUE_PARAMETER_name.
Referenced by DST_dump_info().
static void DST_put_typedef | ( | DST_flag | flag, |
DST_TYPEDEF * | attr | ||
) | [static] |
Definition at line 719 of file dwarf_DST_dump.cxx.
References DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), DST_TYPEDEF_abstract_origin, DST_TYPEDEF_decl, DST_TYPEDEF_name, DST_TYPEDEF_type, FALSE, and TRUE.
Referenced by DST_dump_info().
static void DST_put_UINT32_attribute | ( | const char * | at_name, |
UINT32 | num | ||
) | [static] |
Definition at line 225 of file dwarf_DST_dump.cxx.
References DST_put_string(), and tmp_buffer.
Referenced by DST_dump_files(), DST_dump_include_dirs(), DST_put_const_attribute(), and DST_put_decl().
static void DST_put_UINT64_attribute | ( | const char * | at_name, |
UINT64 | num | ||
) | [static] |
Definition at line 241 of file dwarf_DST_dump.cxx.
References DST_put_string(), and tmp_buffer.
Referenced by DST_dump_files(), DST_put_const_attribute(), and DST_put_variable().
static void DST_put_union_type | ( | DST_flag | flag, |
DST_UNION_TYPE * | attr | ||
) | [static] |
Definition at line 823 of file dwarf_DST_dump.cxx.
References DST_IS_declaration, DST_put_decl(), DST_put_idx_attribute(), DST_put_INT32_attribute(), DST_put_string(), DST_put_string_attribute(), DST_UNION_TYPE_abstract_origin, DST_UNION_TYPE_byte_size, DST_UNION_TYPE_decl, DST_UNION_TYPE_name, and FALSE.
Referenced by DST_dump_info().
static void DST_put_unspecified_parameters | ( | DST_flag | flag, |
DST_UNSPECIFIED_PARAMETERS * | attr | ||
) | [static] |
Definition at line 653 of file dwarf_DST_dump.cxx.
References DST_FORMAL_PARAMETER_decl, DST_put_decl(), and DST_put_string().
Referenced by DST_dump_info().
static void DST_put_variable | ( | DST_flag | flag, |
DST_VARIABLE * | attr | ||
) | [static] |
Definition at line 543 of file dwarf_DST_dump.cxx.
References DST_IS_allocatable, DST_IS_artificial, DST_IS_assumed_shape, DST_IS_assumed_size, DST_IS_automatic, DST_IS_base_deref, DST_IS_comm, DST_IS_const, DST_IS_declaration, DST_IS_deref, DST_IS_external, DST_IS_f90_pointer, DST_IS_memdef, DST_put_assoc(), DST_put_decl(), DST_put_idx_attribute(), DST_put_string(), DST_put_string_attribute(), DST_put_UINT64_attribute(), DST_VARIABLE_comm_decl, DST_VARIABLE_comm_dopetype, DST_VARIABLE_comm_name, DST_VARIABLE_comm_offs, DST_VARIABLE_comm_st, DST_VARIABLE_comm_type, DST_VARIABLE_decl_decl, DST_VARIABLE_decl_name, DST_VARIABLE_decl_type, DST_VARIABLE_def_abstract_origin, DST_VARIABLE_def_decl, DST_VARIABLE_def_dopetype, DST_VARIABLE_def_name, DST_VARIABLE_def_offs, DST_VARIABLE_def_st, DST_VARIABLE_def_type, FALSE, and TRUE.
Referenced by DST_dump_info().
static void DST_put_virtuality_attribute | ( | const char * | at_name, |
DST_virtuality | virtuality | ||
) | [static] |
Definition at line 274 of file dwarf_DST_dump.cxx.
References DST_nput_char(), DST_put_string(), DW_VIRTUALITY_none, DW_VIRTUALITY_pure_virtual, and DW_VIRTUALITY_virtual.
Referenced by DST_put_subprogram().
static void DST_put_volatile_type | ( | DST_flag | flag, |
DST_VOLATILE_TYPE * | attr | ||
) | [static] |
Definition at line 689 of file dwarf_DST_dump.cxx.
References DST_put_idx_attribute(), DST_put_string(), DST_VOLATILE_TYPE_type, and TRUE.
Referenced by DST_dump_info().
void DST_set_dump_filename | ( | char * | file_name | ) |
Definition at line 1250 of file dwarf_DST_dump.cxx.
References dumpf_name.
Referenced by cwh_dst_write().
static void DST_write_line | ( | void | ) | [static] |
Definition at line 76 of file dwarf_DST_dump.cxx.
References DST_ASSERT, dumpf, end_of_line, FALSE, line_buffer, and next_char.
Referenced by DST_dump(), DST_dump_files(), DST_dump_include_dirs(), and DST_dump_info().
void Dump_DST | ( | FILE * | f | ) |
Definition at line 1238 of file dwarf_DST_dump.cxx.
References DST_dump(), DST_get_compile_unit(), DST_get_file_names(), DST_get_include_dirs(), dumpf, and NULL.
Referenced by ir_b2a().
Definition at line 59 of file dwarf_DST_dump.cxx.
Referenced by DST_dump(), DST_write_line(), and Dump_DST().
char* dumpf_name = NULL [static] |
Definition at line 60 of file dwarf_DST_dump.cxx.
Referenced by DST_dump(), and DST_set_dump_filename().
BOOL end_of_line = FALSE [static] |
Definition at line 61 of file dwarf_DST_dump.cxx.
Referenced by DRA_Process_Requests(), DST_line_overflow(), DST_nput_char(), DST_put_string(), and DST_write_line().
char line_buffer[DST_DUMP_LINELENGTH] [static] |
Definition at line 56 of file dwarf_DST_dump.cxx.
Referenced by DST_line_overflow(), DST_nput_char(), DST_put_string(), and DST_write_line().
Definition at line 58 of file dwarf_DST_dump.cxx.
Referenced by DST_dump(), DST_line_overflow(), DST_nput_char(), DST_put_string(), DST_write_line(), parse_imp_do(), parse_io_list(), and W2CF_Symtab_Alloc_Chars().
char tmp_buffer[DST_TMP_BUF_LENGTH] [static] |
Definition at line 57 of file dwarf_DST_dump.cxx.
Referenced by DST_dump(), DST_put_hex64_attribute(), DST_put_idx(), DST_put_INT32_attribute(), DST_put_INT64_attribute(), DST_put_st_id(), DST_put_UINT32_attribute(), DST_put_UINT64_attribute(), and Split_The_Current_Output_Line().