diff options
Diffstat (limited to 'source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h')
-rw-r--r-- | source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h b/source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h index 5039fc7f7672..2a7c3871a309 100644 --- a/source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h +++ b/source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.h @@ -18,67 +18,67 @@ #include "llvm/ADT/SmallVector.h" // Project includes -#include "lldb/Core/PluginInterface.h" -#include "lldb/Symbol/GoASTContext.h" -#include "DWARFDefines.h" #include "DWARFASTParser.h" #include "DWARFDIE.h" +#include "DWARFDefines.h" +#include "lldb/Core/PluginInterface.h" +#include "lldb/Symbol/GoASTContext.h" class DWARFDebugInfoEntry; class DWARFDIECollection; -class DWARFASTParserGo : public DWARFASTParser -{ +class DWARFASTParserGo : public DWARFASTParser { public: - DWARFASTParserGo(lldb_private::GoASTContext &ast); + DWARFASTParserGo(lldb_private::GoASTContext &ast); - ~DWARFASTParserGo() override; + ~DWARFASTParserGo() override; - lldb::TypeSP ParseTypeFromDWARF(const lldb_private::SymbolContext &sc, const DWARFDIE &die, lldb_private::Log *log, - bool *type_is_new_ptr) override; + lldb::TypeSP ParseTypeFromDWARF(const lldb_private::SymbolContext &sc, + const DWARFDIE &die, lldb_private::Log *log, + bool *type_is_new_ptr) override; - lldb_private::Function * - ParseFunctionFromDWARF(const lldb_private::SymbolContext &sc, - const DWARFDIE &die) override; + lldb_private::Function * + ParseFunctionFromDWARF(const lldb_private::SymbolContext &sc, + const DWARFDIE &die) override; - bool - CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Type *type, - lldb_private::CompilerType &go_type) override; + bool CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Type *type, + lldb_private::CompilerType &go_type) override; - lldb_private::CompilerDeclContext - GetDeclContextForUIDFromDWARF(const DWARFDIE &die) override - { - return lldb_private::CompilerDeclContext(); - } + lldb_private::CompilerDeclContext + GetDeclContextForUIDFromDWARF(const DWARFDIE &die) override { + return lldb_private::CompilerDeclContext(); + } - lldb_private::CompilerDeclContext - GetDeclContextContainingUIDFromDWARF(const DWARFDIE &die) override - { - return lldb_private::CompilerDeclContext(); - } + lldb_private::CompilerDeclContext + GetDeclContextContainingUIDFromDWARF(const DWARFDIE &die) override { + return lldb_private::CompilerDeclContext(); + } - lldb_private::CompilerDecl - GetDeclForUIDFromDWARF (const DWARFDIE &die) override - { - return lldb_private::CompilerDecl(); - } + lldb_private::CompilerDecl + GetDeclForUIDFromDWARF(const DWARFDIE &die) override { + return lldb_private::CompilerDecl(); + } - std::vector<DWARFDIE> - GetDIEForDeclContext (lldb_private::CompilerDeclContext decl_context) override - { - return std::vector<DWARFDIE>(); - } + std::vector<DWARFDIE> GetDIEForDeclContext( + lldb_private::CompilerDeclContext decl_context) override { + return std::vector<DWARFDIE>(); + } private: - size_t ParseChildParameters(const lldb_private::SymbolContext &sc, const DWARFDIE &parent_die, bool &is_variadic, - std::vector<lldb_private::CompilerType> &function_param_types); - void ParseChildArrayInfo(const lldb_private::SymbolContext &sc, const DWARFDIE &parent_die, int64_t &first_index, - std::vector<uint64_t> &element_orders, uint32_t &byte_stride, uint32_t &bit_stride); - - size_t ParseChildMembers(const lldb_private::SymbolContext &sc, const DWARFDIE &die, - lldb_private::CompilerType &class_compiler_type); - - lldb_private::GoASTContext &m_ast; + size_t ParseChildParameters( + const lldb_private::SymbolContext &sc, const DWARFDIE &parent_die, + bool &is_variadic, + std::vector<lldb_private::CompilerType> &function_param_types); + void ParseChildArrayInfo(const lldb_private::SymbolContext &sc, + const DWARFDIE &parent_die, int64_t &first_index, + std::vector<uint64_t> &element_orders, + uint32_t &byte_stride, uint32_t &bit_stride); + + size_t ParseChildMembers(const lldb_private::SymbolContext &sc, + const DWARFDIE &die, + lldb_private::CompilerType &class_compiler_type); + + lldb_private::GoASTContext &m_ast; }; #endif // SymbolFileDWARF_DWARFASTParserGo_h_ |