1 %feature("docstring", 2 "Specifies an association with a contiguous range of instructions and 3 a source file location. 4 5 :py:class:`SBCompileUnit` contains SBLineEntry(s). For example, :: 6 7 for lineEntry in compileUnit: 8 print('line entry: %s:%d' % (str(lineEntry.GetFileSpec()), 9 lineEntry.GetLine())) 10 print('start addr: %s' % str(lineEntry.GetStartAddress())) 11 print('end addr: %s' % str(lineEntry.GetEndAddress())) 12 13 produces: :: 14 15 line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:20 16 start addr: a.out[0x100000d98] 17 end addr: a.out[0x100000da3] 18 line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:21 19 start addr: a.out[0x100000da3] 20 end addr: a.out[0x100000da9] 21 line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:22 22 start addr: a.out[0x100000da9] 23 end addr: a.out[0x100000db6] 24 line entry: /Volumes/data/lldb/svn/trunk/test/python_api/symbol-context/main.c:23 25 start addr: a.out[0x100000db6] 26 end addr: a.out[0x100000dbc] 27 ... 28 29 See also :py:class:`SBCompileUnit` ." 30 ) lldb::SBLineEntry; 31