• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/cxxfilt-11/cxxfilt/binutils/

Lines Matching +defs:file +defs:type

6    This file is part of GNU Binutils.
23 /* This file contains code which parses stabs debugging information.
58 /* The accumulated file name string. */
62 /* The value of the start of the file, so that we can handle file
74 /* The main file name. */
92 /* Lists of types per file. */
113 debug_type type;
121 file. */
125 /* Next set of slots for this file. */
127 /* Types indexed by type number. */
143 /* Slot to hold real type when we discover it. If we don't, we fill
144 in an undefined tag type. */
146 /* Indirect type we have created to point at slot. */
147 debug_type type;
408 parse_stab (void *dhandle, void *handle, int type, int desc, bfd_vma value,
414 directory name and one for the file name. We just collect N_SO
418 && (type != N_SO || *string == '\0' || value != info->so_value))
432 /* We need to reset the mapping from type numbers to types. We
442 /* Now process whatever type we just got. */
445 switch (type)
550 /* Start an include file. */
556 /* Start an include file which may be replaced. */
569 /* This is a duplicate of a header file named by N_BINCL which
654 if (! parse_stab_string (dhandle, info, type, desc, value, string))
686 int type;
709 the number of bytes occupied by a type or object, which we
732 /* This was an anonymous type that was never fixed up. */
753 type = 'l';
755 type = *p++;
757 switch (type)
760 /* c is a special case, not followed by a type-number.
765 (where type 6 is defined by "blobs:t6=eblob1:0,blob2:1,;"). */
783 the value, but the type as well. C has at least int,
794 (where type 6 is defined by "blobs:t6=eblob1:0,blob2:1,;"). */
831 if (! debug_record_function (dhandle, name, dtype, type == 'F', value))
902 Fortran. The type-number specifies the type of the return
903 value. Translate it into a pointer-to-function type. */
931 /* Prototype of a function referenced by this file. */
969 /* Static symbol at top level of file. */
986 /* A nameless type. Nothing to do. */
1020 /* INFO->SELF_CROSSREF is set by parse_stab_type if this type is
1121 /* Parse a stabs type. The typename argument is non-NULL if this is a
1124 store the slot used if the type is being defined. */
1146 /* Read type number if present. The type number may be omitted.
1147 for instance in a two-dimensional array declared with type
1151 /* 'typenums=' not present, type is anonymous. Read and return
1152 the definition, but don't put it in the type vector. */
1165 /* Only set the slot if the type is being defined. This means
1166 that the mapping from type numbers to types will only record
1167 the name of the typedef which defines a type. If we don't do
1171 will record that i is of type foo. Unfortunately, stabs
1177 type. This could be fixed by patching the compiler. */
1191 /* Member type. */
1221 /* Ignore unrecognized type attributes, so future
1238 /* A cross reference to another type. */
1253 warn_stab (orig, _("unrecognized cross reference type"));
1318 /* This type is defined as another type. */
1328 /* This type is being defined as itself, which means that
1363 /* Reference to another type. */
1371 /* Function returning another type. */
1381 /* Const qualifier on some type (Sun). */
1391 /* Volatile qual on some type (Sun). */
1400 /* Offset (class & variable) type. This is used for a pointer
1406 /* Member type. */
1430 /* Method (class & fn) type. */
1503 /* If the last type is not void, then this function takes a
1505 the void type. */
1523 /* Range type. */
1529 /* Sun ACC builtin int type. */
1534 /* Sun ACC builtin float type. */
1539 /* Enumeration type. */
1545 /* Struct or union type. */
1551 /* Array type. */
1594 /* Read a number by which a type is referred to in dbx data, or
1633 /* Parse a range type. */
1650 /* First comes a type we are a subrange of.
1651 In C it is usually 0, 1 or the type being defined. */
1713 /* A type defined as a subrange of itself, with both bounds 0,
1718 /* A type defined as a subrange of itself, with n2 positive and
1719 n3 zero, is a complex type, and n2 is the number of bytes. */
1724 type, and n2 is the number of bytes. */
1787 self_subrange type; I'm going to assume that this is used as an
1800 warn_stab (orig, _("missing index type"));
1808 typedefs in every file (for int, long, etc):
1810 type = b <signed> <width>; <offset>; <nbits>
1812 offset = offset from high order bit to start bit of type.
1813 width is # bytes in object of this type, nbits is # bits in type.
1843 because no other type has this honor. We can safely ignore this because
1850 by this type, except that unsigned short is 4 instead of 2.
1870 /* The third number is the number of bits for this type. */
1873 /* The type *should* end with a semicolon. If it are embedded
1874 in a larger type the semicolon may be the only way to know where
1875 the type ends. If this type is at the end of the stabstring we
1888 /* Parse a builtin floating type generated by the Sun compiler. */
1899 /* The first number has more details about the type, for example
1908 /* The second number is the number of bytes occupied by this type */
1924 /* Handle an enum type. */
1940 my guess is it's a type of some sort. Just ignore it. */
1999 /* Read the description of a structure (or union type) and return an object
2000 describing the type.
2053 the type for the base class, and a terminating semicolon.
2103 debug_type type;
2149 type = parse_stab_type (dhandle, info, (const char *) NULL, pp,
2151 if (type == DEBUG_TYPE_NULL)
2154 classes[i] = debug_make_baseclass (dhandle, type, bitpos, virtual,
2226 which case it is just the name of an anonymous type, which we
2227 should handle like any other type name. We accept either '$'
2280 debug_type type;
2298 the type number before the ':' is the "context" and everything
2299 after is a regular type definition. Lookup the type, find it's
2318 warn_stab (orig, _("unnamed $vb type"));
2336 type = parse_stab_type (dhandle, info, (const char *) NULL, pp,
2353 *retp = debug_make_field (dhandle, name, type, bitpos, 0,
2371 debug_type type;
2407 type = parse_stab_type (dhandle, info, (const char *) NULL, pp,
2409 if (type == DEBUG_TYPE_NULL)
2429 *retp = debug_make_static_member (dhandle, name, type, varname,
2479 *retp = debug_make_field (dhandle, name, type, bitpos, bitsize, visibility);
2487 NAME :: TYPENUM[=type definition] ARGS : PHYSNAME ;
2563 debug_type type;
2576 type = look_ahead_type;
2581 type = parse_stab_type (dhandle, info, (const char *) NULL, pp,
2583 if (type == DEBUG_TYPE_NULL)
2601 if (debug_get_type_kind (dhandle, type) == DEBUG_KIND_METHOD
2602 && debug_get_parameter_types (dhandle, type, &varargs) == NULL)
2717 warn_stab (orig, "member function type missing");
2729 /* If the type is not a stub, then the argtypes string is
2732 types, and the full type and the physical name must be
2743 return_type = debug_get_return_type (dhandle, type);
2749 type = parse_stab_argtypes (dhandle, info, class_type, name,
2752 if (type == DEBUG_TYPE_NULL)
2766 type, visibility,
2772 type,
2931 pointer contains a tilde, a %, and a type number.
2932 The type number refers to the base class (possibly this class itself) which
2975 /* The next number is the type number of the base class (possibly
3008 /* Read a definition of an array type. */
3022 /* Format of an array type:
3023 "ar<index type>;lower;upper;<array_contents_type>".
3027 for these, produce a type like float[][]. */
3033 /* If the index type is type 0, we take it as int. */
3111 /* The next N_BINCL file. */
3115 /* The file name. */
3119 /* The file index. */
3120 unsigned int file;
3121 /* The list of types defined in this file. */
3125 /* Start a new N_BINCL file, pushing it onto the stack. */
3137 n->file = info->files;
3147 info->file_types[n->file] = NULL;
3150 /* Finish an N_BINCL file, at an N_EINCL, popping the name off the
3163 o->file_types = info->file_types[o->file];
3205 const char *name, debug_type type,
3213 return debug_record_variable (dhandle, name, type, kind, val);
3220 v->type = type;
3241 if (! debug_record_variable (dhandle, v->name, v->type, v->kind, v->val))
3254 /* Find the slot for a type in the database. */
3268 fprintf (stderr, _("Type file number %d out of range\n"), filenum);
3298 /* Find a type given a type number. If the type has not been
3299 allocated yet, create an indirect type. */
3308 /* A negative type number indicates an XCOFF builtin type. */
3322 /* Record that a given type number refers to a given type. */
3326 const int *typenums, debug_type type)
3334 /* gdb appears to ignore type redefinitions, so we do as well. */
3336 *slot = type;
3341 /* Return an XCOFF builtin type. */
3352 fprintf (stderr, _("Unrecognized XCOFF type %d\n"), typenum);
3418 negative type numbers. See stabs.texinfo. */
3465 /* Complex type consisting of two IEEE single precision values. */
3470 /* Complex type consisting of two IEEE double precision values. */
3518 /* Find or create a tagged type. */
3561 st->type = debug_make_indirect_type (dhandle, &st->slot, name);
3565 return st->type;
3571 Since the argument types can refer back to the return type, this
3581 /* This structure is used to hold a pointer to type information which
3586 /* The start of the type. This is not null terminated. */
3588 /* The length of the type. */
3839 type which we must remember in order to handle backreferences. */
3845 && CONST_STRNEQ (name, "type")
3850 /* This is a type conversion operator. */
3862 /* This is a type conversion operator. */
3947 /* At the outermost level, we cannot have a return type
4087 /* Try to find the type by looking through the
4089 same type. This ought to work for a class
4118 /* We have to fall back on finding the type by name.
4190 /* This is a type parameter. */
4237 case 'T': /* Remembered type. */
4264 /* Assume it's a user defined integral type. */
4494 debug_type type;
4498 pargs == NULL ? (debug_type *) NULL : &type)
4504 if (type == DEBUG_TYPE_NULL)
4513 (*pargs)[*pcount] = type;
4520 /* Demangle a type. If the ptype argument is not NULL, *ptype is set
4521 to the newly allocated type. */
4535 /* A pointer type. */
4544 /* A reference type. */
4593 /* A back reference to a remembered type. */
4633 type, but I don't know when that will happen, or what
4787 /* Demangle a fundamental type. If the ptype argument is not NULL,
4788 *ptype is set to the newly allocated type. */
5042 /* Remember a type string in a demangled string. */
5068 for a static method, g++ simply outputs the return type and the
5091 function type. */
5092 if (dc->type != DEMANGLE_COMPONENT_TYPED_NAME
5093 || dc->u.s_binary.right->type != DEMANGLE_COMPONENT_FUNCTION_TYPE)
5135 if (dc->type != DEMANGLE_COMPONENT_ARGLIST)
5137 fprintf (stderr, _("Unexpected type in v3 arglist demangling\n"));
5171 type into a debug_type. */
5183 switch (dc->type)
5205 (int) dc->type);
5216 /* Try to find this type by looking through the context
5279 switch (dc->type)
5303 /* In this case the return type is actually unknown.
5305 normally an unknown return type would only appear at
5330 /* We print this component in order to find out the type name.
5336 fprintf (stderr, _("Couldn't get demangled builtin type\n"));
5340 /* The mangling is based on the type, but does not itself
5392 fprintf (stderr, _("Unrecognized demangled builtin type\n"));