diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-07-18 23:11:07 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-07-18 23:11:07 +0000 |
commit | f74cb50cda83cfa3ad847038bb32431933c704f6 (patch) | |
tree | 7653a153c6d50368958a820573508725bd33e754 /lldb/scripts/Python/interface/SBLineEntry.i | |
parent | 6fdc34054f9947268621bb66736c8a653eca6b20 (diff) | |
download | bcm5719-llvm-f74cb50cda83cfa3ad847038bb32431933c704f6.tar.gz bcm5719-llvm-f74cb50cda83cfa3ad847038bb32431933c704f6.zip |
Add SWIG Python interface files for SBLineEntry, SBListener, and SBModule.
llvm-svn: 135441
Diffstat (limited to 'lldb/scripts/Python/interface/SBLineEntry.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBLineEntry.i | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBLineEntry.i b/lldb/scripts/Python/interface/SBLineEntry.i new file mode 100644 index 00000000000..18dc6c31cab --- /dev/null +++ b/lldb/scripts/Python/interface/SBLineEntry.i @@ -0,0 +1,50 @@ +//===-- SWIG Interface for SBLineEntry --------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +namespace lldb { + +%feature("docstring", +"Specifies an association with a contiguous range of instructions and +a source file location. SBCompileUnit contains SBLineEntry(s). + +See also SBCompileUnit for example usage of SBLineEntry API." +) SBLineEntry; +class SBLineEntry +{ +public: + + SBLineEntry (); + + SBLineEntry (const lldb::SBLineEntry &rhs); + + ~SBLineEntry (); + + lldb::SBAddress + GetStartAddress () const; + + lldb::SBAddress + GetEndAddress () const; + + bool + IsValid () const; + + lldb::SBFileSpec + GetFileSpec () const; + + uint32_t + GetLine () const; + + uint32_t + GetColumn () const; + + bool + GetDescription (lldb::SBStream &description); +}; + +} // namespace lldb |