Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp57 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { in updateLoadCommandIndexes()
58 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
108 LoadCommands.begin(), LoadCommands.end(), in removeLoadCommands()
110 LoadCommands.erase(It, LoadCommands.end()); in removeLoadCommands()
120 for (LoadCommand &LC : LoadCommands) { in removeSections()
141 for (const LoadCommand &LC : LoadCommands) in removeSections()
163 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress()
208 LoadCommands.push_back(std::move(LC)); in addSegment()
209 return LoadCommands.back(); in addSegment()
H A DMachOReader.cpp125 O.CodeSignatureCommandIndex = O.LoadCommands.size(); in readLoadCommands()
134 O.TextSegmentCommandIndex = O.LoadCommands.size(); in readLoadCommands()
150 O.TextSegmentCommandIndex = O.LoadCommands.size(); in readLoadCommands()
160 O.SymTabCommandIndex = O.LoadCommands.size(); in readLoadCommands()
163 O.DySymTabCommandIndex = O.LoadCommands.size(); in readLoadCommands()
167 O.DyLdInfoCommandIndex = O.LoadCommands.size(); in readLoadCommands()
170 O.DataInCodeCommandIndex = O.LoadCommands.size(); in readLoadCommands()
173 O.LinkerOptimizationHintCommandIndex = O.LoadCommands.size(); in readLoadCommands()
176 O.FunctionStartsCommandIndex = O.LoadCommands.size(); in readLoadCommands()
179 O.DylibCodeSignDRsIndex = O.LoadCommands.size(); in readLoadCommands()
[all …]
H A DMachOWriter.cpp46 O.LoadCommands[*O.SymTabCommandIndex] in totalSize()
55 O.LoadCommands[*O.DyLdInfoCommandIndex] in totalSize()
88 O.LoadCommands[*O.DySymTabCommandIndex] in totalSize()
103 O.LoadCommands[*LinkEditDataCommandIndex] in totalSize()
111 for (const LoadCommand &LC : O.LoadCommands) in totalSize()
157 for (const LoadCommand &LC : O.LoadCommands) { in writeLoadCommands()
239 for (const LoadCommand &LC : O.LoadCommands) in writeSections()
290 O.LoadCommands[*O.SymTabCommandIndex] in writeStringTable()
301 O.LoadCommands[*O.SymTabCommandIndex] in writeSymbolTable()
320 O.LoadCommands[*O.DyLdInfoCommandIndex] in writeRebaseInfo()
[all …]
H A DMachOObjcopy.cpp216 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
235 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
272 Obj.LoadCommands.push_back(buildRPathLoadCommand(RPath)); in processLoadCommands()
282 Obj.LoadCommands.insert(Obj.LoadCommands.begin(), in processLoadCommands()
310 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile()
339 for (LoadCommand &LC : Obj.LoadCommands) { in addSection()
372 for (const auto& LC : O.LoadCommands) in findSection()
382 llvm::find_if(O.LoadCommands, [SegName](const LoadCommand &LC) { in findSection()
385 if (FoundSeg == O.LoadCommands.end()) in findSection()
462 for (LoadCommand &LC : Obj.LoadCommands) in handleArgs()
H A DMachOLayoutBuilder.cpp28 for (const LoadCommand &LC : O.LoadCommands) { in computeSizeOfCmds()
119 for (LoadCommand &LC : O.LoadCommands) { in layoutSegments()
216 for (LoadCommand &LC : O.LoadCommands) in layoutRelocations()
243 for (const auto &LC : O.LoadCommands) { in layoutTail()
337 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
457 O.Header.NCmds = O.LoadCommands.size(); in layout()
H A DMachOObject.h301 std::vector<LoadCommand> LoadCommands; member
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h303 LoadCommands.push_back(std::move(LC));
351 for (auto &LC : LoadCommands)
468 Header.ncmds = Segments.size() + LoadCommands.size();
479 for (auto &LC : LoadCommands)
565 std::vector<std::unique_ptr<MachOBuilderLoadCommandBase>> LoadCommands;
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp247 for (auto &LC : Obj.LoadCommands) { in writeLoadCommands()
297 for (auto &LC : Obj.LoadCommands) { in writeSectionData()
403 for (const MachOYAML::LoadCommand &LC : Obj.LoadCommands) { in writeRelocations()
500 for (auto &LC : Obj.LoadCommands) { in writeLinkEditData()
H A DMachOYAML.cpp112 IO.mapOptional("LoadCommands", Object.LoadCommands); in mapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h142 std::vector<LoadCommand> LoadCommands; member
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h861 LoadCommandList LoadCommands; variable
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp1344 LoadCommands.push_back(Load); in MachOObjectFile()
1696 assert(LoadCommands.size() == LoadCommandCount); in MachOObjectFile()
4506 return LoadCommands.begin(); in begin_load_commands()
4511 return LoadCommands.end(); in end_load_commands()