Project

General

Profile

Actions

Bug #5356

open

ctfmerge confuses unresolved types with members that have zero size

Added by Robert Mustacchi about 9 years ago.

Status:
New
Priority:
Normal
Category:
tools - gate/build tools
Start date:
2014-11-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The first two hunks deal with issues around zero-length arrays.
tdesc_size() returns 0 for types that haven't been resolved yet, but
of course it'll return 0 for zero-length arrays, and for structs/unions
that consist of zero-length arrays. In those cases I've strengthened the
checks to also verify that (t_flags & TDESC_F_RESOLVED) == 0.

No data to display

Actions

Also available in: Atom PDF