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
This commit is contained in:
parent
1391789ee2
commit
aedbdd2c5c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user