Page MenuHomeFreeBSD

D33700.diff
No OneTemporary

D33700.diff

diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c
--- a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c
+++ b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c
@@ -1123,8 +1123,16 @@
*/
if (mt->t_members == NULL)
continue;
- if (mt->t_type == ARRAY && mt->t_ardef->ad_nelems == 0)
- continue;
+ if (mt->t_type == ARRAY) {
+ if (mt->t_ardef->ad_nelems == 0)
+ continue;
+ mt = tdesc_basetype(mt->t_ardef->ad_contents);
+ if ((mt->t_flags & TDESC_F_RESOLVED) != 0 &&
+ (mt->t_type == STRUCT ||
+ mt->t_type == UNION) &&
+ mt->t_members == NULL)
+ continue;
+ }
if ((mt->t_flags & TDESC_F_RESOLVED) != 0 &&
(mt->t_type == STRUCT || mt->t_type == UNION))
continue;

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 20, 4:09 AM (5 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31819280
Default Alt Text
D33700.diff (795 B)

Event Timeline