Home
last modified time | relevance | path

Searched refs:LoadCommand (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp27 MachOYAML::LoadCommand::~LoadCommand() = default;
224 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
230 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
236 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
242 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
248 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
254 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
260 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
266 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
272 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
[all …]
H A DMachOEmitter.cpp126 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData()
149 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
163 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString()
173 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
187 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
195 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
201 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
207 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
213 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
219 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp45 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
93 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands()
96 [&](const LoadCommand &LC) { return !ToRemove(LC); }); 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()
185 LoadCommand &Object::addSegment(StringRef SegName, uint64_t SegVMSize) { in addSegment()
186 LoadCommand LC; in addSegment()
205 std::optional<StringRef> LoadCommand::getSegmentName() const { in getSegmentName()
217 std::optional<uint64_t> LoadCommand::getSegmentVMAddr() const { in getSegmentVMAddr()
H A DMachOObjcopy.cpp33 using LoadCommandPred = std::function<bool(const LoadCommand &LC)>;
46 static StringRef getPayloadString(const LoadCommand &LC) { in getPayloadString()
148 static LoadCommand buildRPathLoadCommand(StringRef Path) { in buildRPathLoadCommand()
149 LoadCommand LC; in buildRPathLoadCommand()
197 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
216 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
274 auto RemovePred = [&MachOConfig](const LoadCommand &LC) { in processLoadCommands()
291 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile()
320 for (LoadCommand &LC : Obj.LoadCommands) { in addSection()
334 LoadCommand &NewSegment = in addSection()
[all …]
H A DMachOObject.h78 struct LoadCommand { struct
300 std::vector<LoadCommand> LoadCommands;
352 Error removeLoadCommands(function_ref<bool(const LoadCommand &)> ToRemove);
359 LoadCommand &addSegment(StringRef SegName, uint64_t SegVMSize);
H A DMachOWriter.cpp112 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()
408 getSegmentFileOffset(const LoadCommand &TextSegmentLoadCommand) { in getSegmentFileOffset()
421 static uint64_t getSegmentFileSize(const LoadCommand &TextSegmentLoadCommand) { in getSegmentFileSize()
461 const LoadCommand &TextSegmentLoadCommand = in writeCodeSignatureData()
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()
337 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
H A DMachOReader.cpp123 LoadCommand LC; in readLoadCommands()
254 for (LoadCommand &LC : O.LoadCommands) in setSymbolInRelocationInfo()
351 for (const LoadCommand &LC : O.LoadCommands) in readSwiftVersion()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h73 struct LoadCommand { struct
74 virtual ~LoadCommand();
142 std::vector<LoadCommand> LoadCommands;
172 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::LoadCommand)
210 template <> struct MappingTraits<MachOYAML::LoadCommand> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
211 static void mapping(IO &IO, MachOYAML::LoadCommand &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
320 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \ in LLVM_YAML_IS_SEQUENCE_VECTOR()
327 static void mapping(IO &IO, MachO::dylib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
331 static void mapping(IO &IO, MachO::fvmlib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
335 static void mapping(IO &IO, MachO::section &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DWriter.h20 class LoadCommand {
22 virtual ~LoadCommand() = default;
H A DWriter.cpp86 class LCDyldInfo final : public LoadCommand {
131 class LCSubFramework final : public LoadCommand {
175 class LCDataInCode final : public LoadCommand {
194 class LCDysymtab final : public LoadCommand {
276 class LCMain final : public LoadCommand {
296 class LCSymtab final : public LoadCommand {
321 class LCDylib final : public LoadCommand {
388 class LCRPath final : public LoadCommand {
413 class LCDyldEnv final : public LoadCommand {
438 class LCMinVersion final : public LoadCommand {
[all …]
H A DSyntheticSections.h37 class LoadCommand; variable
92 void addLoadCommand(LoadCommand *);
95 std::vector<LoadCommand *> loadCommands;
H A DSyntheticSections.cpp81 void MachHeaderSection::addLoadCommand(LoadCommand *lc) { in addLoadCommand()
158 for (const LoadCommand *lc : loadCommands) { in writeTo()
/freebsd-14.2/usr.sbin/ppp/
H A Dcommand.c332 LoadCommand(struct cmdargs const *arg) in LoadCommand() function
406 if (arg->argc > arg->argn && (res = LoadCommand(arg)) != 0) in DialCommand()
876 {"load", NULL, LoadCommand, LOCAL_AUTH | LOCAL_CX_OPT,