GDB (xrefs)
|
#include "cooked-index.h"
Public Types | |
enum | comparison_mode { MATCH , SORT , COMPLETE } |
Public Member Functions | |
cooked_index_entry (sect_offset die_offset_, enum dwarf_tag tag_, cooked_index_flag flags_, const char *name_, const cooked_index_entry *parent_entry_, dwarf2_per_cu_data *per_cu_) | |
bool | matches (block_search_flags search_flags) const |
bool | matches (domain_enum domain) const |
bool | matches (enum search_domain kind) const |
const char * | full_name (struct obstack *storage, bool for_main=false) const |
bool | operator< (const cooked_index_entry &other) const |
Static Public Member Functions | |
static int | compare (const char *stra, const char *strb, comparison_mode mode) |
Public Attributes | |
const char * | name |
const char * | canonical = nullptr |
enum dwarf_tag | tag |
cooked_index_flag | flags |
sect_offset | die_offset |
const cooked_index_entry * | parent_entry |
dwarf2_per_cu_data * | per_cu |
Private Member Functions | |
void | write_scope (struct obstack *storage, const char *sep, bool for_name) const |
Definition at line 77 of file cooked-index.h.
Enumerator | |
---|---|
MATCH | |
SORT | |
COMPLETE |
Definition at line 164 of file cooked-index.h.
|
inline |
Definition at line 79 of file cooked-index.h.
|
static |
Definition at line 72 of file cooked-index.c.
References c1, c2, COMPLETE, and MATCH.
Referenced by operator<().
const char * cooked_index_entry::full_name | ( | struct obstack * | storage, |
bool | for_main = false ) const |
Definition at line 185 of file cooked-index.c.
References canonical, flags, IS_LINKAGE, dwarf2_per_cu_data::lang(), language_ada, language_cplus, language_d, language_go, language_rust, name, parent_entry, per_cu, and write_scope().
|
inline |
Definition at line 93 of file cooked-index.h.
References flags, IS_STATIC, IS_TYPE_DECLARATION, SEARCH_GLOBAL_BLOCK, and SEARCH_STATIC_BLOCK.
|
inline |
Definition at line 109 of file cooked-index.h.
References COMMON_BLOCK_DOMAIN, flags, IS_TYPE_DECLARATION, LABEL_DOMAIN, MODULE_DOMAIN, and tag.
|
inline |
Definition at line 131 of file cooked-index.h.
References flags, FUNCTIONS_DOMAIN, IS_TYPE_DECLARATION, MODULES_DOMAIN, tag, tag_is_type(), TYPES_DOMAIN, and VARIABLES_DOMAIN.
|
inline |
Definition at line 207 of file cooked-index.h.
|
private |
Definition at line 218 of file cooked-index.c.
References canonical, name, parent_entry, and write_scope().
Referenced by full_name(), and write_scope().
const char* cooked_index_entry::canonical = nullptr |
Definition at line 219 of file cooked-index.h.
Referenced by cooked_index_shard::do_finalize(), full_name(), cooked_index_shard::handle_gnat_encoded_entry(), operator<(), and write_scope().
sect_offset cooked_index_entry::die_offset |
Definition at line 225 of file cooked-index.h.
Referenced by cooked_indexer::recurse().
cooked_index_flag cooked_index_entry::flags |
Definition at line 223 of file cooked-index.h.
Referenced by full_name(), matches(), matches(), and matches().
const char* cooked_index_entry::name |
Definition at line 216 of file cooked-index.h.
Referenced by gdb.printing.FlagEnumerationPrinter::__call__(), gdb.dap.varref.BaseReference::__init__(), gdb.disassembler.Disassembler::__init__(), gdb.printing.SubPrettyPrinter::__init__(), gdb.types.TypePrinter::__init__(), gdb.xmethod.XMethod::__init__(), gdb.xmethod.XMethodMatcher::__init__(), gdb.printing.PrettyPrinter::__init__(), cooked_index_shard::do_finalize(), cooked_index::dump(), cooked_index_functions::expand_symtabs_matching(), full_name(), cooked_index_shard::handle_gnat_encoded_entry(), gdb.dap.varref.BaseReference::to_object(), and write_scope().
const cooked_index_entry* cooked_index_entry::parent_entry |
Definition at line 229 of file cooked-index.h.
Referenced by cooked_index_functions::expand_symtabs_matching(), full_name(), and write_scope().
dwarf2_per_cu_data* cooked_index_entry::per_cu |
Definition at line 231 of file cooked-index.h.
Referenced by full_name(), and cooked_index_shard::handle_gnat_encoded_entry().
enum dwarf_tag cooked_index_entry::tag |
Definition at line 221 of file cooked-index.h.