/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 26 MachOYAML::LoadCommand::~LoadCommand() = default; 204 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument 208 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 209 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 214 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 215 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 220 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 221 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData() 226 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 227 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData() [all …]
|
H A D | MachOEmitter.cpp | 119 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
H A D | Object.cpp | 35 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes() 58 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands() 61 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() 72 for (LoadCommand &LC : LoadCommands) { in removeSections() 93 for (const LoadCommand &LC : LoadCommands) in removeSections() 115 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress() 150 LoadCommand &Object::addSegment(StringRef SegName, uint64_t SegVMSize) { in addSegment() 151 LoadCommand LC; in addSegment() 170 Optional<StringRef> LoadCommand::getSegmentName() const { in getSegmentName() 182 Optional<uint64_t> LoadCommand::getSegmentVMAddr() const { in getSegmentVMAddr()
|
H A D | MachOObjcopy.cpp | 30 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() 117 static void updateLoadCommandPayloadString(LoadCommand &LC, StringRef S) { in updateLoadCommandPayloadString() 128 static LoadCommand buildRPathLoadCommand(StringRef Path) { in buildRPathLoadCommand() 129 LoadCommand LC; in buildRPathLoadCommand() 146 &Config](const LoadCommand &LC) { in processLoadCommands() 177 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands() 196 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands() 257 for (LoadCommand &LC : Obj.LoadCommands) in dumpSectionToFile() [all …]
|
H A D | Object.h | 84 struct LoadCommand { struct 301 std::vector<LoadCommand> LoadCommands; 339 Error removeLoadCommands(function_ref<bool(const LoadCommand &)> ToRemove); 346 LoadCommand &addSegment(StringRef SegName, uint64_t SegVMSize);
|
H A D | MachOLayoutBuilder.cpp | 28 for (const LoadCommand &LC : O.LoadCommands) { in computeSizeOfCmds() 119 for (LoadCommand &LC : O.LoadCommands) { in layoutSegments() 216 for (LoadCommand &LC : O.LoadCommands) in layoutRelocations() 288 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
|
H A D | MachOReader.cpp | 120 LoadCommand LC; in readLoadCommands() 223 for (LoadCommand &LC : O.LoadCommands) in setSymbolInRelocationInfo() 303 for (const LoadCommand &LC : O.LoadCommands) in readSwiftVersion()
|
H A D | MachOWriter.cpp | 122 for (const LoadCommand &LC : O.LoadCommands) in totalSize() 168 for (const LoadCommand &LC : O.LoadCommands) { in writeLoadCommands() 250 for (const LoadCommand &LC : O.LoadCommands) in writeSections()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
H A D | MachOYAML.h | 72 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 …]
|
/netbsd-src/external/bsd/elftosb/dist/common/ |
H A D | EncoreBootImage.cpp | 548 command = new LoadCommand(); in createFromData() 779 EncoreBootImage::LoadCommand::LoadCommand() in LoadCommand() function in EncoreBootImage::LoadCommand 785 EncoreBootImage::LoadCommand::LoadCommand(uint32_t address, const uint8_t * data, uint32_t length) in LoadCommand() function in EncoreBootImage::LoadCommand 802 void EncoreBootImage::LoadCommand::initFromData(const cipher_block_t * blocks, unsigned count, unsi… in initFromData() 846 void EncoreBootImage::LoadCommand::fillCommandHeader(boot_command_t & header) in fillCommandHeader() 862 uint32_t EncoreBootImage::LoadCommand::calculateCRC() const in calculateCRC() 881 void EncoreBootImage::LoadCommand::setData(const uint8_t * data, uint32_t length) in setData() 897 unsigned EncoreBootImage::LoadCommand::getDataBlockCount() const in getDataBlockCount() 922 unsigned EncoreBootImage::LoadCommand::getDataBlocks(unsigned offset, unsigned maxCount, cipher_blo… in getDataBlocks() 971 void EncoreBootImage::LoadCommand::fillPadding() in fillPadding() [all …]
|
H A D | EncoreBootImage.h | 485 class LoadCommand : public BootCommand 489 LoadCommand(); 492 LoadCommand(uint32_t address, const uint8_t * data, uint32_t length);
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
H A D | macho2yaml.cpp | 26 MachOYAML::LoadCommand &LC, 196 MachOYAML::LoadCommand &LC, in processLoadCommandData() 205 MachOYAML::LoadCommand &LC, in processLoadCommandData() 215 MachOYAML::LoadCommand &LC, in processLoadCommandData() 224 readString(MachOYAML::LoadCommand &LC, in readString() 236 MachOYAML::LoadCommand &LC, in processLoadCommandData() 245 MachOYAML::LoadCommand &LC, in processLoadCommandData() 254 MachOYAML::LoadCommand &LC, in processLoadCommandData() 263 MachOYAML::LoadCommand &LC, in processLoadCommandData() 303 MachOYAML::LoadCommand LC; in dumpLoadCommands()
|
/netbsd-src/external/bsd/elftosb/dist/elftosb2/ |
H A D | EncoreBootImageGenerator.cpp | 217 EncoreBootImage::LoadCommand * command = new EncoreBootImage::LoadCommand(); in processLoadOperation()
|