003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/include/lldb/Expression
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
include
/
lldb
/
Expression
/
📁
..
📄
DWARFExpression.h
(9.9 KB)
📄
DiagnosticManager.h
(4.16 KB)
📄
DynamicCheckerFunctions.h
(2.07 KB)
📄
Expression.h
(3.76 KB)
📄
ExpressionParser.h
(5.08 KB)
📄
ExpressionSourceCode.h
(1.18 KB)
📄
ExpressionTypeSystemHelper.h
(1.35 KB)
📄
ExpressionVariable.h
(8.38 KB)
📄
FunctionCaller.h
(12.98 KB)
📄
IRExecutionUnit.h
(15.17 KB)
📄
IRInterpreter.h
(1.84 KB)
📄
IRMemoryMap.h
(5.6 KB)
📄
LLVMUserExpression.h
(5.03 KB)
📄
Materializer.h
(4.21 KB)
📄
REPL.h
(5.03 KB)
📄
UserExpression.h
(12.4 KB)
📄
UtilityFunction.h
(4.61 KB)
Editing: IRInterpreter.h
//===-- IRInterpreter.h -----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_EXPRESSION_IRINTERPRETER_H #define LLDB_EXPRESSION_IRINTERPRETER_H #include "lldb/Utility/ConstString.h" #include "lldb/Utility/Stream.h" #include "lldb/lldb-public.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Pass.h" namespace llvm { class Function; class Module; } namespace lldb_private { class IRMemoryMap; } /// \class IRInterpreter IRInterpreter.h "lldb/Expression/IRInterpreter.h" /// Attempt to interpret the function's code if it does not require /// running the target. /// /// In some cases, the IR for an expression can be evaluated entirely in the /// debugger, manipulating variables but not executing any code in the target. /// The IRInterpreter attempts to do this. class IRInterpreter { public: 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); private: static bool supportsFunction(llvm::Function &llvm_function, lldb_private::Status &err); }; #endif
Upload File
Create Folder