Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp44 for (size_t Index = 0, Size = LoadCommands.size(); Index < Size; ++Index) { in updateLoadCommandIndexes()
45 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
95 LoadCommands.begin(), LoadCommands.end(), in removeLoadCommands()
97 LoadCommands.erase(It, LoadCommands.end()); in removeLoadCommands()
107 for (LoadCommand &LC : LoadCommands) { in removeSections()
128 for (const LoadCommand &LC : LoadCommands) in removeSections()
150 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress()
195 LoadCommands.push_back(std::move(LC)); in addSegment()
196 return LoadCommands.back(); in addSegment()
H A DMachOReader.cpp126 O.CodeSignatureCommandIndex = O.LoadCommands.size(); in readLoadCommands()
135 O.TextSegmentCommandIndex = O.LoadCommands.size(); in readLoadCommands()
151 O.TextSegmentCommandIndex = O.LoadCommands.size(); in readLoadCommands()
161 O.SymTabCommandIndex = O.LoadCommands.size(); in readLoadCommands()
164 O.DySymTabCommandIndex = O.LoadCommands.size(); in readLoadCommands()
168 O.DyLdInfoCommandIndex = O.LoadCommands.size(); in readLoadCommands()
171 O.DataInCodeCommandIndex = O.LoadCommands.size(); in readLoadCommands()
174 O.LinkerOptimizationHintCommandIndex = O.LoadCommands.size(); in readLoadCommands()
177 O.FunctionStartsCommandIndex = O.LoadCommands.size(); in readLoadCommands()
180 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[* in writeRebaseInfo()
[all...]
H A DMachOObjcopy.cpp197 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
216 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
253 Obj.LoadCommands.push_back(buildRPathLoadCommand(RPath)); in processLoadCommands()
263 Obj.LoadCommands.insert(Obj.LoadCommands.begin(), in processLoadCommands()
291 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile()
320 for (LoadCommand &LC : Obj.LoadCommands) { in addSection()
345 llvm::find_if(O.LoadCommands, [SegName](const LoadCommand &LC) { in findSection()
348 if (FoundSeg == O.LoadCommands.end()) in findSection()
424 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()
460 O.Header.NCmds = O.LoadCommands.size(); in layout()
H A DMachOObject.h300 std::vector<LoadCommand> LoadCommands; member
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h308 LoadCommands.push_back(std::move(LC));
356 for (auto &LC : LoadCommands)
473 Header.ncmds = Segments.size() + LoadCommands.size();
484 for (auto &LC : LoadCommands)
570 std::vector<std::unique_ptr<MachOBuilderLoadCommandBase>> LoadCommands;
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp249 for (auto &LC : Obj.LoadCommands) { in writeLoadCommands()
299 for (auto &LC : Obj.LoadCommands) { in writeSectionData()
405 for (const MachOYAML::LoadCommand &LC : Obj.LoadCommands) { in writeRelocations()
502 for (auto &LC : Obj.LoadCommands) { in writeLinkEditData()
H A DMachOYAML.cpp114 IO.mapOptional("LoadCommands", Object.LoadCommands); in mapping()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h142 std::vector<LoadCommand> LoadCommands; member
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DMachO.h856 LoadCommandList LoadCommands;
855 LoadCommandList LoadCommands; global() variable
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DMachOObjectFile.cpp1343 LoadCommands.push_back(Load); in MachOObjectFile()
1695 assert(LoadCommands.size() == LoadCommandCount); in MachOObjectFile()
4507 return LoadCommands.begin(); in end_load_commands()
4512 return LoadCommands.end(); in load_commands()