File indexing completed on 2026-05-10 08:42:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef LLDB_TARGET_THREADPLANCALLFUNCTIONUSINGABI_H
0011 #define LLDB_TARGET_THREADPLANCALLFUNCTIONUSINGABI_H
0012
0013 #include "lldb/Target/ABI.h"
0014 #include "lldb/Target/Thread.h"
0015 #include "lldb/Target/ThreadPlanCallFunction.h"
0016 #include "lldb/lldb-private.h"
0017
0018 #include "llvm/ADT/ArrayRef.h"
0019 #include "llvm/IR/DerivedTypes.h"
0020
0021 namespace lldb_private {
0022
0023 class ThreadPlanCallFunctionUsingABI : public ThreadPlanCallFunction {
0024
0025
0026
0027
0028
0029
0030 public:
0031 ThreadPlanCallFunctionUsingABI(Thread &thread,
0032 const Address &function_address,
0033 llvm::Type &function_prototype,
0034 llvm::Type &return_type,
0035 llvm::ArrayRef<ABI::CallArgument> args,
0036 const EvaluateExpressionOptions &options);
0037
0038 ~ThreadPlanCallFunctionUsingABI() override;
0039
0040 void GetDescription(Stream *s, lldb::DescriptionLevel level) override;
0041
0042 protected:
0043 void SetReturnValue() override;
0044
0045 private:
0046 llvm::Type &m_return_type;
0047 ThreadPlanCallFunctionUsingABI(const ThreadPlanCallFunctionUsingABI &) =
0048 delete;
0049 const ThreadPlanCallFunctionUsingABI &
0050 operator=(const ThreadPlanCallFunctionUsingABI &) = delete;
0051 };
0052
0053 }
0054
0055 #endif