Johnny Chen | fb35e2a | 2011-07-18 23:11:07 +0000 | [diff] [blame] | 1 | //===-- SWIG Interface for SBLineEntry --------------------------*- 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 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | %feature("docstring", |
| 13 | "Specifies an association with a contiguous range of instructions and |
| 14 | a source file location. SBCompileUnit contains SBLineEntry(s). |
| 15 | |
| 16 | See also SBCompileUnit for example usage of SBLineEntry API." |
| 17 | ) SBLineEntry; |
| 18 | class SBLineEntry |
| 19 | { |
| 20 | public: |
| 21 | |
| 22 | SBLineEntry (); |
| 23 | |
| 24 | SBLineEntry (const lldb::SBLineEntry &rhs); |
| 25 | |
| 26 | ~SBLineEntry (); |
| 27 | |
| 28 | lldb::SBAddress |
| 29 | GetStartAddress () const; |
| 30 | |
| 31 | lldb::SBAddress |
| 32 | GetEndAddress () const; |
| 33 | |
| 34 | bool |
| 35 | IsValid () const; |
| 36 | |
| 37 | lldb::SBFileSpec |
| 38 | GetFileSpec () const; |
| 39 | |
| 40 | uint32_t |
| 41 | GetLine () const; |
| 42 | |
| 43 | uint32_t |
| 44 | GetColumn () const; |
| 45 | |
| 46 | bool |
| 47 | GetDescription (lldb::SBStream &description); |
| 48 | }; |
| 49 | |
| 50 | } // namespace lldb |