blob: d138398e6f9765d207d0b9ad380be89d3318e99a [file] [log] [blame]
Enrico Granatae85e84a2014-10-01 20:43:45 +00001//===-- SWIG Interface for SBExecutionContext ---------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10namespace lldb {
11
12class SBExecutionContext
13{
14public:
15 SBExecutionContext();
16
17 SBExecutionContext (const lldb::SBExecutionContext &rhs);
18
19 SBExecutionContext (const lldb::SBTarget &target);
20
21 SBExecutionContext (const lldb::SBProcess &process);
22
23 SBExecutionContext (lldb::SBThread thread); // can't be a const& because SBThread::get() isn't itself a const function
24
25 SBExecutionContext (const lldb::SBFrame &frame);
26
27 ~SBExecutionContext();
28
29 SBTarget
30 GetTarget () const;
31
32 SBProcess
33 GetProcess () const;
34
35 SBThread
36 GetThread () const;
37
38 SBFrame
39 GetFrame () const;
40};
41
42} // namespace lldb