summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBExecutionContext.i
blob: d138398e6f9765d207d0b9ad380be89d3318e99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
OpenPOWER on IntegriCloud