opnsense-src/include/lldb/Target/ThreadPlanPython.h
Ed Maste 205afe6798 Import LLDB as of upstream SVN r225923 (git 2b588ecd)
This corresponds with the branchpoint for the 3.6 release.
A number of files not required for the FreeBSD build have been removed.

Sponsored by:	DARPA, AFRL
2015-02-06 21:38:51 +00:00

80 lines
1.9 KiB
C++

//===-- ThreadPlanPython.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef liblldb_ThreadPlan_Python_h_
#define liblldb_ThreadPlan_Python_h_
// C Includes
// C++ Includes
#include <string>
// Other libraries and framework includes
// Project includes
#include "lldb/lldb-private.h"
#include "lldb/Core/UserID.h"
#include "lldb/Host/Mutex.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Target/ThreadPlan.h"
#include "lldb/Target/ThreadPlanTracer.h"
#include "lldb/Target/StopInfo.h"
namespace lldb_private {
//------------------------------------------------------------------
// ThreadPlanPython:
//
//------------------------------------------------------------------
class ThreadPlanPython : public ThreadPlan
{
public:
ThreadPlanPython (Thread &thread, const char *class_name);
virtual ~ThreadPlanPython ();
virtual void
GetDescription (Stream *s,
lldb::DescriptionLevel level);
virtual bool
ValidatePlan (Stream *error);
virtual bool
ShouldStop (Event *event_ptr);
virtual bool
MischiefManaged ();
virtual bool
WillStop ();
virtual bool
StopOthers ();
virtual void
DidPush ();
protected:
virtual bool
DoPlanExplainsStop (Event *event_ptr);
virtual lldb::StateType
GetPlanRunState ();
private:
std::string m_class_name;
lldb::ScriptInterpreterObjectSP m_implementation_sp;
DISALLOW_COPY_AND_ASSIGN(ThreadPlanPython);
};
} // namespace lldb_private
#endif // liblldb_ThreadPlan_Python_h_