Lines Matching defs:die
50 /* adds an attribute to a die */
51 void _dwarf_pro_add_at_to_die(Dwarf_P_Die die, Dwarf_P_Attribute attr);
54 This function creates a new die.
55 tag: tag of the new die to be created
56 parent,child,left,right: specify neighbors of the new die. Only
88 This function links up a die to specified neighbors
89 parent,child,left,right: specify neighbors of the new die. Only
111 die we want to attach new_die to. */
115 /* Attach to the new die to end of the sibling list. */
139 insert the new die in the list. */
155 /* There is already a left sibling of the right die,
156 insert the new die in the list. */
179 Dwarf_P_Die die,
183 if (die == NULL) {
186 die->di_marker = marker;
193 Dwarf_P_Die die,
197 if (die == NULL) {
200 *marker = die->di_marker;
206 This function adds a die to dbg struct. It should be called using
261 Add AT_name attribute to die
264 dwarf_add_AT_name(Dwarf_P_Die die, char *name, Dwarf_Error * error)
268 if (die == NULL) {
273 _dwarf_p_get_alloc(die->di_dbg,sizeof(struct Dwarf_P_Attribute_s));
287 _dwarf_p_get_alloc(die->di_dbg, strlen(name)+1);
296 /* add attribute to the die */
297 _dwarf_pro_add_at_to_die(die, new_attr);
303 Add AT_comp_dir attribute to die
342 /* add attribute to the die */
349 Dwarf_P_Die die,
355 if (die == NULL) {
383 _dwarf_pro_add_at_to_die(die, new_attr);
390 Dwarf_P_Die die,
396 if (die == NULL) {
425 _dwarf_pro_add_at_to_die(die, new_attr);
432 _dwarf_pro_add_at_to_die(Dwarf_P_Die die, Dwarf_P_Attribute attr)
434 if (die->di_last_attr) {
435 die->di_last_attr->ar_next = attr;
436 die->di_last_attr = attr;
437 die->di_n_attr++;
439 die->di_n_attr = 1;
440 die->di_attrs = die->di_last_attr = attr;