Lines Matching full:sections
64 std::vector<std::unique_ptr<Section>> Sections; in extractSections() local
77 Sections.push_back( in extractSections()
80 Section &S = *Sections.back(); in extractSections()
115 return std::move(Sections); in extractSections()
119 // For MachO sections indices start from 1. in readLoadCommands()
137 if (Expected<std::vector<std::unique_ptr<Section>>> Sections = in readLoadCommands() local
140 LC.Sections = std::move(*Sections); in readLoadCommands()
142 return Sections.takeError(); in readLoadCommands()
153 if (Expected<std::vector<std::unique_ptr<Section>>> Sections = in readLoadCommands() local
156 LC.Sections = std::move(*Sections); in readLoadCommands()
158 return Sections.takeError(); in readLoadCommands()
249 std::vector<const Section *> Sections; in setSymbolInRelocationInfo() local
251 for (std::unique_ptr<Section> &Sec : LC.Sections) in setSymbolInRelocationInfo()
252 Sections.push_back(Sec.get()); in setSymbolInRelocationInfo()
255 for (std::unique_ptr<Section> &Sec : LC.Sections) in setSymbolInRelocationInfo()
265 assert(SymbolNum >= 1 && SymbolNum <= Sections.size() && in setSymbolInRelocationInfo()
267 Reloc.Sec = Sections[SymbolNum - 1]; in setSymbolInRelocationInfo()
352 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion()