|
| DebugMapModule (const ModuleSP &exe_module_sp, uint32_t cu_idx, const FileSpec &file_spec, const ArchSpec &arch, ConstString object_name, off_t object_offset, const llvm::sys::TimePoint<> object_mod_time) |
|
| ~DebugMapModule () override=default |
|
SymbolFile * | GetSymbolFile (bool can_create=true, lldb_private::Stream *feedback_strm=nullptr) override |
| Get the module's symbol file.
|
|
| Module (const FileSpec &file_spec, const ArchSpec &arch, ConstString object_name=ConstString(), lldb::offset_t object_offset=0, const llvm::sys::TimePoint<> &object_mod_time=llvm::sys::TimePoint<>()) |
| Construct with file specification and architecture.
|
|
| Module (const ModuleSpec &module_spec) |
|
| ~Module () override |
| Destructor.
|
|
bool | MatchesModuleSpec (const ModuleSpec &module_ref) |
|
bool | SetLoadAddress (Target &target, lldb::addr_t value, bool value_is_offset, bool &changed) |
| Set the load address for all sections in a module to be the file address plus slide.
|
|
void | CalculateSymbolContext (SymbolContext *sc) override |
| Reconstruct the object's symbol context into sc.
|
|
lldb::ModuleSP | CalculateSymbolContextModule () override |
|
void | GetDescription (llvm::raw_ostream &s, lldb::DescriptionLevel level=lldb::eDescriptionLevelFull) |
|
std::string | GetSpecificationDescription () const |
| Get the module path and object name.
|
|
void | Dump (Stream *s) |
| Dump a description of this object to a Stream.
|
|
void | DumpSymbolContext (Stream *s) override |
| Dump the object's symbol context to the stream s.
|
|
const Symbol * | FindFirstSymbolWithNameAndType (ConstString name, lldb::SymbolType symbol_type=lldb::eSymbolTypeAny) |
| Find a symbol in the object file's symbol table.
|
|
void | FindSymbolsWithNameAndType (ConstString name, lldb::SymbolType symbol_type, SymbolContextList &sc_list) |
|
void | FindSymbolsMatchingRegExAndType (const RegularExpression ®ex, lldb::SymbolType symbol_type, SymbolContextList &sc_list, Mangled::NamePreference mangling_preference=Mangled::ePreferDemangled) |
|
void | FindFunctionSymbols (ConstString name, uint32_t name_type_mask, SymbolContextList &sc_list) |
| Find a function symbols in the object file's symbol table.
|
|
void | FindCompileUnits (const FileSpec &path, SymbolContextList &sc_list) |
| Find compile units by partial or full path.
|
|
void | FindFunctions (const LookupInfo &lookup_info, const CompilerDeclContext &parent_decl_ctx, const ModuleFunctionSearchOptions &options, SymbolContextList &sc_list) |
| Find functions by lookup info.
|
|
void | FindFunctions (ConstString name, const CompilerDeclContext &parent_decl_ctx, lldb::FunctionNameType name_type_mask, const ModuleFunctionSearchOptions &options, SymbolContextList &sc_list) |
| Find functions by name.
|
|
void | FindFunctions (llvm::ArrayRef< CompilerContext > compiler_ctx, lldb::FunctionNameType name_type_mask, const ModuleFunctionSearchOptions &options, SymbolContextList &sc_list) |
| Find functions by compiler context.
|
|
void | FindFunctions (const RegularExpression ®ex, const ModuleFunctionSearchOptions &options, SymbolContextList &sc_list) |
| Find functions by name.
|
|
void | FindAddressesForLine (const lldb::TargetSP target_sp, const FileSpec &file, uint32_t line, Function *function, std::vector< Address > &output_local, std::vector< Address > &output_extern) |
| Find addresses by file/line.
|
|
void | FindGlobalVariables (ConstString name, const CompilerDeclContext &parent_decl_ctx, size_t max_matches, VariableList &variable_list) |
| Find global and static variables by name.
|
|
void | FindGlobalVariables (const RegularExpression ®ex, size_t max_matches, VariableList &variable_list) |
| Find global and static variables by regular expression.
|
|
void | FindTypes (const TypeQuery &query, TypeResults &results) |
| Find types using a type-matching object that contains all search parameters.
|
|
const ArchSpec & | GetArchitecture () const |
| Get const accessor for the module architecture.
|
|
const FileSpec & | GetFileSpec () const |
| Get const accessor for the module file specification.
|
|
const FileSpec & | GetPlatformFileSpec () const |
| Get accessor for the module platform file specification.
|
|
void | SetPlatformFileSpec (const FileSpec &file) |
|
const FileSpec & | GetRemoteInstallFileSpec () const |
|
void | SetRemoteInstallFileSpec (const FileSpec &file) |
|
const FileSpec & | GetSymbolFileFileSpec () const |
|
void | PreloadSymbols () |
|
void | SetSymbolFileFileSpec (const FileSpec &file) |
|
const llvm::sys::TimePoint & | GetModificationTime () const |
|
const llvm::sys::TimePoint & | GetObjectModificationTime () const |
|
void | RegisterXcodeSDK (llvm::StringRef sdk, llvm::StringRef sysroot) |
| This callback will be called by SymbolFile implementations when parsing a compile unit that contains SDK information.
|
|
bool | IsExecutable () |
| Tells whether this module is capable of being the main executable for a process.
|
|
bool | IsLoadedInTarget (Target *target) |
| Tells whether this module has been loaded in the target passed in.
|
|
bool | LoadScriptingResourceInTarget (Target *target, Status &error, Stream &feedback_stream) |
|
size_t | GetNumCompileUnits () |
| Get the number of compile units for this module.
|
|
lldb::CompUnitSP | GetCompileUnitAtIndex (size_t idx) |
|
ConstString | GetObjectName () const |
|
uint64_t | GetObjectOffset () const |
|
virtual ObjectFile * | GetObjectFile () |
| Get the object file representation for the current architecture.
|
|
virtual SectionList * | GetSectionList () |
| Get the unified section list for the module.
|
|
virtual void | SectionFileAddressesChanged () |
| Notify the module that the file addresses for the Sections have been updated.
|
|
UnwindTable & | GetUnwindTable () |
| Returns a reference to the UnwindTable for this Module.
|
|
llvm::VersionTuple | GetVersion () |
|
ObjectFile * | GetMemoryObjectFile (const lldb::ProcessSP &process_sp, lldb::addr_t header_addr, Status &error, size_t size_to_read=512) |
| Load an object file from memory.
|
|
virtual SymbolFile * | GetSymbolFile (bool can_create=true, Stream *feedback_strm=nullptr) |
| Get the module's symbol file.
|
|
Symtab * | GetSymtab () |
|
const lldb_private::UUID & | GetUUID () |
| Get a reference to the UUID value contained in this object.
|
|
void | ParseAllDebugSymbols () |
| A debugging function that will cause everything in a module to be parsed.
|
|
bool | ResolveFileAddress (lldb::addr_t vm_addr, Address &so_addr) |
|
uint32_t | ResolveSymbolContextForAddress (const Address &so_addr, lldb::SymbolContextItem resolve_scope, SymbolContext &sc, bool resolve_tail_call_address=false) |
| Resolve the symbol context for the given address.
|
|
uint32_t | ResolveSymbolContextForFilePath (const char *file_path, uint32_t line, bool check_inlines, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list) |
| Resolve items in the symbol context for a given file and line.
|
|
uint32_t | ResolveSymbolContextsForFileSpec (const FileSpec &file_spec, uint32_t line, bool check_inlines, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list) |
| Resolve items in the symbol context for a given file and line.
|
|
void | SetFileSpecAndObjectName (const FileSpec &file, ConstString object_name) |
|
bool | GetIsDynamicLinkEditor () |
|
llvm::Expected< lldb::TypeSystemSP > | GetTypeSystemForLanguage (lldb::LanguageType language) |
|
void | ForEachTypeSystem (llvm::function_ref< bool(lldb::TypeSystemSP)> callback) |
| Call callback for each TypeSystem in this Module .
|
|
template<typename... Args> |
void | LogMessage (Log *log, const char *format, Args &&...args) |
|
template<typename... Args> |
void | LogMessageVerboseBacktrace (Log *log, const char *format, Args &&...args) |
|
template<typename... Args> |
void | ReportWarning (const char *format, Args &&...args) |
|
template<typename... Args> |
void | ReportError (const char *format, Args &&...args) |
|
template<typename... Args> |
void | ReportErrorIfModifyDetected (const char *format, Args &&...args) |
|
void | ReportWarningOptimization (std::optional< lldb::user_id_t > debugger_id) |
|
void | ReportWarningUnsupportedLanguage (lldb::LanguageType language, std::optional< lldb::user_id_t > debugger_id) |
|
bool | FileHasChanged () const |
|
std::recursive_mutex & | GetMutex () const |
|
PathMappingList & | GetSourceMappingList () |
|
const PathMappingList & | GetSourceMappingList () const |
|
bool | FindSourceFile (const FileSpec &orig_spec, FileSpec &new_spec) const |
| Finds a source file given a file spec using the module source path remappings (if any).
|
|
std::optional< std::string > | RemapSourceFile (llvm::StringRef path) const |
| Remaps a source file given path into new_path.
|
|
bool | RemapSourceFile (const char *, std::string &) const =delete |
|
bool | MergeArchitecture (const ArchSpec &arch_spec) |
| Update the ArchSpec to a more specific variant.
|
|
StatsDuration & | GetSymtabParseTime () |
| Accessor for the symbol table parse time metric.
|
|
StatsDuration & | GetSymtabIndexTime () |
| Accessor for the symbol table index time metric.
|
|
void | ResetStatistics () |
|
uint32_t | Hash () |
| Get a unique hash for this module.
|
|
std::string | GetCacheKey () |
| Get a unique cache key for the current module.
|
|
virtual | ~SymbolContextScope ()=default |
|
virtual void | CalculateSymbolContext (SymbolContext *sc)=0 |
| Reconstruct the object's symbol context into sc.
|
|
virtual lldb::ModuleSP | CalculateSymbolContextModule () |
|
virtual CompileUnit * | CalculateSymbolContextCompileUnit () |
|
virtual Function * | CalculateSymbolContextFunction () |
|
virtual Block * | CalculateSymbolContextBlock () |
|
virtual Symbol * | CalculateSymbolContextSymbol () |
|
virtual void | DumpSymbolContext (Stream *s)=0 |
| Dump the object's symbol context to the stream s.
|
|