aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools
diff options
context:
space:
mode:
authorKai Wang <kaiw@FreeBSD.org>2014-01-17 08:44:12 +0000
committerKai Wang <kaiw@FreeBSD.org>2014-01-17 08:44:12 +0000
commitaedbdd2c5c797e69fc5eb39ccf83d434126f2cd7 (patch)
tree1608dbebdd29a70d034deabf07b8dd5b18ea4d5b /cddl/contrib/opensolaris/tools
parent1391789ee21612ced0d753687479b113f66b017b (diff)
downloadsrc-aedbdd2c5c797e69fc5eb39ccf83d434126f2cd7.tar.gz
src-aedbdd2c5c797e69fc5eb39ccf83d434126f2cd7.zip
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
Notes
Notes: svn path=/projects/elftoolchain/; revision=260809
Diffstat (limited to 'cddl/contrib/opensolaris/tools')
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c2
1 files changed, 1 insertions, 1 deletions
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);
}