Lines Matching refs:ArchFlags
67 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
488 if (isa<MachOObjectFile>(o) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags()
502 for (i = 0; i < ArchFlags.size(); ++i) { in checkMachOAndArchFlags()
503 if (ArchFlags[i] == T.getArchName()) in checkMachOAndArchFlags()
509 << " does not contain architecture: " << ArchFlags[i] << ".\n"; in checkMachOAndArchFlags()
560 if (!ArchAll && ArchFlags.size() != 0) { in printFileSectionSizes()
563 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in printFileSectionSizes()
568 if (ArchFlags[i] == I->getArchTypeName()) { in printFileSectionSizes()
577 if (MoreThanOneFile || ArchFlags.size() > 1) in printFileSectionSizes()
583 if (!MachO || MoreThanOneFile || ArchFlags.size() > 1) in printFileSectionSizes()
591 error(std::move(E), file, ArchFlags.size() > 1 ? in printFileSectionSizes()
606 ArchFlags.size() > 1 ? in printFileSectionSizes()
625 if (ArchFlags.size() > 1) in printFileSectionSizes()
647 << " does not contain architecture" << ArchFlags[i] << ".\n"; in printFileSectionSizes()
837 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in main()
838 if (ArchFlags[i] == "all") { in main()
841 if (!MachOObjectFile::isValidArch(ArchFlags[i])) { in main()
843 << "named '" << ArchFlags[i] << "'"; in main()