diff options
Diffstat (limited to 'lldb/scripts/Python/interface/SBExecutionContext.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBExecutionContext.i | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBExecutionContext.i b/lldb/scripts/Python/interface/SBExecutionContext.i new file mode 100644 index 00000000000..d138398e6f9 --- /dev/null +++ b/lldb/scripts/Python/interface/SBExecutionContext.i @@ -0,0 +1,42 @@ +//===-- SWIG Interface for SBExecutionContext ---------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +namespace lldb { + +class SBExecutionContext +{ +public: + SBExecutionContext(); + + SBExecutionContext (const lldb::SBExecutionContext &rhs); + + SBExecutionContext (const lldb::SBTarget &target); + + SBExecutionContext (const lldb::SBProcess &process); + + SBExecutionContext (lldb::SBThread thread); // can't be a const& because SBThread::get() isn't itself a const function + + SBExecutionContext (const lldb::SBFrame &frame); + + ~SBExecutionContext(); + + SBTarget + GetTarget () const; + + SBProcess + GetProcess () const; + + SBThread + GetThread () const; + + SBFrame + GetFrame () const; +}; + +} // namespace lldb |