Go to the documentation of this file.
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DEBUGNAMESDWARFINDEX_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DEBUGNAMESDWARFINDEX_H
17 #include "llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h"
22 static llvm::Expected<std::unique_ptr<DebugNamesDWARFIndex>>
30 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
33 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
36 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
39 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override {}
41 ConstString class_name,
bool must_be_implementation,
42 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
44 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
46 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
48 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
52 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
54 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
60 std::unique_ptr<llvm::DWARFDebugNames> debug_names_up,
82 llvm::function_ref<
bool(
DWARFDIE die)> callback,
83 llvm::StringRef name);
86 const DebugNames::NameIndex &ni,
87 llvm::StringRef name);
94 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DEBUGNAMESDWARFINDEX_H
llvm::DWARFDebugNames DebugNames
void GetFunctions(const Module::LookupInfo &lookup_info, SymbolFileDWARF &dwarf, const CompilerDeclContext &parent_decl_ctx, llvm::function_ref< bool(DWARFDIE die)> callback) override
DWARFDataExtractor m_debug_names_data
void Dump(Stream &s) override
DWARFDataExtractor m_debug_str_data
static llvm::raw_ostream & error(Stream &strm)
static llvm::DenseSet< dw_offset_t > GetUnits(const DebugNames &debug_names)
DWARFDebugInfo & m_debug_info
void GetObjCMethods(ConstString class_name, llvm::function_ref< bool(DWARFDIE die)> callback) override
DebugNamesDWARFIndex(Module &module, std::unique_ptr< llvm::DWARFDebugNames > debug_names_up, DWARFDataExtractor debug_names_data, DWARFDataExtractor debug_str_data, SymbolFileDWARF &dwarf)
void GetNamespaces(ConstString name, llvm::function_ref< bool(DWARFDIE die)> callback) override
bool ProcessEntry(const DebugNames::Entry &entry, llvm::function_ref< bool(DWARFDIE die)> callback, llvm::StringRef name)
Represents a generic declaration context in a program.
std::unique_ptr< DebugNames > m_debug_names_up
void GetCompleteObjCClass(ConstString class_name, bool must_be_implementation, llvm::function_ref< bool(DWARFDIE die)> callback) override
llvm::Optional< DIERef > ToDIERef(const DebugNames::Entry &entry)
ManualDWARFIndex m_fallback
A class that represents a running process on the host machine.
static void MaybeLogLookupError(llvm::Error error, const DebugNames::NameIndex &ni, llvm::StringRef name)
void GetGlobalVariables(ConstString basename, llvm::function_ref< bool(DWARFDIE die)> callback) override
Finds global variables with the given base name.
static llvm::Expected< std::unique_ptr< DebugNamesDWARFIndex > > Create(Module &module, DWARFDataExtractor debug_names, DWARFDataExtractor debug_str, SymbolFileDWARF &dwarf)
void GetTypes(ConstString name, llvm::function_ref< bool(DWARFDIE die)> callback) override