Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp26 MachOYAML::LoadCommand::~LoadCommand() = default;
204 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument
208 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
214 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
220 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
226 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
232 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
238 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
243 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapping() argument
373 IO.mapRequired("pad", LoadCommand.pad); in mapping()
[all …]
H A DMachOEmitter.cpp119 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData()
125 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
142 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
156 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString()
166 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
173 size_t writeLoadCommandData<MachO::dylinker_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
180 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
188 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
358 for (const MachOYAML::LoadCommand &LC : Obj.LoadCommands) { in writeRelocations()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.cpp34 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes()
60 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands()
63 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands()
74 for (LoadCommand &LC : LoadCommands) { in removeSections()
95 for (const LoadCommand &LC : LoadCommands) in removeSections()
117 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress()
152 LoadCommand &Object::addSegment(StringRef SegName, uint64_t SegVMSize) { in addSegment()
153 LoadCommand LC; in addSegment()
172 Optional<StringRef> LoadCommand::getSegmentName() const { in getSegmentName()
184 Optional<uint64_t> LoadCommand::getSegmentVMAddr() const { in getSegmentVMAddr()
H A DMachOObjcopy.cpp30 using LoadCommandPred = std::function<bool(const LoadCommand &LC)>;
33 static bool isLoadCommandWithPayloadString(const LoadCommand &LC) { in isLoadCommandWithPayloadString()
43 static StringRef getPayloadString(const LoadCommand &LC) { in getPayloadString()
130 static LoadCommand buildRPathLoadCommand(StringRef Path) { in buildRPathLoadCommand()
131 LoadCommand LC; in buildRPathLoadCommand()
179 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
198 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands()
259 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile()
293 for (LoadCommand &LC : Obj.LoadCommands) { in addSection()
307 LoadCommand &NewSegment = in addSection()
[all …]
H A DObject.h84 struct LoadCommand { struct
304 std::vector<LoadCommand> LoadCommands;
345 Error removeLoadCommands(function_ref<bool(const LoadCommand &)> ToRemove);
352 LoadCommand &addSegment(StringRef SegName, uint64_t SegVMSize);
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()
290 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
H A DMachOReader.cpp120 LoadCommand LC; in readLoadCommands()
226 for (LoadCommand &LC : O.LoadCommands) in setSymbolInRelocationInfo()
311 for (const LoadCommand &LC : O.LoadCommands) in readSwiftVersion()
H A DMachOWriter.cpp131 for (const LoadCommand &LC : O.LoadCommands) in totalSize()
177 for (const LoadCommand &LC : O.LoadCommands) { in writeLoadCommands()
259 for (const LoadCommand &LC : O.LoadCommands) in writeSections()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMachOYAML.h72 struct LoadCommand { struct
73 virtual ~LoadCommand();
131 std::vector<LoadCommand> LoadCommands;
160 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::LoadCommand)
197 template <> struct MappingTraits<MachOYAML::LoadCommand> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
198 static void mapping(IO &IO, MachOYAML::LoadCommand &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
303 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \ in LLVM_YAML_IS_SEQUENCE_VECTOR()
310 static void mapping(IO &IO, MachO::dylib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
314 static void mapping(IO &IO, MachO::fvmlib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
318 static void mapping(IO &IO, MachO::section &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DWriter.h21 class LoadCommand {
23 virtual ~LoadCommand() = default;
H A DWriter.cpp83 class LCDyldInfo final : public LoadCommand {
128 class LCSubFramework final : public LoadCommand {
172 class LCDataInCode final : public LoadCommand {
191 class LCDysymtab final : public LoadCommand {
272 class LCMain final : public LoadCommand {
292 class LCSymtab final : public LoadCommand {
317 class LCDylib final : public LoadCommand {
357 class LCLoadDylinker final : public LoadCommand {
381 class LCRPath final : public LoadCommand {
405 class LCMinVersion final : public LoadCommand {
[all …]
H A DSyntheticSections.h38 class LoadCommand; variable
93 void addLoadCommand(LoadCommand *);
96 std::vector<LoadCommand *> loadCommands;
H A DSyntheticSections.cpp67 void MachHeaderSection::addLoadCommand(LoadCommand *lc) { in addLoadCommand()
134 for (const LoadCommand *lc : loadCommands) { in writeTo()
/freebsd-13.1/usr.sbin/ppp/
H A Dcommand.c334 LoadCommand(struct cmdargs const *arg) in LoadCommand() function
408 if (arg->argc > arg->argn && (res = LoadCommand(arg)) != 0) in DialCommand()
878 {"load", NULL, LoadCommand, LOCAL_AUTH | LOCAL_CX_OPT,