|
LLDB mainline
|
Public Member Functions | |
| void | EvictRandomEntry () |
| Drops a random entry from the cache. | |
Public Attributes | |
| llvm::DenseMap< ConstString, std::optional< DemangledNameInfo > > | infos |
| Maps a ConstString to its DemangledNameInfo. | |
| std::vector< ConstString > | mangled_names |
| The mangled names. | |
| std::minstd_rand | rng |
| size_t | max_entries = 0 |
Definition at line 161 of file DemangledNameInfo.h.
| void lldb_private::DemangledNameInfoCache::State::EvictRandomEntry | ( | ) |
Drops a random entry from the cache.
Definition at line 54 of file DemangledNameInfo.cpp.
References infos, mangled_names, and rng.
| llvm::DenseMap<ConstString, std::optional<DemangledNameInfo> > lldb_private::DemangledNameInfoCache::State::infos |
Maps a ConstString to its DemangledNameInfo.
Values can be empty if no name info could be computed for a name.
Definition at line 167 of file DemangledNameInfo.h.
Referenced by EvictRandomEntry().
| std::vector<ConstString> lldb_private::DemangledNameInfoCache::State::mangled_names |
The mangled names.
Definition at line 170 of file DemangledNameInfo.h.
Referenced by EvictRandomEntry().
| size_t lldb_private::DemangledNameInfoCache::State::max_entries = 0 |
Definition at line 174 of file DemangledNameInfo.h.
| std::minstd_rand lldb_private::DemangledNameInfoCache::State::rng |
Definition at line 172 of file DemangledNameInfo.h.
Referenced by EvictRandomEntry().