aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Target/ThreadPlanCallFunctionUsingABI.h')
-rw-r--r--include/lldb/Target/ThreadPlanCallFunctionUsingABI.h34
1 files changed, 18 insertions, 16 deletions
diff --git a/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h b/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
index 3506ebab6ce0..1c67ddd5cdda 100644
--- a/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
+++ b/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
@@ -1,4 +1,5 @@
-//===-- ThreadPlanCallFunctionUsingABI.h --------------------------------*- C++ -*-===//
+//===-- ThreadPlanCallFunctionUsingABI.h --------------------------------*- C++
+//-*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -14,42 +15,43 @@
// C++ Includes
// Other libraries and framework includes
// Project includes
-#include "lldb/lldb-private.h"
#include "lldb/Target/ABI.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadPlanCallFunction.h"
+#include "lldb/lldb-private.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/IR/DerivedTypes.h"
namespace lldb_private {
-class ThreadPlanCallFunctionUsingABI : public ThreadPlanCallFunction
-{
- // Create a thread plan to call a function at the address passed in the "function"
- // argument, this function is executed using register manipulation instead of JIT.
- // Class derives from ThreadPlanCallFunction and differs by calling a alternative
- // ABI interface ABI::PrepareTrivialCall() which provides more detailed information.
+class ThreadPlanCallFunctionUsingABI : public ThreadPlanCallFunction {
+ // Create a thread plan to call a function at the address passed in the
+ // "function"
+ // argument, this function is executed using register manipulation instead of
+ // JIT.
+ // Class derives from ThreadPlanCallFunction and differs by calling a
+ // alternative
+ // ABI interface ABI::PrepareTrivialCall() which provides more detailed
+ // information.
public:
- ThreadPlanCallFunctionUsingABI (Thread &thread,
+ ThreadPlanCallFunctionUsingABI(Thread &thread,
const Address &function_address,
llvm::Type &function_prototype,
llvm::Type &return_type,
llvm::ArrayRef<ABI::CallArgument> args,
const EvaluateExpressionOptions &options);
- ~ThreadPlanCallFunctionUsingABI() override;
+ ~ThreadPlanCallFunctionUsingABI() override;
- void
- GetDescription (Stream *s, lldb::DescriptionLevel level) override;
+ void GetDescription(Stream *s, lldb::DescriptionLevel level) override;
protected:
- void
- SetReturnValue () override;
+ void SetReturnValue() override;
private:
- llvm::Type &m_return_type;
- DISALLOW_COPY_AND_ASSIGN (ThreadPlanCallFunctionUsingABI);
+ llvm::Type &m_return_type;
+ DISALLOW_COPY_AND_ASSIGN(ThreadPlanCallFunctionUsingABI);
};
} // namespace lldb_private