GDB (xrefs)
|
#include "file-and-dir.h"
Public Member Functions | |
file_and_directory (const char *name, const char *dir) | |
bool | is_unknown () const |
void | set_comp_dir (std::string &&dir) |
const char * | get_comp_dir () const |
const char * | intern_comp_dir (struct objfile *objfile) |
const char * | get_name () const |
void | set_name (gdb::unique_xmalloc_ptr< char > name) |
const char * | get_fullname () |
void | forget_fullname () |
Private Attributes | |
const char * | m_name |
gdb::unique_xmalloc_ptr< char > | m_name_storage |
const char * | m_comp_dir |
std::string | m_comp_dir_storage |
gdb::unique_xmalloc_ptr< char > | m_fullname |
Definition at line 37 of file file-and-dir.h.
|
inline |
Definition at line 39 of file file-and-dir.h.
|
inline |
Definition at line 103 of file file-and-dir.h.
References m_fullname.
|
inline |
Definition at line 62 of file file-and-dir.h.
References m_comp_dir, and m_comp_dir_storage.
Referenced by compute_include_file_name(), dw2_get_file_names_reader(), find_file_and_directory(), get_fullname(), and handle_DW_AT_stmt_list().
|
inline |
Definition at line 95 of file file-and-dir.h.
References find_source_or_rewrite(), get_comp_dir(), get_name(), and m_fullname.
Referenced by dw_expand_symtabs_matching_file_matcher(), and dwarf2_base_index_functions::map_symbol_filenames().
|
inline |
Definition at line 82 of file file-and-dir.h.
References m_name.
Referenced by compute_include_file_name(), dw2_get_file_names_reader(), dw_expand_symtabs_matching_file_matcher(), find_file_and_directory(), get_fullname(), dwarf2_base_index_functions::map_symbol_filenames(), and read_file_scope().
|
inline |
Definition at line 71 of file file-and-dir.h.
References objfile::intern(), m_comp_dir, and m_comp_dir_storage.
Referenced by dw2_get_file_names_reader(), and read_file_scope().
|
inline |
Definition at line 46 of file file-and-dir.h.
References m_name.
Referenced by dw2_get_file_names_reader().
|
inline |
Definition at line 52 of file file-and-dir.h.
References m_comp_dir, and m_comp_dir_storage.
Referenced by find_file_and_directory().
|
inline |
Definition at line 88 of file file-and-dir.h.
References m_name, m_name_storage, and name.
Referenced by find_file_and_directory().
|
private |
Definition at line 120 of file file-and-dir.h.
Referenced by get_comp_dir(), intern_comp_dir(), and set_comp_dir().
|
private |
Definition at line 123 of file file-and-dir.h.
Referenced by get_comp_dir(), intern_comp_dir(), and set_comp_dir().
|
private |
Definition at line 126 of file file-and-dir.h.
Referenced by forget_fullname(), and get_fullname().
|
private |
Definition at line 111 of file file-and-dir.h.
Referenced by get_name(), is_unknown(), and set_name().
|
private |
Definition at line 114 of file file-and-dir.h.
Referenced by set_name().