From aedbdd2c5c797e69fc5eb39ccf83d434126f2cd7 Mon Sep 17 00:00:00 2001 From: Kai Wang Date: Fri, 17 Jan 2014 08:44:12 +0000 Subject: We should not set the unnamed DIE's name to "__anon__" since that will bring back a known issue with DTrace regarding type name comparison. Instead, we can set the name to an empty string. Pointed out by: avg --- cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cddl') diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c index eba5bbdfeb3f..201a81ae94ff 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c @@ -432,7 +432,7 @@ die_name(dwarf_t *dw, Dwarf_Die die) (void) die_string(dw, die, DW_AT_name, &str, 0); if (str == NULL) - str = xstrdup("__anon__"); + str = xstrdup(""); return (str); } -- cgit v1.2.3