|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/BinaryFormat/MachO.def 94 LOAD_COMMAND_STRUCT(load_command)
References
include/llvm/BinaryFormat/MachO.def 15 HANDLE_LOAD_COMMAND(LC_SEGMENT, 0x00000001u, segment_command)
16 HANDLE_LOAD_COMMAND(LC_SYMTAB, 0x00000002u, symtab_command)
18 HANDLE_LOAD_COMMAND(LC_SYMSEG, 0x00000003u, symseg_command)
19 HANDLE_LOAD_COMMAND(LC_THREAD, 0x00000004u, thread_command)
20 HANDLE_LOAD_COMMAND(LC_UNIXTHREAD, 0x00000005u, thread_command)
22 HANDLE_LOAD_COMMAND(LC_LOADFVMLIB, 0x00000006u, fvmlib_command)
24 HANDLE_LOAD_COMMAND(LC_IDFVMLIB, 0x00000007u, fvmlib_command)
26 HANDLE_LOAD_COMMAND(LC_IDENT, 0x00000008u, ident_command)
28 HANDLE_LOAD_COMMAND(LC_FVMFILE, 0x00000009u, fvmfile_command)
30 HANDLE_LOAD_COMMAND(LC_PREPAGE, 0x0000000Au, load_command)
31 HANDLE_LOAD_COMMAND(LC_DYSYMTAB, 0x0000000Bu, dysymtab_command)
32 HANDLE_LOAD_COMMAND(LC_LOAD_DYLIB, 0x0000000Cu, dylib_command)
33 HANDLE_LOAD_COMMAND(LC_ID_DYLIB, 0x0000000Du, dylib_command)
34 HANDLE_LOAD_COMMAND(LC_LOAD_DYLINKER, 0x0000000Eu, dylinker_command)
35 HANDLE_LOAD_COMMAND(LC_ID_DYLINKER, 0x0000000Fu, dylinker_command)
37 HANDLE_LOAD_COMMAND(LC_PREBOUND_DYLIB, 0x00000010u, prebound_dylib_command)
38 HANDLE_LOAD_COMMAND(LC_ROUTINES, 0x00000011u, routines_command)
39 HANDLE_LOAD_COMMAND(LC_SUB_FRAMEWORK, 0x00000012u, sub_framework_command)
40 HANDLE_LOAD_COMMAND(LC_SUB_UMBRELLA, 0x00000013u, sub_umbrella_command)
41 HANDLE_LOAD_COMMAND(LC_SUB_CLIENT, 0x00000014u, sub_client_command)
42 HANDLE_LOAD_COMMAND(LC_SUB_LIBRARY, 0x00000015u, sub_library_command)
44 HANDLE_LOAD_COMMAND(LC_TWOLEVEL_HINTS, 0x00000016u, twolevel_hints_command)
46 HANDLE_LOAD_COMMAND(LC_PREBIND_CKSUM, 0x00000017u, prebind_cksum_command)
48 HANDLE_LOAD_COMMAND(LC_LOAD_WEAK_DYLIB, 0x80000018u, dylib_command)
49 HANDLE_LOAD_COMMAND(LC_SEGMENT_64, 0x00000019u, segment_command_64)
50 HANDLE_LOAD_COMMAND(LC_ROUTINES_64, 0x0000001Au, routines_command_64)
51 HANDLE_LOAD_COMMAND(LC_UUID, 0x0000001Bu, uuid_command)
52 HANDLE_LOAD_COMMAND(LC_RPATH, 0x8000001Cu, rpath_command)
53 HANDLE_LOAD_COMMAND(LC_CODE_SIGNATURE, 0x0000001Du, linkedit_data_command)
54 HANDLE_LOAD_COMMAND(LC_SEGMENT_SPLIT_INFO, 0x0000001Eu, linkedit_data_command)
55 HANDLE_LOAD_COMMAND(LC_REEXPORT_DYLIB, 0x8000001Fu, dylib_command)
56 HANDLE_LOAD_COMMAND(LC_LAZY_LOAD_DYLIB, 0x00000020u, dylib_command)
57 HANDLE_LOAD_COMMAND(LC_ENCRYPTION_INFO, 0x00000021u, encryption_info_command)
58 HANDLE_LOAD_COMMAND(LC_DYLD_INFO, 0x00000022u, dyld_info_command)
59 HANDLE_LOAD_COMMAND(LC_DYLD_INFO_ONLY, 0x80000022u, dyld_info_command)
60 HANDLE_LOAD_COMMAND(LC_LOAD_UPWARD_DYLIB, 0x80000023u, dylib_command)
61 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_MACOSX, 0x00000024u, version_min_command)
62 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_IPHONEOS, 0x00000025u, version_min_command)
63 HANDLE_LOAD_COMMAND(LC_FUNCTION_STARTS, 0x00000026u, linkedit_data_command)
64 HANDLE_LOAD_COMMAND(LC_DYLD_ENVIRONMENT, 0x00000027u, dylinker_command)
65 HANDLE_LOAD_COMMAND(LC_MAIN, 0x80000028u, entry_point_command)
66 HANDLE_LOAD_COMMAND(LC_DATA_IN_CODE, 0x00000029u, linkedit_data_command)
67 HANDLE_LOAD_COMMAND(LC_SOURCE_VERSION, 0x0000002Au, source_version_command)
68 HANDLE_LOAD_COMMAND(LC_DYLIB_CODE_SIGN_DRS, 0x0000002Bu, linkedit_data_command)
69 HANDLE_LOAD_COMMAND(LC_ENCRYPTION_INFO_64, 0x0000002Cu,
71 HANDLE_LOAD_COMMAND(LC_LINKER_OPTION, 0x0000002Du, linker_option_command)
72 HANDLE_LOAD_COMMAND(LC_LINKER_OPTIMIZATION_HINT, 0x0000002Eu, linkedit_data_command)
73 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_TVOS, 0x0000002Fu, version_min_command)
74 HANDLE_LOAD_COMMAND(LC_VERSION_MIN_WATCHOS, 0x00000030u, version_min_command)
75 HANDLE_LOAD_COMMAND(LC_NOTE, 0x00000031u, note_command)
76 HANDLE_LOAD_COMMAND(LC_BUILD_VERSION, 0x00000032u, build_version_command)
lib/ObjectYAML/MachOEmitter.cpp 224 switch (LC.Data.load_command_data.cmd) {
227 MachO::swapStruct(Data.load_command_data);
228 OS.write(reinterpret_cast<const char *>(&(Data.load_command_data)),
250 auto BytesRemaining = LC.Data.load_command_data.cmdsize - BytesWritten;
260 switch (LC.Data.load_command_data.cmd) {
395 switch (LC.Data.load_command_data.cmd) {
lib/ObjectYAML/MachOYAML.cpp 243 LoadCommand.Data.load_command_data.cmd);
245 LoadCommand.Data.load_command_data.cmd = TempCmd;
246 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize);
255 switch (LoadCommand.Data.load_command_data.cmd) {
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp 22 auto cmd = MLC.load_command_data.cmd;
61 assert(MLC.load_command_data.cmd == MachO::LC_DYSYMTAB);
113 switch (MLC.load_command_data.cmd) {
179 switch (MLC.load_command_data.cmd) {
245 switch (LinkEditLoadCommand->load_command_data.cmd) {
263 auto cmd = MLC.load_command_data.cmd;
tools/llvm-objcopy/MachO/MachOReader.cpp 161 memcpy((void *)&(LC.MachOLoadCommand.load_command_data), LoadCmd.Ptr,
164 MachO::swapStruct(LC.MachOLoadCommand.load_command_data);
tools/llvm-objcopy/MachO/MachOWriter.cpp 153 switch (MLC.load_command_data.cmd) {
188 switch (MLC.load_command_data.cmd) {
191 MLC.load_command_data.cmdsize);
193 MachO::swapStruct(MLC.load_command_data);
194 memcpy(Begin, &MLC.load_command_data, sizeof(MachO::load_command));
tools/obj2yaml/macho2yaml.cpp 222 memcpy((void *)&(LC.Data.load_command_data), LoadCmd.Ptr,
225 MachO::swapStruct(LC.Data.load_command_data);
unittests/BinaryFormat/MachOTest.cpp 42 swapStruct(LC->load_command_data);
43 ASSERT_EQ(LC->load_command_data.cmd, LC_SEGMENT);
44 Current += LC->load_command_data.cmdsize;