diff options
author | kaiw <kaiw@FreeBSD.org> | 2014-01-17 08:44:12 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2014-01-17 08:44:12 +0000 |
commit | 844d940ffdf08ae04801d9ebf19acd5e3d15c7a1 (patch) | |
tree | 1608dbebdd29a70d034deabf07b8dd5b18ea4d5b /cddl/contrib/opensolaris/tools | |
parent | 403645c54c11c0adf61df0de4a94ceb62a8ceae2 (diff) | |
download | FreeBSD-src-844d940ffdf08ae04801d9ebf19acd5e3d15c7a1.zip FreeBSD-src-844d940ffdf08ae04801d9ebf19acd5e3d15c7a1.tar.gz |
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
Diffstat (limited to 'cddl/contrib/opensolaris/tools')
-rw-r--r-- | cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c | 2 |
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 eba5bbd..201a81a 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); } |