Lines Matching refs:section

111   LDContext::sect_iterator section, sectEnd = pInput.context()->sectEnd();  in readSections()  local
112 for (section = pInput.context()->sectBegin(); section != sectEnd; ++section) { in readSections()
114 if (*section == NULL) in readSections()
117 switch ((*section)->kind()) { in readSections()
120 assert((*section)->getLink() != NULL); in readSections()
122 pInput, *(*section)->getLink(), (*section)->getInfo()); in readSections()
129 signatures().insert((*section)->name(), exist); in readSections()
138 pInput.fileOffset() + (*section)->offset(), (*section)->size()); in readSections()
158 llvm::StringRef((*section)->name()).drop_front(14)); in readSections()
162 (*section)->setKind(LDFileFormat::Debug); in readSections()
164 (*section)->setKind(LDFileFormat::Ignore); in readSections()
166 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
168 fatal(diag::err_cannot_read_section) << (*section)->name(); in readSections()
171 if (((*section)->flag() & llvm::ELF::SHF_EXECINSTR) != 0) in readSections()
172 (*section)->setKind(LDFileFormat::TEXT); in readSections()
174 (*section)->setKind(LDFileFormat::DATA); in readSections()
175 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
177 fatal(diag::err_cannot_read_section) << (*section)->name(); in readSections()
180 (*section)->setKind(LDFileFormat::Ignore); in readSections()
186 assert((*section)->getLink() != NULL); in readSections()
187 size_t link_index = (*section)->getLink()->index(); in readSections()
193 (*section)->setKind(LDFileFormat::Ignore); in readSections()
207 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
209 fatal(diag::err_cannot_read_section) << (*section)->name(); in readSections()
215 (*section)->setKind(LDFileFormat::Ignore); in readSections()
217 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
219 fatal(diag::err_cannot_read_section) << (*section)->name(); in readSections()
225 EhFrame* eh_frame = IRBuilder::CreateEhFrame(**section); in readSections()
238 fatal(diag::err_cannot_read_section) << (*section)->name(); in readSections()
245 SectionData* sd = IRBuilder::CreateSectionData(**section); in readSections()
247 fatal(diag::err_cannot_read_target_section) << (*section)->name(); in readSections()
253 IRBuilder::CreateBSS(**section); in readSections()
266 << (*section)->name() << pInput.name() << pInput.path(); in readSections()