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;
43 LoadSectionData (lldb::SectionType sect_type, lldb_private::DWARFDataExtractor& data) override;
46 GetDIEToType() override;
49 GetDIEToVariable() override;
52 GetForwardDeclDieToClangType() override;
55 GetForwardDeclClangTypeToDie() override;
57 UniqueDWARFASTTypeMap&
58 GetUniqueDWARFASTTypeMap() override;
61 FindDefinitionTypeForDWARFDeclContext (const DWARFDeclContext &die_decl_ctx) override;
66 lldb::ObjectFileSP m_obj_file_sp;
67 DWARFCompileUnit* m_base_dwarf_cu;
70 #endif // SymbolFileDWARFDwo_SymbolFileDWARFDwo_h_