- if(frame->high_pc==0 || frame->low_pc==0)
- xbt_die("Could not resolve highpc/lowpc");
-
- Dwarf_Attribute attr_frame_base;
- if (!dwarf_attr_integrate(die, DW_AT_frame_base, &attr_frame_base))
- xbt_die("Coult not find DW_AT_frame_base for subprogram %s %p", frame->name, frame->start);
- mc_dwarf_location_list_init(&frame->frame_base, info, die, &attr_frame_base);
+ if(klass==mc_tag_subprogram) {
+ Dwarf_Attribute attr_frame_base;
+ if (dwarf_attr_integrate(die, DW_AT_frame_base, &attr_frame_base))
+ mc_dwarf_location_list_init(&frame->frame_base, info, die, &attr_frame_base);
+ }