9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_NAMETODIE_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_NAMETODIE_H
38 llvm::function_ref<
bool(
DIERef ref)> callback)
const;
41 llvm::function_ref<
bool(
DIERef ref)> callback)
const;
46 llvm::function_ref<
bool(
DIERef ref)> callback)
const;
Many cache files require string tables to store data efficiently.
A uniqued constant string class.
An binary data encoding class.
A stream class that can stream formatted output to a file.
Many cache files require string tables to store data efficiently.
Identifies a DWARF debug info entry within a given Module.
void Append(const NameToDIE &other)
void FindAllEntriesForUnit(DWARFUnit &unit, llvm::function_ref< bool(DIERef ref)> callback) const
unit must be the skeleton unit if possible, not GetNonSkeletonUnit().
bool Decode(const DataExtractor &data, lldb::offset_t *offset_ptr, const StringTableReader &strtab)
Decode a serialized version of this object from data.
bool Find(ConstString name, llvm::function_ref< bool(DIERef ref)> callback) const
void Insert(ConstString name, const DIERef &die_ref)
bool operator==(const NameToDIE &rhs) const
Used for unit testing the encoding and decoding.
void Encode(DataEncoder &encoder, ConstStringTable &strtab) const
Encode this object into a data encoder object.
void ForEach(std::function< bool(ConstString name, const DIERef &die_ref)> const &callback) const
UniqueCStringMap< DIERef > m_map