9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_UNIQUEDWARFASTTYPE_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_UNIQUEDWARFASTTYPE_H
14#include "llvm/ADT/DenseMap.h"
85 const char *unique_name_cstr = name.
GetCString();
86 collection::const_iterator pos =
m_collection.find(unique_name_cstr);
88 return pos->second.Find(die, decl, byte_size, entry);
95 typedef llvm::DenseMap<const char *, UniqueDWARFASTTypeList>
collection;
A uniqued constant string class.
const char * GetCString() const
Get the string value as a C string.
A class that describes the declaration location of a lldb object.
std::vector< UniqueDWARFASTType > collection
void Append(const UniqueDWARFASTType &entry)
bool Find(const DWARFDIE &die, const Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const
~UniqueDWARFASTTypeList()=default
~UniqueDWARFASTTypeMap()=default
llvm::DenseMap< const char *, UniqueDWARFASTTypeList > collection
void Insert(ConstString name, const UniqueDWARFASTType &entry)
bool Find(ConstString name, const DWARFDIE &die, const Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const
UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, const Declaration &decl, int32_t byte_size)
UniqueDWARFASTType(const UniqueDWARFASTType &rhs)
UniqueDWARFASTType & operator=(const UniqueDWARFASTType &rhs)
~UniqueDWARFASTType()=default
Declaration m_declaration
std::shared_ptr< lldb_private::Type > TypeSP