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;
~UniqueDWARFASTTypeList()=default
void Append(const UniqueDWARFASTType &entry)
std::vector< UniqueDWARFASTType > collection
bool Find(const DWARFDIE &die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const
void Insert(lldb_private::ConstString name, const UniqueDWARFASTType &entry)
llvm::DenseMap< const char *, UniqueDWARFASTTypeList > collection
~UniqueDWARFASTTypeMap()=default
bool Find(lldb_private::ConstString name, const DWARFDIE &die, const lldb_private::Declaration &decl, const int32_t byte_size, UniqueDWARFASTType &entry) const
lldb_private::Declaration m_declaration
UniqueDWARFASTType(const UniqueDWARFASTType &rhs)
~UniqueDWARFASTType()=default
UniqueDWARFASTType & operator=(const UniqueDWARFASTType &rhs)
UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, const lldb_private::Declaration &decl, int32_t byte_size)
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::shared_ptr< lldb_private::Type > TypeSP