Lines Matching refs:section_sp
31 SBSection::SBSection(const lldb::SectionSP §ion_sp) in SBSection() argument
35 if (section_sp) in SBSection()
36 m_opaque_wp = section_sp; in SBSection()
56 SectionSP section_sp(GetSP()); in operator bool() local
57 return section_sp && section_sp->GetModule().get() != nullptr; in operator bool()
63 SectionSP section_sp(GetSP()); in GetName() local
64 if (section_sp) in GetName()
65 return section_sp->GetName().GetCString(); in GetName()
73 SectionSP section_sp(GetSP()); in GetParent() local
74 if (section_sp) { in GetParent()
75 SectionSP parent_section_sp(section_sp->GetParent()); in GetParent()
88 SectionSP section_sp(GetSP()); in FindSubSection() local
89 if (section_sp) { in FindSubSection()
92 section_sp->GetChildren().FindSectionByName(const_sect_name)); in FindSubSection()
101 SectionSP section_sp(GetSP()); in GetNumSubSections() local
102 if (section_sp) in GetNumSubSections()
103 return section_sp->GetChildren().GetSize(); in GetNumSubSections()
112 SectionSP section_sp(GetSP()); in GetSubSectionAtIndex() local
113 if (section_sp) in GetSubSectionAtIndex()
114 sb_section.SetSP(section_sp->GetChildren().GetSectionAtIndex(idx)); in GetSubSectionAtIndex()
120 void SBSection::SetSP(const lldb::SectionSP §ion_sp) { in SetSP() argument
121 m_opaque_wp = section_sp; in SetSP()
128 SectionSP section_sp(GetSP()); in GetFileAddress() local
129 if (section_sp) in GetFileAddress()
130 return section_sp->GetFileAddress(); in GetFileAddress()
140 SectionSP section_sp(GetSP()); in GetLoadAddress() local
141 if (section_sp) in GetLoadAddress()
142 return section_sp->GetLoadBaseAddress(target_sp.get()); in GetLoadAddress()
150 SectionSP section_sp(GetSP()); in GetByteSize() local
151 if (section_sp) in GetByteSize()
152 return section_sp->GetByteSize(); in GetByteSize()
159 SectionSP section_sp(GetSP()); in GetFileOffset() local
160 if (section_sp) { in GetFileOffset()
161 ModuleSP module_sp(section_sp->GetModule()); in GetFileOffset()
165 return objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetFileOffset()
174 SectionSP section_sp(GetSP()); in GetFileByteSize() local
175 if (section_sp) in GetFileByteSize()
176 return section_sp->GetFileSize(); in GetFileByteSize()
191 SectionSP section_sp(GetSP()); in GetSectionData() local
192 if (section_sp) { in GetSectionData()
193 const uint64_t sect_file_size = section_sp->GetFileSize(); in GetSectionData()
195 ModuleSP module_sp(section_sp->GetModule()); in GetSectionData()
200 objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetSectionData()
204 file_size = section_sp->GetByteSize(); in GetSectionData()
229 SectionSP section_sp(GetSP()); in GetSectionType() local
230 if (section_sp.get()) in GetSectionType()
231 return section_sp->GetType(); in GetSectionType()
238 SectionSP section_sp(GetSP()); in GetPermissions() local
239 if (section_sp) in GetPermissions()
240 return section_sp->GetPermissions(); in GetPermissions()
247 SectionSP section_sp(GetSP()); in GetTargetByteSize() local
248 if (section_sp.get()) in GetTargetByteSize()
249 return section_sp->GetTargetByteSize(); in GetTargetByteSize()
279 SectionSP section_sp(GetSP()); in GetDescription() local
280 if (section_sp) { in GetDescription()
281 const addr_t file_addr = section_sp->GetFileAddress(); in GetDescription()
283 file_addr + section_sp->GetByteSize()); in GetDescription()
284 section_sp->DumpName(strm.AsRawOstream()); in GetDescription()