[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / lldb / bindings / interface / SBSectionDocstrings.i
blob231e9e89da1163ebf78bef8cc44b0e1a16909c0b
1 %feature("docstring",
2 "Represents an executable image section.
4 SBSection supports iteration through its subsection, represented as SBSection
5 as well. For example, ::
7 for sec in exe_module:
8 if sec.GetName() == '__TEXT':
9 print sec
10 break
11 print INDENT + 'Number of subsections: %d' % sec.GetNumSubSections()
12 for subsec in sec:
13 print INDENT + repr(subsec)
15 produces: ::
17 [0x0000000100000000-0x0000000100002000) a.out.__TEXT
18 Number of subsections: 6
19 [0x0000000100001780-0x0000000100001d5c) a.out.__TEXT.__text
20 [0x0000000100001d5c-0x0000000100001da4) a.out.__TEXT.__stubs
21 [0x0000000100001da4-0x0000000100001e2c) a.out.__TEXT.__stub_helper
22 [0x0000000100001e2c-0x0000000100001f10) a.out.__TEXT.__cstring
23 [0x0000000100001f10-0x0000000100001f68) a.out.__TEXT.__unwind_info
24 [0x0000000100001f68-0x0000000100001ff8) a.out.__TEXT.__eh_frame
26 See also :py:class:`SBModule` ."
27 ) lldb::SBSection;
29 %feature("docstring", "
30 Return the size of a target's byte represented by this section
31 in numbers of host bytes. Note that certain architectures have
32 varying minimum addressable unit (i.e. byte) size for their
33 CODE or DATA buses.
35 @return
36 The number of host (8-bit) bytes needed to hold a target byte"
37 ) lldb::SBSection::GetTargetByteSize;