LLDB  mainline
DWARFASTParserClang.h
Go to the documentation of this file.
1 //===-- DWARFASTParserClang.h -----------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFASTPARSERCLANG_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFASTPARSERCLANG_H
11 
12 #include "clang/AST/CharUnits.h"
13 #include "llvm/ADT/DenseMap.h"
14 #include "llvm/ADT/SmallPtrSet.h"
15 #include "llvm/ADT/SmallVector.h"
16 
17 #include "DWARFASTParser.h"
18 #include "DWARFDIE.h"
19 #include "DWARFDefines.h"
20 #include "DWARFFormValue.h"
21 #include "LogChannelDWARF.h"
23 
26 
27 #include <vector>
28 
29 namespace lldb_private {
30 class CompileUnit;
31 }
33 class SymbolFileDWARF;
34 
36 
38 public:
40 
41  ~DWARFASTParserClang() override;
42 
43  // DWARFASTParser interface.
44  lldb::TypeSP ParseTypeFromDWARF(const lldb_private::SymbolContext &sc,
45  const DWARFDIE &die,
46  bool *type_is_new_ptr) override;
47 
50  const DWARFDIE &die) override;
51 
52  bool
54  lldb_private::CompilerType &compiler_type) override;
55 
57  GetDeclForUIDFromDWARF(const DWARFDIE &die) override;
58 
60  lldb_private::CompilerDeclContext decl_context) override;
61 
63  GetDeclContextForUIDFromDWARF(const DWARFDIE &die) override;
64 
67 
69 
70 protected:
71  /// Protected typedefs and members.
72  /// @{
74  typedef std::vector<DelayedAddObjCClassProperty> DelayedPropertyList;
75 
76  typedef llvm::DenseMap<const DWARFDebugInfoEntry *, clang::DeclContext *>
78  typedef std::multimap<const clang::DeclContext *, const DWARFDIE>
80  typedef llvm::DenseMap<const DWARFDebugInfoEntry *,
83  typedef llvm::DenseMap<const DWARFDebugInfoEntry *, clang::Decl *>
85 
91  std::unique_ptr<lldb_private::ClangASTImporter> m_clang_ast_importer_up;
92  /// @}
93 
94  clang::DeclContext *GetDeclContextForBlock(const DWARFDIE &die);
95 
96  clang::BlockDecl *ResolveBlockDIE(const DWARFDIE &die);
97 
98  clang::NamespaceDecl *ResolveNamespaceDIE(const DWARFDIE &die);
99 
100  bool ParseTemplateDIE(const DWARFDIE &die,
102  &template_param_infos);
104  const DWARFDIE &parent_die,
106  &template_param_infos);
107 
108  bool ParseChildMembers(
109  const DWARFDIE &die, lldb_private::CompilerType &class_compiler_type,
110  std::vector<std::unique_ptr<clang::CXXBaseSpecifier>> &base_classes,
111  std::vector<DWARFDIE> &member_function_dies,
112  DelayedPropertyList &delayed_properties,
113  lldb::AccessType &default_accessibility,
115 
116  size_t
117  ParseChildParameters(clang::DeclContext *containing_decl_ctx,
118  const DWARFDIE &parent_die, bool skip_artificial,
119  bool &is_static, bool &is_variadic,
120  bool &has_template_params,
121  std::vector<lldb_private::CompilerType> &function_args,
122  std::vector<clang::ParmVarDecl *> &function_param_decls,
123  unsigned &type_quals);
124 
126  bool is_signed, uint32_t enumerator_byte_size,
127  const DWARFDIE &parent_die);
128 
129  /// Parse a structure, class, or union type DIE.
130  lldb::TypeSP ParseStructureLikeDIE(const lldb_private::SymbolContext &sc,
131  const DWARFDIE &die,
133 
135 
136  clang::Decl *GetClangDeclForDIE(const DWARFDIE &die);
137 
138  clang::DeclContext *GetClangDeclContextForDIE(const DWARFDIE &die);
139 
140  clang::DeclContext *GetClangDeclContextContainingDIE(const DWARFDIE &die,
141  DWARFDIE *decl_ctx_die);
143 
144  bool CopyUniqueClassMethodTypes(const DWARFDIE &src_class_die,
145  const DWARFDIE &dst_class_die,
146  lldb_private::Type *class_type,
147  std::vector<DWARFDIE> &failures);
148 
149  clang::DeclContext *GetCachedClangDeclContextForDIE(const DWARFDIE &die);
150 
151  void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
152 
153  void LinkDeclToDIE(clang::Decl *decl, const DWARFDIE &die);
154 
155  /// If \p type_sp is valid, calculate and set its symbol context scope, and
156  /// update the type list for its backing symbol file.
157  ///
158  /// Returns \p type_sp.
159  lldb::TypeSP
161  const DWARFDIE &die, lldb::TypeSP type_sp);
162 
163  /// Follow Clang Module Skeleton CU references to find a type definition.
165  const DWARFDIE &die,
166  lldb_private::Log *log);
167 
168  // Return true if this type is a declaration to a type in an external
169  // module.
170  lldb::ModuleSP GetModuleForType(const DWARFDIE &die);
171 
172 private:
173  struct FieldInfo {
174  uint64_t bit_size = 0;
175  uint64_t bit_offset = 0;
176  bool is_bitfield = false;
177 
178  FieldInfo() = default;
179 
180  void SetIsBitfield(bool flag) { is_bitfield = flag; }
181  bool IsBitfield() { return is_bitfield; }
182 
183  bool NextBitfieldOffsetIsValid(const uint64_t next_bit_offset) const {
184  // Any subsequent bitfields must not overlap and must be at a higher
185  // bit offset than any previous bitfield + size.
186  return (bit_size + bit_offset) <= next_bit_offset;
187  }
188  };
189 
190  void
191  ParseSingleMember(const DWARFDIE &die, const DWARFDIE &parent_die,
192  const lldb_private::CompilerType &class_clang_type,
193  lldb::AccessType default_accessibility,
194  DelayedPropertyList &delayed_properties,
196  FieldInfo &last_field_info);
197 
198  bool CompleteRecordType(const DWARFDIE &die, lldb_private::Type *type,
199  lldb_private::CompilerType &clang_type);
200  bool CompleteEnumType(const DWARFDIE &die, lldb_private::Type *type,
201  lldb_private::CompilerType &clang_type);
202 
203  lldb::TypeSP ParseTypeModifier(const lldb_private::SymbolContext &sc,
204  const DWARFDIE &die,
206  lldb::TypeSP ParseEnum(const lldb_private::SymbolContext &sc,
207  const DWARFDIE &die, ParsedDWARFTypeAttributes &attrs);
208  lldb::TypeSP ParseSubroutine(const DWARFDIE &die,
210  // FIXME: attrs should be passed as a const reference.
211  lldb::TypeSP ParseArrayType(const DWARFDIE &die,
213  lldb::TypeSP ParsePointerToMemberType(const DWARFDIE &die,
214  const ParsedDWARFTypeAttributes &attrs);
215 };
216 
217 /// Parsed form of all attributes that are relevant for type reconstruction.
218 /// Some attributes are relevant for all kinds of types (declaration), while
219 /// others are only meaningful to a specific type (is_virtual)
221  explicit ParsedDWARFTypeAttributes(const DWARFDIE &die);
222 
224  bool is_artificial = false;
226  bool is_explicit = false;
228  bool is_inline = false;
229  bool is_scoped_enum = false;
230  bool is_vector = false;
231  bool is_virtual = false;
232  bool is_objc_direct_call = false;
233  bool exports_symbols = false;
234  clang::StorageClass storage = clang::SC_None;
235  const char *mangled_name = nullptr;
245  llvm::Optional<uint64_t> byte_size;
246  size_t calling_convention = llvm::dwarf::DW_CC_normal;
250 };
251 
252 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DWARFASTPARSERCLANG_H
ParsedDWARFTypeAttributes::is_vector
bool is_vector
Definition: DWARFASTParserClang.h:230
DWARFASTParserClang::DelayedAddObjCClassProperty
Definition: DWARFASTParserClang.cpp:1760
DWARFFormValue.h
DWARFASTParserClang::CopyUniqueClassMethodTypes
bool CopyUniqueClassMethodTypes(const DWARFDIE &src_class_die, const DWARFDIE &dst_class_die, lldb_private::Type *class_type, std::vector< DWARFDIE > &failures)
Definition: DWARFASTParserClang.cpp:3455
DWARFASTParserClang::GetTypeForDIE
lldb_private::Type * GetTypeForDIE(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3097
ParsedDWARFTypeAttributes::name
lldb_private::ConstString name
Definition: DWARFASTParserClang.h:236
ParsedDWARFTypeAttributes
Parsed form of all attributes that are relevant for type reconstruction.
Definition: DWARFASTParserClang.h:220
DWARFDIE.h
DWARFASTParserClang::GetCachedClangDeclContextForDIE
clang::DeclContext * GetCachedClangDeclContextForDIE(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3438
ParsedDWARFTypeAttributes::type
DWARFFormValue type
Definition: DWARFASTParserClang.h:243
ParsedDWARFTypeAttributes::is_forward_declaration
bool is_forward_declaration
Definition: DWARFASTParserClang.h:227
DWARFASTParserClang::DelayedPropertyList
std::vector< DelayedAddObjCClassProperty > DelayedPropertyList
Definition: DWARFASTParserClang.h:73
ParsedDWARFTypeAttributes::class_language
lldb::LanguageType class_language
Definition: DWARFASTParserClang.h:244
DWARFASTParserClang::ResolveNamespaceDIE
clang::NamespaceDecl * ResolveNamespaceDIE(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3368
ParsedDWARFTypeAttributes::signature
DWARFFormValue signature
Definition: DWARFASTParserClang.h:241
DWARFASTParserClang::GetDeclForUIDFromDWARF
lldb_private::CompilerDecl GetDeclForUIDFromDWARF(const DWARFDIE &die) override
Definition: DWARFASTParserClang.cpp:2109
SymbolFileDWARF
Definition: SymbolFileDWARF.h:58
lldb::LanguageType
LanguageType
Programming language type.
Definition: lldb-enumerations.h:436
ParsedDWARFTypeAttributes::byte_stride
uint32_t byte_stride
Definition: DWARFASTParserClang.h:248
lldb_private::ClangASTImporter::LayoutInfo
Definition: ClangASTImporter.h:66
lldb_private::CompilerDecl
Represents a generic declaration such as a function declaration.
Definition: CompilerDecl.h:28
DWARFASTParserClang::ParseChildMembers
bool ParseChildMembers(const DWARFDIE &die, lldb_private::CompilerType &class_compiler_type, std::vector< std::unique_ptr< clang::CXXBaseSpecifier >> &base_classes, std::vector< DWARFDIE > &member_function_dies, DelayedPropertyList &delayed_properties, lldb::AccessType &default_accessibility, lldb_private::ClangASTImporter::LayoutInfo &layout_info)
Definition: DWARFASTParserClang.cpp:2729
DWARFASTParserClang::ParseTemplateParameterInfos
bool ParseTemplateParameterInfos(const DWARFDIE &parent_die, lldb_private::TypeSystemClang::TemplateParameterInfos &template_param_infos)
Definition: DWARFASTParserClang.cpp:1928
DWARFASTParserClang::DIEToDeclMap
llvm::DenseMap< const DWARFDebugInfoEntry *, clang::Decl * > DIEToDeclMap
Definition: DWARFASTParserClang.h:84
DWARFASTParserClang::ParseStructureLikeDIE
lldb::TypeSP ParseStructureLikeDIE(const lldb_private::SymbolContext &sc, const DWARFDIE &die, ParsedDWARFTypeAttributes &attrs)
Parse a structure, class, or union type DIE.
Definition: DWARFASTParserClang.cpp:1410
DWARFDebugInfoEntry
DWARFDebugInfoEntry objects assume that they are living in one big vector and do pointer arithmetic o...
Definition: DWARFDebugInfoEntry.h:31
lldb_private::SymbolContext
Definition: SymbolContext.h:33
DWARFDefines.h
DWARFASTParserClang::DIEToDeclContextMap
llvm::DenseMap< const DWARFDebugInfoEntry *, clang::DeclContext * > DIEToDeclContextMap
Definition: DWARFASTParserClang.h:77
lldb_private::CompileUnit
Definition: CompileUnit.h:38
DWARFDIE
Definition: DWARFDIE.h:16
DWARFASTParserClang::GetClangDeclForDIE
clang::Decl * GetClangDeclForDIE(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3118
DWARFASTParserClang::LinkDeclContextToDIE
void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3447
DWARFASTParserClang::ParseChildParameters
size_t ParseChildParameters(clang::DeclContext *containing_decl_ctx, const DWARFDIE &parent_die, bool skip_artificial, bool &is_static, bool &is_variadic, bool &has_template_params, std::vector< lldb_private::CompilerType > &function_args, std::vector< clang::ParmVarDecl * > &function_param_decls, unsigned &type_quals)
Definition: DWARFASTParserClang.cpp:2882
DWARFASTParserClang::GetClangDeclContextContainingDIE
clang::DeclContext * GetClangDeclContextContainingDIE(const DWARFDIE &die, DWARFDIE *decl_ctx_die)
Definition: DWARFASTParserClang.cpp:3419
lldb_private::Function
Definition: Function.h:413
DWARFASTParserClang::UpdateSymbolContextScopeForType
lldb::TypeSP UpdateSymbolContextScopeForType(const lldb_private::SymbolContext &sc, const DWARFDIE &die, lldb::TypeSP type_sp)
If type_sp is valid, calculate and set its symbol context scope, and update the type list for its bac...
Definition: DWARFASTParserClang.cpp:1375
DWARFASTParserClang::GetClangDeclContextForDIE
clang::DeclContext * GetClangDeclContextForDIE(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3216
DWARFASTParserClang::ParseFunctionFromDWARF
lldb_private::Function * ParseFunctionFromDWARF(lldb_private::CompileUnit &comp_unit, const DWARFDIE &die) override
Definition: DWARFASTParserClang.cpp:2199
ParsedDWARFTypeAttributes::storage
clang::StorageClass storage
Definition: DWARFASTParserClang.h:234
ParsedDWARFTypeAttributes::is_inline
bool is_inline
Definition: DWARFASTParserClang.h:228
TypeSystemClang.h
DWARFASTParserClang::LinkDeclToDIE
void LinkDeclToDIE(clang::Decl *decl, const DWARFDIE &die)
DWARFASTParserClang::FieldInfo::NextBitfieldOffsetIsValid
bool NextBitfieldOffsetIsValid(const uint64_t next_bit_offset) const
Definition: DWARFASTParserClang.h:183
DWARFASTParserClang::m_die_to_module
DIEToModuleMap m_die_to_module
Definition: DWARFASTParserClang.h:90
DWARFASTParserClang::GetDeclContextContainingUIDFromDWARF
lldb_private::CompilerDeclContext GetDeclContextContainingUIDFromDWARF(const DWARFDIE &die) override
Definition: DWARFASTParserClang.cpp:2125
DWARFASTParserClang::CompleteRecordType
bool CompleteRecordType(const DWARFDIE &die, lldb_private::Type *type, lldb_private::CompilerType &clang_type)
Definition: DWARFASTParserClang.cpp:1953
DWARFASTParserClang::ParseTypeFromDWARF
lldb::TypeSP ParseTypeFromDWARF(const lldb_private::SymbolContext &sc, const DWARFDIE &die, bool *type_is_new_ptr) override
Definition: DWARFASTParserClang.cpp:437
ParsedDWARFTypeAttributes::accessibility
lldb::AccessType accessibility
Definition: DWARFASTParserClang.h:223
DWARFASTParserClang::FieldInfo::bit_offset
uint64_t bit_offset
Definition: DWARFASTParserClang.h:175
lldb::eAccessNone
@ eAccessNone
Definition: lldb-enumerations.h:508
DWARFASTParserClang::FieldInfo::SetIsBitfield
void SetIsBitfield(bool flag)
Definition: DWARFASTParserClang.h:180
DWARFASTParser.h
lldb_private::ConstString
Definition: ConstString.h:40
DWARFASTParserClang::DeclContextToDIEMap
std::multimap< const clang::DeclContext *, const DWARFDIE > DeclContextToDIEMap
Definition: DWARFASTParserClang.h:79
ParsedDWARFTypeAttributes::abstract_origin
DWARFFormValue abstract_origin
Definition: DWARFASTParserClang.h:239
DWARFFormValue
Definition: DWARFFormValue.h:20
PluginInterface.h
DWARFASTParserClang::ParseSingleMember
void ParseSingleMember(const DWARFDIE &die, const DWARFDIE &parent_die, const lldb_private::CompilerType &class_clang_type, lldb::AccessType default_accessibility, DelayedPropertyList &delayed_properties, lldb_private::ClangASTImporter::LayoutInfo &layout_info, FieldInfo &last_field_info)
Definition: DWARFASTParserClang.cpp:2313
LogChannelDWARF.h
DWARFASTParserClang::m_die_to_decl_ctx
DIEToDeclContextMap m_die_to_decl_ctx
Definition: DWARFASTParserClang.h:88
ParsedDWARFTypeAttributes::is_explicit
bool is_explicit
Definition: DWARFASTParserClang.h:226
ParsedDWARFTypeAttributes::is_objc_direct_call
bool is_objc_direct_call
Definition: DWARFASTParserClang.h:232
DWARFASTParserClang::FieldInfo::FieldInfo
FieldInfo()=default
ParsedDWARFTypeAttributes::bit_stride
uint32_t bit_stride
Definition: DWARFASTParserClang.h:247
lldb_private::CompilerDeclContext
Represents a generic declaration context in a program.
Definition: CompilerDeclContext.h:30
DWARFASTParserClang::FieldInfo
Definition: DWARFASTParserClang.h:173
DWARFASTParserClang::FieldInfo::is_bitfield
bool is_bitfield
Definition: DWARFASTParserClang.h:176
DWARFASTParserClang::GetClangASTImporter
lldb_private::ClangASTImporter & GetClangASTImporter()
Definition: DWARFASTParserClang.cpp:91
ParsedDWARFTypeAttributes::calling_convention
size_t calling_convention
Definition: DWARFASTParserClang.h:246
DWARFASTParserClang::FieldInfo::IsBitfield
bool IsBitfield()
Definition: DWARFASTParserClang.h:181
ParsedDWARFTypeAttributes::encoding
uint32_t encoding
Definition: DWARFASTParserClang.h:249
DWARFASTParserClang::~DWARFASTParserClang
~DWARFASTParserClang() override
DWARFASTParserClang
Definition: DWARFASTParserClang.h:37
DWARFASTParserClang::GetModuleForType
lldb::ModuleSP GetModuleForType(const DWARFDIE &die)
ParsedDWARFTypeAttributes::is_complete_objc_class
bool is_complete_objc_class
Definition: DWARFASTParserClang.h:225
lldb_private::OptionalClangModuleID
A Clang module ID.
Definition: TypeSystemClang.h:57
lldb::eLanguageTypeUnknown
@ eLanguageTypeUnknown
Unknown or invalid language value.
Definition: lldb-enumerations.h:437
uint32_t
DWARFASTParser
Definition: DWARFASTParser.h:25
DWARFASTParserClang::DIEToModuleMap
llvm::DenseMap< const DWARFDebugInfoEntry *, lldb_private::OptionalClangModuleID > DIEToModuleMap
Definition: DWARFASTParserClang.h:82
DWARFASTParserClang::FieldInfo::bit_size
uint64_t bit_size
Definition: DWARFASTParserClang.h:174
DWARFASTParserClang::ParseTypeModifier
lldb::TypeSP ParseTypeModifier(const lldb_private::SymbolContext &sc, const DWARFDIE &die, ParsedDWARFTypeAttributes &attrs)
Definition: DWARFASTParserClang.cpp:548
ParsedDWARFTypeAttributes::mangled_name
const char * mangled_name
Definition: DWARFASTParserClang.h:235
DWARFASTParserClang::GetDeclContextForUIDFromDWARF
lldb_private::CompilerDeclContext GetDeclContextForUIDFromDWARF(const DWARFDIE &die) override
Definition: DWARFASTParserClang.cpp:2117
ParsedDWARFTypeAttributes::byte_size
llvm::Optional< uint64_t > byte_size
Definition: DWARFASTParserClang.h:245
DWARFASTParserClang::m_die_to_decl
DIEToDeclMap m_die_to_decl
Definition: DWARFASTParserClang.h:87
DWARFASTParserClang::EnsureAllDIEsInDeclContextHaveBeenParsed
void EnsureAllDIEsInDeclContextHaveBeenParsed(lldb_private::CompilerDeclContext decl_context) override
Definition: DWARFASTParserClang.cpp:2098
lldb_private::Type
Definition: Type.h:66
DWARFASTParserClang::CompleteTypeFromDWARF
bool CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Type *type, lldb_private::CompilerType &compiler_type) override
Definition: DWARFASTParserClang.cpp:2058
DWARFASTParserClang::m_ast
lldb_private::TypeSystemClang & m_ast
Definition: DWARFASTParserClang.h:86
DWARFASTParserClang::ParseEnum
lldb::TypeSP ParseEnum(const lldb_private::SymbolContext &sc, const DWARFDIE &die, ParsedDWARFTypeAttributes &attrs)
Definition: DWARFASTParserClang.cpp:771
DWARFASTParserClang::ParseArrayType
lldb::TypeSP ParseArrayType(const DWARFDIE &die, ParsedDWARFTypeAttributes &attrs)
Definition: DWARFASTParserClang.cpp:1299
lldb_private::ClangASTImporter
Manages and observes all Clang AST node importing in LLDB.
Definition: ClangASTImporter.h:64
lldb_private::CompilerType
Generic representation of a type in a programming language.
Definition: CompilerType.h:33
ParsedDWARFTypeAttributes::specification
DWARFFormValue specification
Definition: DWARFASTParserClang.h:242
ParsedDWARFTypeAttributes::decl
lldb_private::Declaration decl
Definition: DWARFASTParserClang.h:237
DWARFASTParserClang::ResolveBlockDIE
clang::BlockDecl * ResolveBlockDIE(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3346
ParsedDWARFTypeAttributes::containing_type
DWARFFormValue containing_type
Definition: DWARFASTParserClang.h:240
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
DWARFASTParserClang::ParseSubroutine
lldb::TypeSP ParseSubroutine(const DWARFDIE &die, ParsedDWARFTypeAttributes &attrs)
Definition: DWARFASTParserClang.cpp:879
lldb_private::TypeSystemClang
A TypeSystem implementation based on Clang.
Definition: TypeSystemClang.h:106
DWARFASTParserClang::ParseTemplateDIE
bool ParseTemplateDIE(const DWARFDIE &die, lldb_private::TypeSystemClang::TemplateParameterInfos &template_param_infos)
Definition: DWARFASTParserClang.cpp:1820
ClangASTImporter.h
ParsedDWARFTypeAttributes::is_scoped_enum
bool is_scoped_enum
Definition: DWARFASTParserClang.h:229
DWARFASTParserClang::GetOwningClangModule
lldb_private::OptionalClangModuleID GetOwningClangModule(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3259
DWARFASTParserClang::ParseTypeFromClangModule
lldb::TypeSP ParseTypeFromClangModule(const lldb_private::SymbolContext &sc, const DWARFDIE &die, lldb_private::Log *log)
Follow Clang Module Skeleton CU references to find a type definition.
Definition: DWARFASTParserClang.cpp:144
lldb_private::TypeSystemClang::TemplateParameterInfos
Definition: TypeSystemClang.h:318
lldb_private::Log
Definition: Log.h:49
DWARFASTParserClang::GetDeclContextForBlock
clang::DeclContext * GetDeclContextForBlock(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:3332
ParsedDWARFTypeAttributes::is_artificial
bool is_artificial
Definition: DWARFASTParserClang.h:224
ParsedDWARFTypeAttributes::object_pointer
DWARFDIE object_pointer
Definition: DWARFASTParserClang.h:238
DWARFASTParserClang::m_decl_ctx_to_die
DeclContextToDIEMap m_decl_ctx_to_die
Definition: DWARFASTParserClang.h:89
DWARFASTParserClang::DWARFASTParserClang
DWARFASTParserClang(lldb_private::TypeSystemClang &ast)
Definition: DWARFASTParserClang.cpp:60
ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes
ParsedDWARFTypeAttributes(const DWARFDIE &die)
Definition: DWARFASTParserClang.cpp:302
lldb_private::Declaration
Definition: Declaration.h:24
ParsedDWARFTypeAttributes::exports_symbols
bool exports_symbols
Definition: DWARFASTParserClang.h:233
DWARFASTParserClang::CompleteEnumType
bool CompleteEnumType(const DWARFDIE &die, lldb_private::Type *type, lldb_private::CompilerType &clang_type)
Definition: DWARFASTParserClang.cpp:2043
lldb::AccessType
AccessType
Definition: lldb-enumerations.h:507
DWARFASTParserClang::ParsePointerToMemberType
lldb::TypeSP ParsePointerToMemberType(const DWARFDIE &die, const ParsedDWARFTypeAttributes &attrs)
Definition: DWARFASTParserClang.cpp:1352
DWARFASTParserClang::ParseChildEnumerators
size_t ParseChildEnumerators(lldb_private::CompilerType &compiler_type, bool is_signed, uint32_t enumerator_byte_size, const DWARFDIE &parent_die)
Definition: DWARFASTParserClang.cpp:2133
DWARFASTParserClang::m_clang_ast_importer_up
std::unique_ptr< lldb_private::ClangASTImporter > m_clang_ast_importer_up
Definition: DWARFASTParserClang.h:91
ParsedDWARFTypeAttributes::is_virtual
bool is_virtual
Definition: DWARFASTParserClang.h:231