/external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjectYAML/ |
D | MachOYAML.cpp | 26 MachOYAML::LoadCommand::~LoadCommand() = default; 219 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument 223 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 224 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 229 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 230 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 235 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 236 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData() 241 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 242 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData() [all …]
|
D | MachOEmitter.cpp | 125 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData() 131 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 148 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() 162 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString() 172 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 179 size_t writeLoadCommandData<MachO::dylinker_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 186 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 194 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() 200 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() 206 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() [all …]
|
/external/llvm/lib/ObjectYAML/ |
D | MachOYAML.cpp | 23 MachOYAML::LoadCommand::~LoadCommand() {} in ~LoadCommand() 184 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument 188 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 189 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 194 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 195 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 200 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 201 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData() 206 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 207 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | MachOYAML.cpp | 26 MachOYAML::LoadCommand::~LoadCommand() = default; 202 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument 206 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 207 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 212 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 213 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData() 218 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 219 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData() 224 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument 225 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData() [all …]
|
D | MachOEmitter.cpp | 108 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS, in writeLoadCommandData() 114 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 131 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData() 145 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString() 155 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 162 size_t writeLoadCommandData<MachO::dylinker_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 169 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 177 MachOYAML::LoadCommand &LC, raw_ostream &OS, bool IsLittleEndian) { in writeLoadCommandData()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
D | MachOYAML.h | 57 struct LoadCommand { struct 58 virtual ~LoadCommand(); 116 std::vector<LoadCommand> LoadCommands; 145 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::LoadCommand) 181 template <> struct MappingTraits<MachOYAML::LoadCommand> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 182 static void mapping(IO &IO, MachOYAML::LoadCommand &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 283 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \ in LLVM_YAML_IS_SEQUENCE_VECTOR() 290 static void mapping(IO &IO, MachO::dylib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 294 static void mapping(IO &IO, MachO::fvmlib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 298 static void mapping(IO &IO, MachO::section &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|
/external/llvm/include/llvm/ObjectYAML/ |
D | MachOYAML.h | 51 struct LoadCommand { struct 52 virtual ~LoadCommand(); 107 std::vector<LoadCommand> LoadCommands; 135 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::LoadCommand) 171 template <> struct MappingTraits<MachOYAML::LoadCommand> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 172 static void mapping(IO &IO, MachOYAML::LoadCommand &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 270 static void mapping(IO &IO, MachO::LCStruct &LoadCommand); \ in LLVM_YAML_IS_SEQUENCE_VECTOR() 277 static void mapping(IO &IO, MachO::dylib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 281 static void mapping(IO &IO, MachO::fvmlib &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() 285 static void mapping(IO &IO, MachO::section &LoadCommand); in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/MachO/ |
D | MachOObject.cpp | 44 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes() 92 function_ref<bool(const LoadCommand &)> ToRemove) { in removeLoadCommands() 95 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() 106 for (LoadCommand &LC : LoadCommands) { in removeSections() 127 for (const LoadCommand &LC : LoadCommands) in removeSections() 149 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress() 184 LoadCommand &Object::addSegment(StringRef SegName, uint64_t SegVMSize) { in addSegment() 185 LoadCommand LC; in addSegment() 204 std::optional<StringRef> LoadCommand::getSegmentName() const { in getSegmentName() 216 std::optional<uint64_t> LoadCommand::getSegmentVMAddr() const { in getSegmentVMAddr()
|
D | MachOObjcopy.cpp | 33 using LoadCommandPred = std::function<bool(const LoadCommand &LC)>; 36 static bool isLoadCommandWithPayloadString(const LoadCommand &LC) { in isLoadCommandWithPayloadString() 46 static StringRef getPayloadString(const LoadCommand &LC) { in getPayloadString() 126 static void updateLoadCommandPayloadString(LoadCommand &LC, StringRef S) { in updateLoadCommandPayloadString() 137 static LoadCommand buildRPathLoadCommand(StringRef Path) { in buildRPathLoadCommand() 138 LoadCommand LC; in buildRPathLoadCommand() 155 &MachOConfig](const LoadCommand &LC) { in processLoadCommands() 186 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands() 205 for (LoadCommand &LC : Obj.LoadCommands) { in processLoadCommands() 263 auto RemovePred = [&MachOConfig](const LoadCommand &LC) { in processLoadCommands() [all …]
|
D | MachOObject.h | 78 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);
|
D | MachOWriter.cpp | 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() 408 getSegmentFileOffset(const LoadCommand &TextSegmentLoadCommand) { in getSegmentFileOffset() 421 static uint64_t getSegmentFileSize(const LoadCommand &TextSegmentLoadCommand) { in getSegmentFileSize() 461 const LoadCommand &TextSegmentLoadCommand = in writeCodeSignatureData()
|
D | MachOLayoutBuilder.cpp | 27 for (const LoadCommand &LC : O.LoadCommands) { in computeSizeOfCmds() 118 for (LoadCommand &LC : O.LoadCommands) { in layoutSegments() 215 for (LoadCommand &LC : O.LoadCommands) in layoutRelocations() 336 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
|
D | MachOReader.cpp | 121 LoadCommand LC; in readLoadCommands() 252 for (LoadCommand &LC : O.LoadCommands) in setSymbolInRelocationInfo() 349 for (const LoadCommand &LC : O.LoadCommands) in readSwiftVersion()
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ObjectYAML/ |
D | MachOYAML.h | 73 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 …]
|
/external/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 25 MachOYAML::LoadCommand &LC, 108 MachOYAML::LoadCommand &LC, in processLoadCommandData() 115 MachOYAML::LoadCommand &LC, in processLoadCommandData() 123 MachOYAML::LoadCommand &LC, in processLoadCommandData() 131 readString(MachOYAML::LoadCommand &LC, in readString() 142 MachOYAML::LoadCommand &LC, in processLoadCommandData() 149 MachOYAML::LoadCommand &LC, in processLoadCommandData() 156 MachOYAML::LoadCommand &LC, in processLoadCommandData() 182 MachOYAML::LoadCommand LC; in dumpLoadCommands()
|
/external/google-breakpad/src/common/mac/ |
D | macho_reader_unittest.cc | 966 class LoadCommand: public ReaderFixture, public Test { }; class 968 TEST_F(LoadCommand, RegionTruncated) { in TEST_F() argument 990 TEST_F(LoadCommand, None) { in TEST_F() argument 1011 TEST_F(LoadCommand, Unknown) { in TEST_F() argument 1044 TEST_F(LoadCommand, TypeIncomplete) { in TEST_F() argument 1061 TEST_F(LoadCommand, LengthIncomplete) { in TEST_F() argument 1078 TEST_F(LoadCommand, ContentIncomplete) { in TEST_F() argument 1096 TEST_F(LoadCommand, SegmentBE32) { in TEST_F() argument 1132 TEST_F(LoadCommand, SegmentLE32) { in TEST_F() argument 1169 TEST_F(LoadCommand, SegmentBE64) { in TEST_F() argument [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2macho.cpp | 111 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writeLoadCommandData() 116 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 130 writeLoadCommandData<MachO::segment_command_64>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 143 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) { in writePayloadString() 153 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 159 size_t writeLoadCommandData<MachO::dylinker_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData() 165 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC, in writeLoadCommandData()
|