Lines Matching refs:section_sp

28 SBSection::SBSection(const lldb::SectionSP &section_sp)  in SBSection()  argument
32 if (section_sp) in SBSection()
33 m_opaque_wp = section_sp; in SBSection()
44 SectionSP section_sp(GetSP()); in IsValid() local
45 return section_sp && section_sp->GetModule().get() != NULL; in IsValid()
49 SectionSP section_sp(GetSP()); in GetName() local
50 if (section_sp) in GetName()
51 return section_sp->GetName().GetCString(); in GetName()
57 SectionSP section_sp(GetSP()); in GetParent() local
58 if (section_sp) { in GetParent()
59 SectionSP parent_section_sp(section_sp->GetParent()); in GetParent()
69 SectionSP section_sp(GetSP()); in FindSubSection() local
70 if (section_sp) { in FindSubSection()
73 section_sp->GetChildren().FindSectionByName(const_sect_name)); in FindSubSection()
80 SectionSP section_sp(GetSP()); in GetNumSubSections() local
81 if (section_sp) in GetNumSubSections()
82 return section_sp->GetChildren().GetSize(); in GetNumSubSections()
88 SectionSP section_sp(GetSP()); in GetSubSectionAtIndex() local
89 if (section_sp) in GetSubSectionAtIndex()
90 sb_section.SetSP(section_sp->GetChildren().GetSectionAtIndex(idx)); in GetSubSectionAtIndex()
96 void SBSection::SetSP(const lldb::SectionSP &section_sp) { in SetSP() argument
97 m_opaque_wp = section_sp; in SetSP()
102 SectionSP section_sp(GetSP()); in GetFileAddress() local
103 if (section_sp) in GetFileAddress()
104 return section_sp->GetFileAddress(); in GetFileAddress()
111 SectionSP section_sp(GetSP()); in GetLoadAddress() local
112 if (section_sp) in GetLoadAddress()
113 return section_sp->GetLoadBaseAddress(target_sp.get()); in GetLoadAddress()
119 SectionSP section_sp(GetSP()); in GetByteSize() local
120 if (section_sp) in GetByteSize()
121 return section_sp->GetByteSize(); in GetByteSize()
126 SectionSP section_sp(GetSP()); in GetFileOffset() local
127 if (section_sp) { in GetFileOffset()
128 ModuleSP module_sp(section_sp->GetModule()); in GetFileOffset()
132 return objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetFileOffset()
139 SectionSP section_sp(GetSP()); in GetFileByteSize() local
140 if (section_sp) in GetFileByteSize()
141 return section_sp->GetFileSize(); in GetFileByteSize()
149 SectionSP section_sp(GetSP()); in GetSectionData() local
150 if (section_sp) { in GetSectionData()
151 const uint64_t sect_file_size = section_sp->GetFileSize(); in GetSectionData()
153 ModuleSP module_sp(section_sp->GetModule()); in GetSectionData()
158 objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetSectionData()
162 file_size = section_sp->GetByteSize(); in GetSectionData()
185 SectionSP section_sp(GetSP()); in GetSectionType() local
186 if (section_sp.get()) in GetSectionType()
187 return section_sp->GetType(); in GetSectionType()
194 SectionSP section_sp(GetSP()); in GetPermissions() local
195 if (section_sp) in GetPermissions()
196 return section_sp->GetPermissions(); in GetPermissions()
201 SectionSP section_sp(GetSP()); in GetTargetByteSize() local
202 if (section_sp.get()) in GetTargetByteSize()
203 return section_sp->GetTargetByteSize(); in GetTargetByteSize()
224 SectionSP section_sp(GetSP()); in GetDescription() local
225 if (section_sp) { in GetDescription()
226 const addr_t file_addr = section_sp->GetFileAddress(); in GetDescription()
228 file_addr + section_sp->GetByteSize()); in GetDescription()
229 section_sp->DumpName(&strm); in GetDescription()