Go to the documentation of this file.
9 #ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_MANUALDWARFINDEX_H
10 #define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_MANUALDWARFINDEX_H
14 #include "llvm/ADT/DenseSet.h"
23 llvm::DenseSet<dw_offset_t> units_to_avoid = {})
31 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
34 llvm::function_ref<
bool(
DWARFDIE die)> callback)
override;
37 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;
69 void Encode(DataEncoder &encoder)
const;
98 bool &signature_mismatch);
115 bool Encode(DataEncoder &encoder)
const;
178 #endif // LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_MANUALDWARFINDEX_H
bool Encode(DataEncoder &encoder) const
Encode this object into a data encoder object.
bool Decode(const DataExtractor &data, lldb::offset_t *offset_ptr, bool &signature_mismatch)
Decode a serialized version of this object from data.
DWARFIndex(Module &module)
void GetCompleteObjCClass(ConstString class_name, bool must_be_implementation, llvm::function_ref< bool(DWARFDIE die)> callback) override
LanguageType
Programming language type.
NameToDIE function_selectors
NameToDIE function_basenames
void IndexUnit(DWARFUnit &unit, SymbolFileDWARFDwo *dwp, IndexSet &set)
void Encode(DataEncoder &encoder) const
bool LoadFromCache()
Load the symbol table from the index cache.
std::string GetCacheKey()
Get the cache key string for this symbol table.
NameToDIE objc_class_selectors
void GetNamespaces(ConstString name, llvm::function_ref< bool(DWARFDIE die)> callback) override
void GetGlobalVariables(ConstString basename, llvm::function_ref< bool(DWARFDIE die)> callback) override
Finds global variables with the given base name.
SymbolFileDWARF * m_dwarf
The DWARF file which we are indexing.
set(option_framework FRAMEWORK) endif() if(LLDB_ENABLE_PYTHON) get_target_property(python_bindings_dir swig_wrapper_python BINARY_DIR) set(lldb_python_wrapper $
string(SUBSTRING ${p} 10 -1 pStripped) if($
ManualDWARFIndex(Module &module, SymbolFileDWARF &dwarf, llvm::DenseSet< dw_offset_t > units_to_avoid={})
Represents a generic declaration context in a program.
bool operator==(const IndexSet &rhs) const
bool Decode(const DataExtractor &data, lldb::offset_t *offset_ptr)
void SaveToCache()
Save the symbol table data out into a cache.
llvm::DenseSet< dw_offset_t > m_units_to_avoid
Which dwarf units should we skip while building the index.
NameToDIE function_fullnames
void Dump(Stream &s) override
void GetTypes(ConstString name, llvm::function_ref< bool(DWARFDIE die)> callback) override
static void IndexUnitImpl(DWARFUnit &unit, const lldb::LanguageType cu_language, IndexSet &set)
A class that represents a running process on the host machine.
void GetFunctions(ConstString name, SymbolFileDWARF &dwarf, const CompilerDeclContext &parent_decl_ctx, uint32_t name_type_mask, llvm::function_ref< bool(DWARFDIE die)> callback) override
void GetObjCMethods(ConstString class_name, llvm::function_ref< bool(DWARFDIE die)> callback) override
NameToDIE function_methods