diff options
Diffstat (limited to 'lldb/scripts/interface/SBSection.i')
-rw-r--r-- | lldb/scripts/interface/SBSection.i | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/lldb/scripts/interface/SBSection.i b/lldb/scripts/interface/SBSection.i index 8dc3d1564a5..4f57d7f434e 100644 --- a/lldb/scripts/interface/SBSection.i +++ b/lldb/scripts/interface/SBSection.i @@ -71,7 +71,7 @@ public: lldb::addr_t GetLoadAddress (lldb::SBTarget &target); - + lldb::addr_t GetByteSize (); @@ -80,7 +80,7 @@ public: uint64_t GetFileByteSize (); - + lldb::SBData GetSectionData (); @@ -95,28 +95,25 @@ public: GetPermissions() const; %feature("docstring", " - //------------------------------------------------------------------ - /// Return the size of a target's byte represented by this section - /// in numbers of host bytes. Note that certain architectures have - /// varying minimum addressable unit (i.e. byte) size for their - /// CODE or DATA buses. - /// - /// @return - /// The number of host (8-bit) bytes needed to hold a target byte - //------------------------------------------------------------------ - ") GetTargetByteSize; + Return the size of a target's byte represented by this section + in numbers of host bytes. Note that certain architectures have + varying minimum addressable unit (i.e. byte) size for their + CODE or DATA buses. + + @return + The number of host (8-bit) bytes needed to hold a target byte") GetTargetByteSize; uint32_t GetTargetByteSize (); bool GetDescription (lldb::SBStream &description); - + bool operator == (const lldb::SBSection &rhs); bool operator != (const lldb::SBSection &rhs); - + %pythoncode %{ def __iter__(self): '''Iterate over all subsections in a lldb.SBSection object.''' |