9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_UNIQUEDWARFASTTYPE_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_UNIQUEDWARFASTTYPE_H
14#include "llvm/ADT/DenseMap.h"
70 const int32_t byte_size,
71 bool is_forward_declaration);
90 bool is_forward_declaration) {
91 const char *unique_name_cstr = name.
GetCString();
92 collection::iterator pos =
m_collection.find(unique_name_cstr);
94 return pos->second.Find(die, decl, byte_size, is_forward_declaration);
101 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.
lldb::user_id_t GetID() const
UniqueDWARFASTType * Find(const DWARFDIE &die, const Declaration &decl, const int32_t byte_size, bool is_forward_declaration)
std::vector< UniqueDWARFASTType > collection
void Append(const UniqueDWARFASTType &entry)
~UniqueDWARFASTTypeList()=default
~UniqueDWARFASTTypeMap()=default
llvm::DenseMap< const char *, UniqueDWARFASTTypeList > collection
UniqueDWARFASTType * Find(ConstString name, const DWARFDIE &die, const Declaration &decl, const int32_t byte_size, bool is_forward_declaration)
void Insert(ConstString name, const UniqueDWARFASTType &entry)
UniqueDWARFASTType(const UniqueDWARFASTType &rhs)
bool m_is_forward_declaration
void UpdateToDefDIE(const DWARFDIE &def_die, Declaration &declaration, int32_t byte_size)
~UniqueDWARFASTType()=default
Declaration m_declaration
std::shared_ptr< lldb_private::Type > TypeSP