Lines Matching refs:section_sp
29 SBSection::SBSection(const lldb::SectionSP §ion_sp) { in SBSection() argument
32 if (section_sp) in SBSection()
33 m_opaque_wp = section_sp; in SBSection()
52 SectionSP section_sp(GetSP()); in operator bool() local
53 return section_sp && section_sp->GetModule().get() != nullptr; in operator bool()
59 SectionSP section_sp(GetSP()); in GetName() local
60 if (section_sp) in GetName()
61 return section_sp->GetName().GetCString(); in GetName()
69 SectionSP section_sp(GetSP()); in GetParent() local
70 if (section_sp) { in GetParent()
71 SectionSP parent_section_sp(section_sp->GetParent()); in GetParent()
83 SectionSP section_sp(GetSP()); in FindSubSection() local
84 if (section_sp) { in FindSubSection()
87 section_sp->GetChildren().FindSectionByName(const_sect_name)); in FindSubSection()
96 SectionSP section_sp(GetSP()); in GetNumSubSections() local
97 if (section_sp) in GetNumSubSections()
98 return section_sp->GetChildren().GetSize(); in GetNumSubSections()
106 SectionSP section_sp(GetSP()); in GetSubSectionAtIndex() local
107 if (section_sp) in GetSubSectionAtIndex()
108 sb_section.SetSP(section_sp->GetChildren().GetSectionAtIndex(idx)); in GetSubSectionAtIndex()
114 void SBSection::SetSP(const lldb::SectionSP §ion_sp) { in SetSP() argument
115 m_opaque_wp = section_sp; in SetSP()
122 SectionSP section_sp(GetSP()); in GetFileAddress() local
123 if (section_sp) in GetFileAddress()
124 return section_sp->GetFileAddress(); in GetFileAddress()
133 SectionSP section_sp(GetSP()); in GetLoadAddress() local
134 if (section_sp) in GetLoadAddress()
135 return section_sp->GetLoadBaseAddress(target_sp.get()); in GetLoadAddress()
143 SectionSP section_sp(GetSP()); in GetByteSize() local
144 if (section_sp) in GetByteSize()
145 return section_sp->GetByteSize(); in GetByteSize()
152 SectionSP section_sp(GetSP()); in GetFileOffset() local
153 if (section_sp) { in GetFileOffset()
154 ModuleSP module_sp(section_sp->GetModule()); in GetFileOffset()
158 return objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetFileOffset()
167 SectionSP section_sp(GetSP()); in GetFileByteSize() local
168 if (section_sp) in GetFileByteSize()
169 return section_sp->GetFileSize(); in GetFileByteSize()
183 SectionSP section_sp(GetSP()); in GetSectionData() local
184 if (section_sp) { in GetSectionData()
186 section_sp->GetSectionData(section_data); in GetSectionData()
196 SectionSP section_sp(GetSP()); in GetSectionType() local
197 if (section_sp.get()) in GetSectionType()
198 return section_sp->GetType(); in GetSectionType()
205 SectionSP section_sp(GetSP()); in GetPermissions() local
206 if (section_sp) in GetPermissions()
207 return section_sp->GetPermissions(); in GetPermissions()
214 SectionSP section_sp(GetSP()); in GetTargetByteSize() local
215 if (section_sp.get()) in GetTargetByteSize()
216 return section_sp->GetTargetByteSize(); in GetTargetByteSize()
223 SectionSP section_sp(GetSP()); in GetAlignment() local
224 if (section_sp.get()) in GetAlignment()
225 return (1 << section_sp->GetLog2Align()); in GetAlignment()
252 SectionSP section_sp(GetSP()); in GetDescription() local
253 if (section_sp) { in GetDescription()
254 const addr_t file_addr = section_sp->GetFileAddress(); in GetDescription()
256 file_addr + section_sp->GetByteSize()); in GetDescription()
257 section_sp->DumpName(strm.AsRawOstream()); in GetDescription()