Go to the documentation of this file.
15 #include "lldb/Host/Config.h"
42 if (thread ==
nullptr)
51 ConstString(
"mmap"), eFunctionNameTypeFull, function_options, sc_list);
57 eSymbolContextFunction | eSymbolContextSymbol;
58 const bool use_inline_block_range =
false;
84 auto type_system_or_err =
87 if (!type_system_or_err) {
88 llvm::consumeError(type_system_or_err.takeError());
97 arch, addr, length, prot_arg, flags, fd, offset);
98 lldb::ThreadPlanSP call_plan_sp(
100 void_ptr_type, args, options));
109 exe_ctx, call_plan_sp, options, diagnostics);
113 call_plan_sp->GetReturnValueObject()->GetValueAsUnsigned(
137 if (thread ==
nullptr)
146 ConstString(
"munmap"), eFunctionNameTypeFull, function_options, sc_list);
152 eSymbolContextFunction | eSymbolContextSymbol;
153 const bool use_inline_block_range =
false;
167 lldb::ThreadPlanSP call_plan_sp(
178 exe_ctx, call_plan_sp, options, diagnostics);
Address & GetBaseAddress()
Get accessor for the base address of the range.
llvm::SmallVector< lldb::addr_t, 6 > MmapArgList
void SetTimeout(const Timeout< std::micro > &timeout)
bool GetAddressRange(uint32_t scope, uint32_t range_idx, bool use_inline_block_range, AddressRange &range) const
Get the address range contained within a symbol context.
ExpressionResults
The results of expression evaluation.
std::chrono::seconds GetUtilityExpressionTimeout() const
ThreadList & GetThreadList()
Target & GetTarget()
Get the target object pointer for this module.
void SetTrapExceptions(bool b)
bool GetContextAtIndex(size_t idx, SymbolContext &sc) const
Get accessor for a symbol context at index idx.
llvm::Expected< TypeSystem & > GetScratchTypeSystemForLanguage(lldb::LanguageType language, bool create_on_demand=true)
bool include_symbols
Include the symbol table.
bool InferiorCallMunmap(Process *proc, lldb::addr_t addr, lldb::addr_t length)
const ModuleList & GetImages() const
Get accessor for the images for this process.
bool include_inlines
Include inlined functions.
lldb::PlatformSP GetPlatform()
uint32_t GetAddressByteSize() const
uint32_t GetSize() const
Get accessor for a symbol context list size.
void SetTryAllThreads(bool try_others=true)
void SetUnwindOnError(bool unwind=false)
Options used by Module::FindFunctions.
void SetIgnoreBreakpoints(bool ignore=false)
const ArchSpec & GetArchitecture() const
CompilerType GetPointerType() const
Return a new CompilerType that is a pointer to this type.
void CalculateExecutionContext(ExecutionContext &exe_ctx) override
Reconstruct the object's execution context into sc.
#define LLDB_INVALID_ADDRESS
CompilerType GetBasicTypeFromAST(lldb::BasicType basic_type) const
Create related types using the current type's AST.
Generic representation of a type in a programming language.
void FindFunctions(ConstString name, lldb::FunctionNameType name_type_mask, const ModuleFunctionSearchOptions &options, SymbolContextList &sc_list) const
bool InferiorCallMmap(Process *proc, lldb::addr_t &allocated_addr, lldb::addr_t addr, lldb::addr_t length, unsigned prot, unsigned flags, lldb::addr_t fd, lldb::addr_t offset)
@ eLanguageTypeC
Non-standardized C, such as K&R.
A class that represents a running process on the host machine.
void SetStopOthers(bool stop_others=true)
virtual lldb::StackFrameSP GetStackFrameAtIndex(uint32_t idx)
lldb::ExpressionResults RunThreadPlan(ExecutionContext &exe_ctx, lldb::ThreadPlanSP &thread_plan_sp, const EvaluateExpressionOptions &options, DiagnosticManager &diagnostic_manager)
lldb::ThreadSP GetExpressionExecutionThread()