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