Lines Matching defs:die

67 ctf_get_AT_type (dw_die_ref die)
69 dw_die_ref type_die = get_AT_ref (die, DW_AT_type);
82 ctf_get_AT_data_member_location (dw_die_ref die)
90 if (get_AT (die, DW_AT_data_bit_offset))
91 field_location = get_AT_unsigned (die, DW_AT_data_bit_offset);
94 attr = get_AT (die, DW_AT_data_member_location);
107 attr = get_AT (die, DW_AT_data_member_location);
111 field_location = (get_AT_unsigned (die,
126 ctf_get_die_loc_file (dw_die_ref die)
128 if (!die)
132 file = get_AT_file (die, DW_AT_decl_file);
140 ctf_get_die_loc_line (dw_die_ref die)
142 if (!die)
145 return get_AT_unsigned (die, DW_AT_decl_line);
149 ctf_get_die_loc_col (dw_die_ref die)
151 if (!die)
154 return get_AT_unsigned (die, DW_AT_decl_column);
203 ctf_die_bitsize (dw_die_ref die)
205 dw_attr_node *attr_byte_size = get_AT (die, DW_AT_byte_size);
206 dw_attr_node *attr_bit_size = get_AT (die, DW_AT_bit_size);
480 supported by CTF, then this function skips the modifier die and continues
800 gen_ctf_variable (ctf_container_ref ctfc, dw_die_ref die)
802 const char *var_name = get_AT_string (die, DW_AT_name);
803 dw_die_ref var_type = ctf_get_AT_type (die);
804 unsigned int external_vis = get_AT_flag (die, DW_AT_external);
808 if (ctf_dvd_lookup (ctfc, die))
814 if (ctf_dvd_ignore_lookup (ctfc, die))
820 dw_die_ref decl = get_AT_ref (die, DW_AT_specification);
826 (void) ctf_add_variable (ctfc, var_name, var_type_id, die, external_vis,
836 gen_ctf_function (ctf_container_ref ctfc, dw_die_ref die)
841 if (ctf_type_exists (ctfc, die, &function_type_id))
848 (void) gen_ctf_function_type (ctfc, die, true /* from_global_func */);
861 gen_ctf_type (ctf_container_ref ctfc, dw_die_ref die)
866 if (ctf_type_exists (ctfc, die, &type_id))
869 switch (dw_get_die_tag (die))
872 type_id = gen_ctf_base_type (ctfc, die);
875 type_id = gen_ctf_pointer_type (ctfc, die);
878 type_id = gen_ctf_typedef (ctfc, die);
881 type_id = gen_ctf_array_type (ctfc, die);
884 type_id = gen_ctf_sou_type (ctfc, die, CTF_K_STRUCT);
887 type_id = gen_ctf_sou_type (ctfc, die, CTF_K_UNION);
890 type_id = gen_ctf_function_type (ctfc, die,
894 type_id = gen_ctf_enumeration_type (ctfc, die);
903 type_id = gen_ctf_modifier_type (ctfc, die);
907 const char *name = get_AT_string (die, DW_AT_name);
956 ctf_do_die (dw_die_ref die)
962 if (dw_get_die_tag (die) == DW_TAG_variable)
964 gen_ctf_variable (tu_ctfc, die);
967 else if (dw_get_die_tag (die) == DW_TAG_subprogram)
969 gen_ctf_function (tu_ctfc, die);
973 return gen_ctf_type (tu_ctfc, die) == CTF_NULL_TYPEID;