reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1046 sys::swapByteOrder(lc.cmd);
lib/DebugInfo/DWARF/DWARFContext.cpp 81 if (LC.C.cmd == MachO::LC_UUID) {
lib/Object/MachOObjectFile.cpp1317 Load.C.cmd != MachO::LC_THREAD || Load.C.cmdsize % 4) { 1331 if (Load.C.cmd == MachO::LC_SYMTAB) { 1334 } else if (Load.C.cmd == MachO::LC_DYSYMTAB) { 1338 } else if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { 1343 } else if (Load.C.cmd == MachO::LC_LINKER_OPTIMIZATION_HINT) { 1349 } else if (Load.C.cmd == MachO::LC_FUNCTION_STARTS) { 1354 } else if (Load.C.cmd == MachO::LC_SEGMENT_SPLIT_INFO) { 1359 } else if (Load.C.cmd == MachO::LC_DYLIB_CODE_SIGN_DRS) { 1364 } else if (Load.C.cmd == MachO::LC_CODE_SIGNATURE) { 1369 } else if (Load.C.cmd == MachO::LC_DYLD_INFO) { 1373 } else if (Load.C.cmd == MachO::LC_DYLD_INFO_ONLY) { 1377 } else if (Load.C.cmd == MachO::LC_UUID) { 1388 } else if (Load.C.cmd == MachO::LC_SEGMENT_64) { 1394 } else if (Load.C.cmd == MachO::LC_SEGMENT) { 1400 } else if (Load.C.cmd == MachO::LC_ID_DYLIB) { 1403 } else if (Load.C.cmd == MachO::LC_LOAD_DYLIB) { 1407 } else if (Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB) { 1411 } else if (Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB) { 1415 } else if (Load.C.cmd == MachO::LC_REEXPORT_DYLIB) { 1419 } else if (Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) { 1423 } else if (Load.C.cmd == MachO::LC_ID_DYLINKER) { 1426 } else if (Load.C.cmd == MachO::LC_LOAD_DYLINKER) { 1429 } else if (Load.C.cmd == MachO::LC_DYLD_ENVIRONMENT) { 1432 } else if (Load.C.cmd == MachO::LC_VERSION_MIN_MACOSX) { 1436 } else if (Load.C.cmd == MachO::LC_VERSION_MIN_IPHONEOS) { 1440 } else if (Load.C.cmd == MachO::LC_VERSION_MIN_TVOS) { 1444 } else if (Load.C.cmd == MachO::LC_VERSION_MIN_WATCHOS) { 1448 } else if (Load.C.cmd == MachO::LC_NOTE) { 1451 } else if (Load.C.cmd == MachO::LC_BUILD_VERSION) { 1454 } else if (Load.C.cmd == MachO::LC_RPATH) { 1457 } else if (Load.C.cmd == MachO::LC_SOURCE_VERSION) { 1468 } else if (Load.C.cmd == MachO::LC_MAIN) { 1479 } else if (Load.C.cmd == MachO::LC_ENCRYPTION_INFO) { 1490 } else if (Load.C.cmd == MachO::LC_ENCRYPTION_INFO_64) { 1501 } else if (Load.C.cmd == MachO::LC_LINKER_OPTION) { 1504 } else if (Load.C.cmd == MachO::LC_SUB_FRAMEWORK) { 1517 } else if (Load.C.cmd == MachO::LC_SUB_UMBRELLA) { 1530 } else if (Load.C.cmd == MachO::LC_SUB_LIBRARY) { 1543 } else if (Load.C.cmd == MachO::LC_SUB_CLIENT) { 1555 } else if (Load.C.cmd == MachO::LC_ROUTINES) { 1567 } else if (Load.C.cmd == MachO::LC_ROUTINES_64) { 1579 } else if (Load.C.cmd == MachO::LC_UNIXTHREAD) { 1587 } else if (Load.C.cmd == MachO::LC_THREAD) { 1591 } else if (Load.C.cmd == MachO::LC_TWOLEVEL_HINTS) { 1595 } else if (isLoadCommandObsolete(Load.C.cmd)) { 1597 Twine(Load.C.cmd) + " is obsolete and not "lib/ObjectYAML/MachOEmitter.cpp
224 switch (LC.Data.load_command_data.cmd) { 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; 255 switch (LoadCommand.Data.load_command_data.cmd) {tools/dsymutil/MachOUtils.cpp
143 if (LCI.C.cmd == MachO::LC_SEGMENT) 145 else if (LCI.C.cmd == MachO::LC_SEGMENT_64) 379 switch (LCI.C.cmd) { 493 if (LCI.C.cmd == MachO::LC_SEGMENT) 498 else if (LCI.C.cmd == MachO::LC_SEGMENT_64)tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
73 if (func(slc->cmd, slc->cmdsize, p))
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp840 load_cmd.cmd = data.GetU32(&offset); 842 switch (load_cmd.cmd) {tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
1268 if (m_data.GetU32(&offset, &lc.cmd, 2) == nullptr) 1270 if (lc.cmd == LC_DYSYMTAB) { 1271 m_dysymtab.cmd = lc.cmd; 1806 m_dysymtab.cmd = load_cmd.cmd; 1831 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) 1831 if (load_cmd.cmd == LC_SEGMENT || load_cmd.cmd == LC_SEGMENT_64) 1833 else if (load_cmd.cmd == LC_DYSYMTAB) 2073 switch (lc.cmd) { 2075 symtab_load_command.cmd = lc.cmd; 2109 dyld_info.cmd = lc.cmd; 2130 if (lc.cmd == LC_REEXPORT_DYLIB) { 2139 function_starts_load_command.cmd = lc.cmd; 4904 switch (load_cmd.cmd) { 4917 os << GetOSName(load_cmd.cmd) << min_os.major_version << '.' 4942 if (load_cmd.cmd == llvm::MachO::LC_BUILD_VERSION) { 5035 switch (load_cmd.cmd) { 5046 if (load_cmd.cmd == LC_RPATH) 5171 switch (load_cmd.cmd) { 5347 if (m_data.GetU32(&offset, &lc.cmd, 2) == nullptr) 5349 if (lc.cmd == LC_NOTE) { 5415 if (m_data.GetU32(&offset, &lc.cmd, 2) == nullptr) 5417 if (lc.cmd == LC_NOTE) {tools/llvm-lipo/llvm-lipo.cpp
114 if (LC.C.cmd != (Is64Bit ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT))
tools/llvm-nm/llvm-nm.cpp1287 if (Command.C.cmd == MachO::LC_SEGMENT) { 1293 } else if (Command.C.cmd == MachO::LC_SEGMENT_64) { 1651 if (Command.C.cmd == MachO::LC_FUNCTION_STARTS) { 1658 } else if (Command.C.cmd == MachO::LC_MAIN) {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
120 switch (LoadCmd.C.cmd) { 159 switch (LoadCmd.C.cmd) {tools/llvm-objcopy/MachO/MachOWriter.cpp
153 switch (MLC.load_command_data.cmd) { 188 switch (MLC.load_command_data.cmd) {tools/llvm-objdump/MachODump.cpp
380 if (Command.C.cmd == MachO::LC_FUNCTION_STARTS) { 387 } else if (Command.C.cmd == MachO::LC_SEGMENT) { 394 } else if (Command.C.cmd == MachO::LC_SEGMENT_64) { 736 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 764 } else if (Load.C.cmd == MachO::LC_SEGMENT) { 1072 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 1092 } else if (Load.C.cmd == MachO::LC_SEGMENT) { 1218 if ((JustId && Load.C.cmd == MachO::LC_ID_DYLIB) || 1219 (!JustId && (Load.C.cmd == MachO::LC_ID_DYLIB || 1220 Load.C.cmd == MachO::LC_LOAD_DYLIB || 1221 Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB || 1222 Load.C.cmd == MachO::LC_REEXPORT_DYLIB || 1223 Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB || 1224 Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB))) { 1240 if (Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB) 1242 if (Load.C.cmd == MachO::LC_REEXPORT_DYLIB) 1244 if (Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) 1246 if (Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB) 1252 if (Load.C.cmd == MachO::LC_ID_DYLIB) 1254 else if (Load.C.cmd == MachO::LC_LOAD_DYLIB) 1256 else if (Load.C.cmd == MachO::LC_LOAD_WEAK_DYLIB) 1258 else if (Load.C.cmd == MachO::LC_LAZY_LOAD_DYLIB) 1260 else if (Load.C.cmd == MachO::LC_REEXPORT_DYLIB) 1262 else if (Load.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) 3017 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 3038 } else if (Load.C.cmd == MachO::LC_SEGMENT) { 3073 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 3104 } else if (Load.C.cmd == MachO::LC_SEGMENT) { 3224 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 10068 if (Command.C.cmd == MachO::LC_SEGMENT) { 10081 } else if (Command.C.cmd == MachO::LC_SEGMENT_64) { 10095 } else if (Command.C.cmd == MachO::LC_SYMTAB) { 10098 } else if (Command.C.cmd == MachO::LC_DYSYMTAB) { 10103 } else if (Command.C.cmd == MachO::LC_DYLD_INFO || 10104 Command.C.cmd == MachO::LC_DYLD_INFO_ONLY) { 10107 } else if (Command.C.cmd == MachO::LC_LOAD_DYLINKER || 10108 Command.C.cmd == MachO::LC_ID_DYLINKER || 10109 Command.C.cmd == MachO::LC_DYLD_ENVIRONMENT) { 10112 } else if (Command.C.cmd == MachO::LC_UUID) { 10115 } else if (Command.C.cmd == MachO::LC_RPATH) { 10118 } else if (Command.C.cmd == MachO::LC_VERSION_MIN_MACOSX || 10119 Command.C.cmd == MachO::LC_VERSION_MIN_IPHONEOS || 10120 Command.C.cmd == MachO::LC_VERSION_MIN_TVOS || 10121 Command.C.cmd == MachO::LC_VERSION_MIN_WATCHOS) { 10124 } else if (Command.C.cmd == MachO::LC_NOTE) { 10127 } else if (Command.C.cmd == MachO::LC_BUILD_VERSION) { 10131 } else if (Command.C.cmd == MachO::LC_SOURCE_VERSION) { 10134 } else if (Command.C.cmd == MachO::LC_MAIN) { 10137 } else if (Command.C.cmd == MachO::LC_ENCRYPTION_INFO) { 10141 } else if (Command.C.cmd == MachO::LC_ENCRYPTION_INFO_64) { 10145 } else if (Command.C.cmd == MachO::LC_LINKER_OPTION) { 10149 } else if (Command.C.cmd == MachO::LC_SUB_FRAMEWORK) { 10152 } else if (Command.C.cmd == MachO::LC_SUB_UMBRELLA) { 10155 } else if (Command.C.cmd == MachO::LC_SUB_LIBRARY) { 10158 } else if (Command.C.cmd == MachO::LC_SUB_CLIENT) { 10161 } else if (Command.C.cmd == MachO::LC_ROUTINES) { 10164 } else if (Command.C.cmd == MachO::LC_ROUTINES_64) { 10167 } else if (Command.C.cmd == MachO::LC_THREAD || 10168 Command.C.cmd == MachO::LC_UNIXTHREAD) { 10171 } else if (Command.C.cmd == MachO::LC_LOAD_DYLIB || 10172 Command.C.cmd == MachO::LC_ID_DYLIB || 10173 Command.C.cmd == MachO::LC_LOAD_WEAK_DYLIB || 10174 Command.C.cmd == MachO::LC_REEXPORT_DYLIB || 10175 Command.C.cmd == MachO::LC_LAZY_LOAD_DYLIB || 10176 Command.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) { 10179 } else if (Command.C.cmd == MachO::LC_CODE_SIGNATURE || 10180 Command.C.cmd == MachO::LC_SEGMENT_SPLIT_INFO || 10181 Command.C.cmd == MachO::LC_FUNCTION_STARTS || 10182 Command.C.cmd == MachO::LC_DATA_IN_CODE || 10183 Command.C.cmd == MachO::LC_DYLIB_CODE_SIGN_DRS || 10184 Command.C.cmd == MachO::LC_LINKER_OPTIMIZATION_HINT) { 10189 outs() << " cmd ?(" << format("0x%08" PRIx32, Command.C.cmd) 10242 if (Command.C.cmd == MachO::LC_SEGMENT) { 10248 } else if (Command.C.cmd == MachO::LC_SEGMENT_64) {tools/llvm-readobj/MachODumper.cpp
702 if (Command.C.cmd == MachO::LC_LOAD_DYLIB || 703 Command.C.cmd == MachO::LC_ID_DYLIB || 704 Command.C.cmd == MachO::LC_LOAD_WEAK_DYLIB || 705 Command.C.cmd == MachO::LC_REEXPORT_DYLIB || 706 Command.C.cmd == MachO::LC_LAZY_LOAD_DYLIB || 707 Command.C.cmd == MachO::LC_LOAD_UPWARD_DYLIB) { 725 if (Load.C.cmd == MachO::LC_DATA_IN_CODE) { 748 switch (Load.C.cmd) { 770 if (Load.C.cmd == MachO::LC_BUILD_VERSION) { 810 if (Load.C.cmd == MachO::LC_DYSYMTAB) { 837 if (Load.C.cmd == MachO::LC_SEGMENT || Load.C.cmd == MachO::LC_SEGMENT_64) { 837 if (Load.C.cmd == MachO::LC_SEGMENT || Load.C.cmd == MachO::LC_SEGMENT_64) { 858 if (Load.C.cmd == MachO::LC_DYSYMTAB) { 874 if (Load.C.cmd == MachO::LC_LINKER_OPTION) {tools/llvm-size/llvm-size.cpp
223 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 249 } else if (Load.C.cmd == MachO::LC_SEGMENT) { 292 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 318 } else if (Load.C.cmd == MachO::LC_SEGMENT) {tools/obj2yaml/macho2yaml.cpp
220 switch (LoadCmd.C.cmd) {
tools/sancov/sancov.cpp611 if (Load.C.cmd == MachO::LC_SEGMENT_64) { 637 if (Load.C.cmd == MachO::LC_SEGMENT) {unittests/BinaryFormat/MachOTest.cpp
43 ASSERT_EQ(LC->load_command_data.cmd, LC_SEGMENT);