/external/llvm-project/llvm/unittests/BinaryFormat/ |
D | MachOTest.cpp | 43 swapStruct(LC->load_command_data); in TEST() 44 ASSERT_EQ(LC->load_command_data.cmd, LC_SEGMENT); in TEST() 45 Current += LC->load_command_data.cmdsize; in TEST()
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOObjcopy.cpp | 33 return LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_RPATH || in isLoadCommandWithPayloadString() 34 LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_ID_DYLIB || in isLoadCommandWithPayloadString() 35 LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_LOAD_DYLIB || in isLoadCommandWithPayloadString() 36 LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_LOAD_WEAK_DYLIB; in isLoadCommandWithPayloadString() 118 LC.MachOLoadCommand.load_command_data.cmdsize = NewCmdsize; in updateLoadCommandPayloadString() 142 if (LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_RPATH) { in processLoadCommands() 173 if (LC.MachOLoadCommand.load_command_data.cmd == MachO::LC_RPATH) in processLoadCommands() 192 switch (LC.MachOLoadCommand.load_command_data.cmd) { in processLoadCommands()
|
D | Object.cpp | 38 switch (LC.MachOLoadCommand.load_command_data.cmd) { in updateLoadCommandIndexes() 119 switch (MLC.load_command_data.cmd) { in nextAvailableSegmentAddress() 174 switch (MLC.load_command_data.cmd) { in getSegmentName() 186 switch (MLC.load_command_data.cmd) { in getSegmentVMAddr()
|
D | MachOLayoutBuilder.cpp | 30 auto cmd = MLC.load_command_data.cmd; in computeSizeOfCmds() 69 assert(MLC.load_command_data.cmd == MachO::LC_DYSYMTAB); in updateDySymTab() 124 switch (MLC.load_command_data.cmd) { in layoutSegments() 190 switch (MLC.load_command_data.cmd) { in layoutSegments() 272 switch (LinkEditLoadCommand->load_command_data.cmd) { in layoutTail() 290 auto cmd = MLC.load_command_data.cmd; in layoutTail()
|
D | MachOWriter.cpp | 170 switch (MLC.load_command_data.cmd) { in writeLoadCommands() 195 MLC.load_command_data.cmdsize); \ in writeLoadCommands() 206 switch (MLC.load_command_data.cmd) { in writeLoadCommands() 209 MLC.load_command_data.cmdsize); in writeLoadCommands() 211 MachO::swapStruct(MLC.load_command_data); in writeLoadCommands() 212 memcpy(Begin, &MLC.load_command_data, sizeof(MachO::load_command)); in writeLoadCommands()
|
D | MachOReader.cpp | 173 memcpy((void *)&(LC.MachOLoadCommand.load_command_data), LoadCmd.Ptr, in readLoadCommands() 176 MachO::swapStruct(LC.MachOLoadCommand.load_command_data); in readLoadCommands()
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
D | MachOEmitter.cpp | 235 switch (LC.Data.load_command_data.cmd) { in writeLoadCommands() 238 MachO::swapStruct(Data.load_command_data); in writeLoadCommands() 239 OS.write(reinterpret_cast<const char *>(&(Data.load_command_data)), in writeLoadCommands() 261 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands() 270 switch (LC.Data.load_command_data.cmd) { in writeSectionData() 361 switch (LC.Data.load_command_data.cmd) { in writeRelocations() 453 switch (LC.Data.load_command_data.cmd) { in writeLinkEditData()
|
D | MachOYAML.cpp | 245 LoadCommand.Data.load_command_data.cmd); in mapping() 247 LoadCommand.Data.load_command_data.cmd = TempCmd; in mapping() 248 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping() 257 switch (LoadCommand.Data.load_command_data.cmd) { in mapping()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | MachOEmitter.cpp | 224 switch (LC.Data.load_command_data.cmd) { in writeLoadCommands() 227 MachO::swapStruct(Data.load_command_data); in writeLoadCommands() 228 OS.write(reinterpret_cast<const char *>(&(Data.load_command_data)), in writeLoadCommands() 250 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands() 260 switch (LC.Data.load_command_data.cmd) { in writeSectionData() 395 switch (LC.Data.load_command_data.cmd) { in writeLinkEditData()
|
D | MachOYAML.cpp | 243 LoadCommand.Data.load_command_data.cmd); in mapping() 245 LoadCommand.Data.load_command_data.cmd = TempCmd; in mapping() 246 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping() 255 switch (LoadCommand.Data.load_command_data.cmd) { in mapping()
|
/external/llvm/tools/yaml2obj/ |
D | yaml2macho.cpp | 199 switch (LC.Data.load_command_data.cmd) { in writeLoadCommands() 201 OS.write(reinterpret_cast<const char *>(&(LC.Data.load_command_data)), in writeLoadCommands() 222 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten; in writeLoadCommands() 232 switch (LC.Data.load_command_data.cmd) { in writeSectionData() 343 switch (LC.Data.load_command_data.cmd) { in writeLinkEditData()
|
/external/llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
D | DynamicLoaderMacOSXDYLD.cpp | 763 DataExtractor *load_command_data) { in ReadMachHeader() argument 801 if (load_command_data == nullptr) in ReadMachHeader() 814 load_command_data->SetData(load_cmd_data_sp, 0, header->sizeofcmds); in ReadMachHeader() 815 load_command_data->SetByteOrder(data.GetByteOrder()); in ReadMachHeader() 816 load_command_data->SetAddressByteSize(data.GetAddressByteSize()); in ReadMachHeader()
|
D | DynamicLoaderMacOSXDYLD.h | 92 lldb_private::DataExtractor *load_command_data);
|
/external/llvm/lib/ObjectYAML/ |
D | MachOYAML.cpp | 219 LoadCommand.Data.load_command_data.cmd); in mapping() 221 LoadCommand.Data.load_command_data.cmd = TempCmd; in mapping() 222 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping() 231 switch (LoadCommand.Data.load_command_data.cmd) { in mapping()
|
/external/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 186 memcpy((void *)&(LC.Data.load_command_data), LoadCmd.Ptr, in dumpLoadCommands() 189 MachO::swapStruct(LC.Data.load_command_data); in dumpLoadCommands()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | macho2yaml.cpp | 307 memcpy((void *)&(LC.Data.load_command_data), LoadCmd.Ptr, in dumpLoadCommands() 310 MachO::swapStruct(LC.Data.load_command_data); in dumpLoadCommands()
|