Skip to content

Commit

Permalink
[extheapshot] Generate full class names
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Feb 26, 2012
1 parent 834f2d9 commit 15bcd26
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/extheapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ explain_object (MonoProfiler *prof, MonoObject *obj)
if (prof->comp_img && explain_object_image(prof->comp_img, obj))
return;

printf("(clr) %s\n", mono_class_get_name(mono_object_get_class(obj)));
MonoType *ty = mono_class_get_type(mono_object_get_class(obj));
const char *tn = mono_type_get_name(ty);
printf("(clr) %s\n", tn);
mono_free((void*)tn);
}

static int
Expand Down

0 comments on commit 15bcd26

Please sign in to comment.