Home
last modified time | relevance | path

Searched refs:LoadCommands (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp43 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { in updateLoadCommandIndexes()
44 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
94 LoadCommands.begin(), LoadCommands.end(), in removeLoadCommands()
96 LoadCommands.erase(It, LoadCommands.end()); in removeLoadCommands()
106 for (LoadCommand &LC : LoadCommands) { in removeSections()
127 for (const LoadCommand &LC : LoadCommands) in removeSections()
149 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress()
194 LoadCommands.push_back(std::move(LC)); in addSegment()
195 return LoadCommands.back(); in addSegment()
H A DMachOReader.cpp124 O.CodeSignatureCommandIndex = O.LoadCommands.size(); in readLoadCommands()
133 O.TextSegmentCommandIndex = O.LoadCommands.size(); in readLoadCommands()
149 O.TextSegmentCommandIndex = O.LoadCommands.size(); in readLoadCommands()
159 O.SymTabCommandIndex = O.LoadCommands.size(); in readLoadCommands()
162 O.DySymTabCommandIndex = O.LoadCommands.size(); in readLoadCommands()
166 O.DyLdInfoCommandIndex = O.LoadCommands.size(); in readLoadCommands()
169 O.DataInCodeCommandIndex = O.LoadCommands.size(); in readLoadCommands()
172 O.LinkerOptimizationHintCommandIndex = O.LoadCommands.size(); in readLoadCommands()
175 O.FunctionStartsCommandIndex = O.LoadCommands.size(); in readLoadCommands()
178 O.DylibCodeSignDRsIndex = O.LoadCommands.size(); in readLoadCommands()
[all …]
H A DMachOWriter.cpp47 O.LoadCommands[*O.SymTabCommandIndex] in totalSize()
56 O.LoadCommands[*O.DyLdInfoCommandIndex] in totalSize()
89 O.LoadCommands[*O.DySymTabCommandIndex] in totalSize()
104 O.LoadCommands[*LinkEditDataCommandIndex] in totalSize()
112 for (const LoadCommand &LC : O.LoadCommands) in totalSize()
158 for (const LoadCommand &LC : O.LoadCommands) { in writeLoadCommands()
240 for (const LoadCommand &LC : O.LoadCommands) in writeSections()
291 O.LoadCommands[*O.SymTabCommandIndex] in writeStringTable()
302 O.LoadCommands[*O.SymTabCommandIndex] in writeSymbolTable()
321 O.LoadCommands[*O.DyLdInfoCommandIndex] in writeRebaseInfo()
[all …]
H A DMachOObjcopy.cpp186 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
205 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
242 Obj.LoadCommands.push_back(buildRPathLoadCommand(RPath)); in processLoadCommands()
252 Obj.LoadCommands.insert(Obj.LoadCommands.begin(), in processLoadCommands()
280 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile()
309 for (LoadCommand &LC : Obj.LoadCommands) { in addSection()
334 llvm::find_if(O.LoadCommands, [SegName](const LoadCommand &LC) { in findSection()
337 if (FoundSeg == O.LoadCommands.end()) in findSection()
413 for (LoadCommand &LC : Obj.LoadCommands) in handleArgs()
H A DMachOLayoutBuilder.cpp27 for (const LoadCommand &LC : O.LoadCommands) { in computeSizeOfCmds()
118 for (LoadCommand &LC : O.LoadCommands) { in layoutSegments()
215 for (LoadCommand &LC : O.LoadCommands) in layoutRelocations()
242 for (const auto &LC : O.LoadCommands) { in layoutTail()
336 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
459 O.Header.NCmds = O.LoadCommands.size(); in layout()
H A DMachOObject.h300 std::vector<LoadCommand> LoadCommands; member
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp248 for (auto &LC : Obj.LoadCommands) { in writeLoadCommands()
298 for (auto &LC : Obj.LoadCommands) { in writeSectionData()
404 for (const MachOYAML::LoadCommand &LC : Obj.LoadCommands) { in writeRelocations()
501 for (auto &LC : Obj.LoadCommands) { in writeLinkEditData()
H A DMachOYAML.cpp113 IO.mapOptional("LoadCommands", Object.LoadCommands); in mapping()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h142 std::vector<LoadCommand> LoadCommands; member
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp344 Y->LoadCommands.push_back(std::move(LC)); in dumpLoadCommands()
632 for (const auto &LC : Y->LoadCommands) { in dumpChainedFixups()
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DMachO.h850 LoadCommandList LoadCommands; variable
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOObjectFile.cpp1336 LoadCommands.push_back(Load); in MachOObjectFile()
1688 assert(LoadCommands.size() == LoadCommandCount); in MachOObjectFile()
4496 return LoadCommands.begin(); in begin_load_commands()
4501 return LoadCommands.end(); in end_load_commands()