GDB (xrefs)
|
#include "symtab.h"
Public Member Functions | |
lookup_name_info (std::string &&name, symbol_name_match_type match_type, bool completion_mode=false, bool ignore_parameters=false)=delete | |
lookup_name_info (const std::string &name, symbol_name_match_type match_type, bool completion_mode=false, bool ignore_parameters=false) | |
lookup_name_info (const char *name, symbol_name_match_type match_type, bool completion_mode=false, bool ignore_parameters=false) | |
symbol_name_match_type | match_type () const |
bool | completion_mode () const |
gdb::string_view | name () const |
const bool | ignore_parameters () const |
const char * | c_str () const |
lookup_name_info | make_ignore_params () const |
unsigned int | search_name_hash (language lang) const |
const char * | language_lookup_name (language lang) const |
std::vector< gdb::string_view > | split_name (language lang) const |
const ada_lookup_name_info & | ada () const |
const demangle_for_lookup_info & | cplus () const |
const demangle_for_lookup_info & | d () const |
const demangle_for_lookup_info & | go () const |
Static Public Member Functions | |
static const lookup_name_info & | match_any () |
Private Member Functions | |
template<typename Field , typename... Args> | |
void | maybe_init (Field &field, Args &&... args) const |
Private Attributes | |
symbol_name_match_type | m_match_type |
bool | m_completion_mode |
bool | m_ignore_parameters |
gdb::string_view | m_name |
gdb::optional< ada_lookup_name_info > | m_ada |
gdb::optional< demangle_for_lookup_info > | m_cplus |
gdb::optional< demangle_for_lookup_info > | m_d |
gdb::optional< demangle_for_lookup_info > | m_go |
std::array< unsigned int, nr_languages > | m_demangled_hashes |
std::array< bool, nr_languages > | m_demangled_hashes_p {} |
|
delete |
Referenced by make_ignore_params().
|
inline |
|
inline |
|
inline |
Definition at line 315 of file symtab.h.
References m_ada, and maybe_init().
Referenced by ada_add_all_symbols(), ada_add_block_symbols(), ada_get_symbol_name_matcher(), ada_lookup_name(), ada_symbol_name_matches(), add_nonlocal_symbols(), do_full_match(), language_defn::get_symbol_name_matcher(), language_lookup_name(), linkage_name_str(), and split_name().
|
inline |
Definition at line 246 of file symtab.h.
References m_name.
Referenced by linkage_name_str(), lookup_partial_symbol(), and make_ignore_params().
|
inline |
Definition at line 240 of file symtab.h.
References m_completion_mode.
Referenced by ada_get_symbol_name_matcher(), cp_fq_symbol_name_matches(), cp_symbol_name_matches(), default_symbol_name_matcher(), cooked_index_functions::expand_symtabs_matching(), mapped_index_base::find_name_components_bounds(), and literal_symbol_name_matcher().
|
inline |
Definition at line 322 of file symtab.h.
References language_cplus, m_cplus, and maybe_init().
Referenced by cp_fq_symbol_name_matches(), cp_symbol_name_matches(), and language_lookup_name().
|
inline |
Definition at line 329 of file symtab.h.
References language_d, m_d, and maybe_init().
Referenced by language_lookup_name().
|
inline |
Definition at line 336 of file symtab.h.
References language_go, m_go, and maybe_init().
Referenced by language_lookup_name().
|
inline |
Definition at line 242 of file symtab.h.
References m_ignore_parameters.
|
inline |
Definition at line 276 of file symtab.h.
References ada(), cplus(), d(), go(), language_ada, language_cplus, language_d, language_go, ada_lookup_name_info::lookup_name(), demangle_for_lookup_info::lookup_name(), and m_name.
Referenced by selftests::lookup_name::check_make_paramless(), dw2_expand_symtabs_matching_symbol(), mapped_index_base::find_name_components_bounds(), search_name_hash(), and split_name().
|
inline |
Definition at line 256 of file symtab.h.
References c_str(), lookup_name_info(), m_completion_mode, and m_match_type.
Referenced by dw2_expand_symtabs_matching_symbol(), objfile::expand_symtabs_for_function(), cooked_index_functions::expand_symtabs_matching(), and psymbol_functions::expand_symtabs_matching().
|
static |
Definition at line 1861 of file symtab.c.
References FULL.
Referenced by ada_add_global_exceptions(), and global_symbol_searcher::expand_symtabs().
|
inline |
Definition at line 239 of file symtab.h.
References m_match_type.
Referenced by ada_add_block_renamings(), ada_get_symbol_name_matcher(), ada_symbol_name_matches(), cp_get_symbol_name_matcher(), and cooked_index_functions::expand_symtabs_matching().
|
inlineprivate |
|
inline |
Definition at line 241 of file symtab.h.
References m_name.
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__(), default_symbol_name_matcher(), literal_symbol_name_matcher(), and gdb.dap.varref.BaseReference::to_object().
|
inline |
Definition at line 263 of file symtab.h.
References language_lookup_name(), m_demangled_hashes, m_demangled_hashes_p, and search_name_hash().
Referenced by iterate_over_minimal_symbols(), lookup_minimal_symbol(), and search_name_hash().
|
inline |
Definition at line 295 of file symtab.h.
References ada(), CXX, DOT_STYLE, language_ada, language_cplus, language_d, language_go, language_lookup_name(), language_rust, NONE, and ada_lookup_name_info::split_name().
Referenced by cooked_index_functions::expand_symtabs_matching().
|
mutableprivate |
|
private |
Definition at line 357 of file symtab.h.
Referenced by completion_mode(), and make_ignore_params().
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
Definition at line 377 of file symtab.h.
Referenced by search_name_hash().
|
mutableprivate |
Definition at line 378 of file symtab.h.
Referenced by search_name_hash().
|
mutableprivate |
|
private |
Definition at line 358 of file symtab.h.
Referenced by ignore_parameters().
|
private |
Definition at line 356 of file symtab.h.
Referenced by make_ignore_params(), and match_type().
|
private |
Definition at line 359 of file symtab.h.
Referenced by c_str(), language_lookup_name(), and name().