* \return MC specific representation of the location list represented by the given attribute
* of the given die
*/
-static dw_location_t MC_dwarf_get_location_list_libdw(Dwarf_Die* die, Dwarf_Attribute* attr) {
-
+static dw_location_t MC_dwarf_get_location_list(Dwarf_Die* die, Dwarf_Attribute* attr) {
dw_location_t location = xbt_new0(s_dw_location_t, 1);
location->type = e_dw_loclist;
case DW_FORM_data4:
case DW_FORM_data8:
{
- return MC_dwarf_get_location_list_libdw(die, attr);
+ return MC_dwarf_get_location_list(die, attr);
}
break;
* \return MC specific representation of the location represented by the given attribute
* of the given die
*/
-static dw_location_t MC_dwarf_at_location(Dwarf_Die* die, int attribute, mc_object_info_t info) {
+static dw_location_t MC_dwarf_at_location(Dwarf_Die* die, int attribute) {
if(!dwarf_hasattr_integrate(die, attribute))
return xbt_new0(s_dw_location_t, 1);
frame->variables = xbt_dynar_new(sizeof(dw_variable_t), dw_variable_free_voidp);
frame->high_pc = (void*) MC_dwarf_attr_addr(die, DW_AT_high_pc);
frame->low_pc = (void*) MC_dwarf_attr_addr(die, DW_AT_low_pc);
- frame->frame_base = MC_dwarf_at_location(die, DW_AT_frame_base, info);
+ frame->frame_base = MC_dwarf_at_location(die, DW_AT_frame_base);
frame->end = -1; // This one is now useless:
// Handle children: