Exemple #1
0
            protected TargetType ResolveType(DieStructureType die_struct)
            {
                if ((TypeOffset == 0) || (Name == null))
                    return null;

                if ((location == null) && !die_struct.IsUnion)
                    return null;

                type_die = comp_unit.GetType (TypeOffset);
                if (type_die == null)
                    return null;

                if ((location != null) && !read_location ())
                    return null;

                type = type_die.ResolveType ();
                return type;
            }
Exemple #2
0
            public bool Resolve(DieStructureType die_struct)
            {
                if (resolved)
                    return ok;

                type = ResolveType (die_struct);
                resolved = true;
                ok = type != null;
                return ok;
            }