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