Add some types to struct builtin_type

This adds some types to struct builtin_type, ensuring it contains all
the types currently used by objfile_type.

Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
Tom Tromey
2023-03-11 09:51:23 -07:00
parent a8ed3dde83
commit a9a775da56
2 changed files with 65 additions and 0 deletions

View File

@@ -2098,6 +2098,21 @@ struct builtin_type
/* * This type is used to represent an xmethod. */
struct type *xmethod = nullptr;
/* * This type is used to represent symbol addresses. */
struct type *builtin_core_addr = nullptr;
/* * This type represents a type that was unrecognized in symbol
read-in. */
struct type *builtin_error = nullptr;
/* * Types used for symbols with no debug information. */
struct type *nodebug_text_symbol = nullptr;
struct type *nodebug_text_gnu_ifunc_symbol = nullptr;
struct type *nodebug_got_plt_symbol = nullptr;
struct type *nodebug_data_symbol = nullptr;
struct type *nodebug_unknown_symbol = nullptr;
struct type *nodebug_tls_symbol = nullptr;
};
/* * Return the type table for the specified architecture. */