|
GDB (xrefs)
|
#include "defs.h"#include "dwarf2/index-cache.h"#include "build-id.h"#include "cli/cli-cmds.h"#include "cli/cli-decode.h"#include "command.h"#include "gdbsupport/scoped_mmap.h"#include "gdbsupport/pathstuff.h"#include "dwarf2/index-write.h"#include "dwarf2/read.h"#include "dwarf2/dwz.h"#include "objfiles.h"#include "gdbsupport/selftest.h"#include <string>#include <stdlib.h>Go to the source code of this file.
Macros | |
| #define | index_cache_debug(FMT, ...) |
Functions | |
| static void | show_index_cache_command (const char *arg, int from_tty) |
| static void | set_index_cache_enabled_command (bool value) |
| static bool | get_index_cache_enabled_command () |
| static void | show_index_cache_enabled_command (ui_file *stream, int from_tty, cmd_list_element *cmd, const char *value) |
| static void | set_index_cache_directory_command (const char *arg, int from_tty, cmd_list_element *element) |
| static void | show_index_cache_stats_command (const char *arg, int from_tty) |
| void | _initialize_index_cache () |
Variables | |
| static bool | debug_index_cache = false |
| static std::string | index_cache_directory |
| index_cache | global_index_cache |
| static cmd_list_element * | set_index_cache_prefix_list |
| static cmd_list_element * | show_index_cache_prefix_list |
| static bool | in_show_index_cache_command = false |
| #define index_cache_debug | ( | FMT, | |
| ... ) |
Definition at line 40 of file index-cache.c.
Referenced by index_cache::disable(), index_cache::enable(), index_cache_store_context::index_cache_store_context(), index_cache::set_directory(), and index_cache::store().
| void _initialize_index_cache | ( | ) |
Definition at line 350 of file index-cache.c.
Referenced by initialize_all_files().
|
static |
Definition at line 302 of file index-cache.c.
References index_cache::enabled(), and global_index_cache.
|
static |
Definition at line 319 of file index-cache.c.
References global_index_cache, index_cache_directory, and index_cache::set_directory().
|
static |
Definition at line 291 of file index-cache.c.
References index_cache::disable(), index_cache::enable(), and global_index_cache.
|
static |
Definition at line 274 of file index-cache.c.
References cmd_show_list(), index_cache::enabled(), gdb_printf(), global_index_cache, in_show_index_cache_command, and show_index_cache_prefix_list.
|
static |
Definition at line 310 of file index-cache.c.
References gdb_printf().
|
static |
Definition at line 330 of file index-cache.c.
References gdb_printf(), global_index_cache, in_show_index_cache_command, index_cache::n_hits(), and index_cache::n_misses().
|
static |
Definition at line 38 of file index-cache.c.
| index_cache global_index_cache |
Definition at line 48 of file index-cache.c.
Referenced by dwarf2_initialize_objfile(), get_gdb_index_contents_from_cache(), get_gdb_index_contents_from_cache_dwz(), get_index_cache_enabled_command(), cooked_index::maybe_write_index(), set_index_cache_directory_command(), set_index_cache_enabled_command(), show_index_cache_command(), show_index_cache_stats_command(), and cooked_index::start_writing_index().
|
static |
Definition at line 269 of file index-cache.c.
Referenced by show_index_cache_command(), and show_index_cache_stats_command().
|
static |
Definition at line 45 of file index-cache.c.
Referenced by set_index_cache_directory_command().
|
static |
Definition at line 51 of file index-cache.c.
|
static |
Definition at line 52 of file index-cache.c.
Referenced by show_index_cache_command().