dw_frame_t frame = xbt_new0(s_dw_frame_t, 1);
frame->tag = tag;
- frame->start = dwarf_dieoffset(die);
+ frame->id = dwarf_dieoffset(die);
const char* name = MC_dwarf_attr_integrate_string(die, DW_AT_name);
if(name)
// Register it:
if(klass==mc_tag_subprogram) {
- char* key = bprintf("%" PRIx64, (uint64_t) frame->start);
+ char* key = bprintf("%" PRIx64, (uint64_t) frame->id);
xbt_dict_set(info->subprograms, key, frame, NULL);
xbt_free(key);
} else if(klass==mc_tag_scope) {
void *high_pc;
s_mc_location_list_t frame_base;
xbt_dynar_t /* <dw_variable_t> */ variables; /* Cannot use dict, there may be several variables with the same name (in different lexical blocks)*/
- unsigned long int start; /* DWARF offset of the subprogram */
+ unsigned long int id; /* DWARF offset of the subprogram */
xbt_dynar_t /* <dw_frame_t> */ scopes;
};