1 //===-- SymbolFileDWARFDwo.h ------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef SymbolFileDWARFDwo_SymbolFileDWARFDwo_h_
11 #define SymbolFileDWARFDwo_SymbolFileDWARFDwo_h_
15 // Other libraries and framework includes
17 #include "SymbolFileDWARF.h"
19 class SymbolFileDWARFDwo : public SymbolFileDWARF
22 SymbolFileDWARFDwo(lldb::ObjectFileSP objfile, DWARFCompileUnit* dwarf_cu);
24 ~SymbolFileDWARFDwo() override = default;
27 ParseCompileUnit(DWARFCompileUnit* dwarf_cu, uint32_t cu_idx) override;
33 GetDWARFCompileUnit(lldb_private::CompileUnit *comp_unit) override;
35 lldb_private::DWARFExpression::LocationListFormat
36 GetLocationListFormat() const override;
38 lldb_private::TypeSystem*
39 GetTypeSystemForLanguage(lldb::LanguageType language) override;
42 GetDIE(const DIERef &die_ref) override;
44 std::unique_ptr<SymbolFileDWARFDwo>
45 GetDwoSymbolFileForCompileUnit(DWARFCompileUnit &dwarf_cu, const DWARFDebugInfoEntry &cu_die) override
52 LoadSectionData (lldb::SectionType sect_type, lldb_private::DWARFDataExtractor& data) override;
55 GetDIEToType() override;
58 GetDIEToVariable() override;
61 GetForwardDeclDieToClangType() override;
64 GetForwardDeclClangTypeToDie() override;
66 UniqueDWARFASTTypeMap&
67 GetUniqueDWARFASTTypeMap() override;
70 FindDefinitionTypeForDWARFDeclContext (const DWARFDeclContext &die_decl_ctx) override;
75 lldb::ObjectFileSP m_obj_file_sp;
76 DWARFCompileUnit* m_base_dwarf_cu;
79 #endif // SymbolFileDWARFDwo_SymbolFileDWARFDwo_h_