9#ifndef LLDB_EXPRESSION_IRINTERPRETER_H
10#define LLDB_EXPRESSION_IRINTERPRETER_H
16#include "llvm/ADT/ArrayRef.h"
38 static bool CanInterpret(llvm::Module &module, llvm::Function &function,
40 const bool support_function_calls);
42 static bool Interpret(llvm::Module &module, llvm::Function &function,
43 llvm::ArrayRef<lldb::addr_t> args,
static llvm::raw_ostream & error(Stream &strm)
Attempt to interpret the function's code if it does not require running the target.
static bool supportsFunction(llvm::Function &llvm_function, lldb_private::Status &err)
static bool CanInterpret(llvm::Module &module, llvm::Function &function, lldb_private::Status &error, const bool support_function_calls)
static bool Interpret(llvm::Module &module, llvm::Function &function, llvm::ArrayRef< lldb::addr_t > args, lldb_private::IRExecutionUnit &execution_unit, lldb_private::Status &error, lldb::addr_t stack_frame_bottom, lldb::addr_t stack_frame_top, lldb_private::ExecutionContext &exe_ctx, lldb_private::Timeout< std::micro > timeout)
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
"lldb/Expression/IRExecutionUnit.h" Contains the IR and, optionally, JIT- compiled code for a module.
A class that represents a running process on the host machine.