Home
last modified time | relevance | path

Searched refs:ArchFlags (Results 1 – 7 of 7) sorted by relevance

/external/llvm/tools/llvm-size/
Dllvm-size.cpp67 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()
[all …]
/external/llvm-project/llvm/tools/llvm-size/
Dllvm-size.cpp73 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
532 if (!MachO || ArchAll || ArchFlags.empty()) in checkMachOAndArchFlags()
545 if (none_of(ArchFlags, [&](const std::string &Name) { in checkMachOAndArchFlags()
598 if (!ArchAll && !ArchFlags.empty()) { in printFileSectionSizes()
601 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in printFileSectionSizes()
606 if (ArchFlags[i] == I->getArchFlagName()) { in printFileSectionSizes()
615 if (MoreThanOneFile || ArchFlags.size() > 1) in printFileSectionSizes()
621 if (!MachO || MoreThanOneFile || ArchFlags.size() > 1) in printFileSectionSizes()
629 error(std::move(E), file, ArchFlags.size() > 1 ? in printFileSectionSizes()
644 ArchFlags.size() > 1 ? in printFileSectionSizes()
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp96 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
1055 if (!MachO || ArchAll || ArchFlags.size() == 0) in checkMachOAndArchFlags()
1069 ArchFlags.begin(), ArchFlags.end(), in checkMachOAndArchFlags()
1142 if (!ArchAll && ArchFlags.size() != 0) { in dumpSymbolNamesFromFile()
1145 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in dumpSymbolNamesFromFile()
1150 if (ArchFlags[i] == I->getArchTypeName()) { in dumpSymbolNamesFromFile()
1160 if (ArchFlags.size() > 1) { in dumpSymbolNamesFromFile()
1172 error(std::move(E), Filename, ArchFlags.size() > 1 ? in dumpSymbolNamesFromFile()
1185 error(std::move(E), Filename, C, ArchFlags.size() > 1 ? in dumpSymbolNamesFromFile()
1194 if (ArchFlags.size() > 1) in dumpSymbolNamesFromFile()
[all …]
/external/llvm/tools/dsymutil/
Ddsymutil.cpp72 static list<std::string> ArchFlags( variable
284 for (const auto &Arch : ArchFlags) in main()
294 if (!dumpStab(InputFile, ArchFlags, OsoPrependPath)) in main()
299 auto DebugMapPtrsOrErr = parseDebugMap(InputFile, ArchFlags, OsoPrependPath, in main()
/external/llvm-project/llvm/tools/llvm-nm/
Dllvm-nm.cpp106 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
1797 if (!MachO || ArchAll || ArchFlags.empty()) in checkMachOAndArchFlags()
1814 if (none_of(ArchFlags, [&](const std::string &Name) { in checkMachOAndArchFlags()
1899 if (!ArchAll && !ArchFlags.empty()) { in dumpSymbolNamesFromFile()
1902 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in dumpSymbolNamesFromFile()
1907 if (ArchFlags[i] == I->getArchFlagName()) { in dumpSymbolNamesFromFile()
1917 if (ArchFlags.size() > 1) { in dumpSymbolNamesFromFile()
1929 error(std::move(E), Filename, ArchFlags.size() > 1 ? in dumpSymbolNamesFromFile()
1942 error(std::move(E), Filename, C, ArchFlags.size() > 1 ? in dumpSymbolNamesFromFile()
1951 if (ArchFlags.size() > 1) in dumpSymbolNamesFromFile()
[all …]
/external/llvm/tools/llvm-objdump/
DMachODump.cpp141 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
1194 if (isa<MachOObjectFile>(O) && !ArchAll && ArchFlags.size() != 0) { in checkMachOAndArchFlags()
1208 for (i = 0; i < ArchFlags.size(); ++i) { in checkMachOAndArchFlags()
1209 if (ArchFlags[i] == T.getArchName()) in checkMachOAndArchFlags()
1215 << "architecture: " + ArchFlags[i] + "\n"; in checkMachOAndArchFlags()
1551 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in ParseInputMachO()
1552 if (ArchFlags[i] == "all") { in ParseInputMachO()
1555 if (!MachOObjectFile::isValidArch(ArchFlags[i])) { in ParseInputMachO()
1556 errs() << "llvm-objdump: Unknown architecture named '" + ArchFlags[i] + in ParseInputMachO()
1597 if (!ArchAll && ArchFlags.size() != 0) { in ParseInputMachO()
[all …]
/external/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp177 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
1875 if (!MachO || ArchAll || ArchFlags.empty()) in checkMachOAndArchFlags()
1892 if (none_of(ArchFlags, [&](const std::string &Name) { in checkMachOAndArchFlags()
2301 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in ValidateArchFlags()
2302 if (ArchFlags[i] == "all") { in ValidateArchFlags()
2305 if (!MachOObjectFile::isValidArch(ArchFlags[i])) { in ValidateArchFlags()
2307 << "unknown architecture named '" + ArchFlags[i] + in ValidateArchFlags()
2388 if (!ArchAll && !ArchFlags.empty()) { in parseInputMachO()
2391 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in parseInputMachO()
2396 if (ArchFlags[i] == I->getArchFlagName()) { in parseInputMachO()
[all …]