diff options
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 |