• Home
  • Raw
  • Download

Lines Matching refs:section_sp

38 SBSection::SBSection (const lldb::SectionSP &section_sp) :  in SBSection()  argument
41 if (section_sp) in SBSection()
42 m_opaque_wp = section_sp; in SBSection()
59 SectionSP section_sp (GetSP()); in IsValid() local
60 return section_sp && section_sp->GetModule().get() != NULL; in IsValid()
66 SectionSP section_sp (GetSP()); in GetName() local
67 if (section_sp) in GetName()
68 return section_sp->GetName().GetCString(); in GetName()
76 SectionSP section_sp (GetSP()); in GetParent() local
77 if (section_sp) in GetParent()
79 SectionSP parent_section_sp (section_sp->GetParent()); in GetParent()
93 SectionSP section_sp (GetSP()); in FindSubSection() local
94 if (section_sp) in FindSubSection()
97 sb_section.SetSP(section_sp->GetChildren ().FindSectionByName(const_sect_name)); in FindSubSection()
106 SectionSP section_sp (GetSP()); in GetNumSubSections() local
107 if (section_sp) in GetNumSubSections()
108 return section_sp->GetChildren ().GetSize(); in GetNumSubSections()
116 SectionSP section_sp (GetSP()); in GetSubSectionAtIndex() local
117 if (section_sp) in GetSubSectionAtIndex()
118 sb_section.SetSP (section_sp->GetChildren ().GetSectionAtIndex(idx)); in GetSubSectionAtIndex()
129 SBSection::SetSP(const lldb::SectionSP &section_sp) in SetSP() argument
131 m_opaque_wp = section_sp; in SetSP()
138 SectionSP section_sp (GetSP()); in GetFileAddress() local
139 if (section_sp) in GetFileAddress()
140 return section_sp->GetFileAddress(); in GetFileAddress()
150 SectionSP section_sp (GetSP()); in GetLoadAddress() local
151 if (section_sp) in GetLoadAddress()
152 return section_sp->GetLoadBaseAddress(target_sp.get()); in GetLoadAddress()
163 SectionSP section_sp (GetSP()); in GetByteSize() local
164 if (section_sp) in GetByteSize()
165 return section_sp->GetByteSize(); in GetByteSize()
172 SectionSP section_sp (GetSP()); in GetFileOffset() local
173 if (section_sp) in GetFileOffset()
175 ModuleSP module_sp (section_sp->GetModule()); in GetFileOffset()
180 return objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetFileOffset()
189 SectionSP section_sp (GetSP()); in GetFileByteSize() local
190 if (section_sp) in GetFileByteSize()
191 return section_sp->GetFileSize(); in GetFileByteSize()
205 SectionSP section_sp (GetSP()); in GetSectionData() local
206 if (section_sp) in GetSectionData()
208 const uint64_t sect_file_size = section_sp->GetFileSize(); in GetSectionData()
211 ModuleSP module_sp (section_sp->GetModule()); in GetSectionData()
217 … const uint64_t sect_file_offset = objfile->GetFileOffset() + section_sp->GetFileOffset(); in GetSectionData()
222 file_size = section_sp->GetByteSize(); in GetSectionData()
247 SectionSP section_sp (GetSP()); in GetSectionType() local
248 if (section_sp.get()) in GetSectionType()
249 return section_sp->GetType(); in GetSectionType()
277 SectionSP section_sp (GetSP()); in GetDescription() local
278 if (section_sp) in GetDescription()
280 const addr_t file_addr = section_sp->GetFileAddress(); in GetDescription()
281 …strm.Printf ("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 ") ", file_addr, file_addr + section_sp->GetByt… in GetDescription()
282 section_sp->DumpName(&strm); in GetDescription()