Home
last modified time | relevance | path

Searched refs:ArchFlags (Results 1 – 8 of 8) 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-size/
Dllvm-size.cpp69 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
507 if (!MachO || ArchAll || ArchFlags.empty()) in checkMachOAndArchFlags()
520 if (none_of(ArchFlags, [&](const std::string &Name) { in checkMachOAndArchFlags()
573 if (!ArchAll && ArchFlags.size() != 0) { in printFileSectionSizes()
576 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in printFileSectionSizes()
581 if (ArchFlags[i] == I->getArchFlagName()) { in printFileSectionSizes()
590 if (MoreThanOneFile || ArchFlags.size() > 1) in printFileSectionSizes()
596 if (!MachO || MoreThanOneFile || ArchFlags.size() > 1) in printFileSectionSizes()
604 error(std::move(E), file, ArchFlags.size() > 1 ? in printFileSectionSizes()
619 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/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
Ddsymutil.cpp133 static list<std::string> ArchFlags( variable
455 for (const auto &Arch : ArchFlags) in main()
465 if (!dumpStab(InputFile, ArchFlags, OsoPrependPath)) in main()
471 parseDebugMap(InputFile, ArchFlags, OsoPrependPath, PaperTrailWarnings, in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/
Dllvm-nm.cpp97 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
1698 if (!MachO || ArchAll || ArchFlags.empty()) in checkMachOAndArchFlags()
1715 if (none_of(ArchFlags, [&](const std::string &Name) { in checkMachOAndArchFlags()
1796 if (!ArchAll && ArchFlags.size() != 0) { in dumpSymbolNamesFromFile()
1799 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in dumpSymbolNamesFromFile()
1804 if (ArchFlags[i] == I->getArchFlagName()) { in dumpSymbolNamesFromFile()
1814 if (ArchFlags.size() > 1) { in dumpSymbolNamesFromFile()
1826 error(std::move(E), Filename, ArchFlags.size() > 1 ? in dumpSymbolNamesFromFile()
1839 error(std::move(E), Filename, C, ArchFlags.size() > 1 ? in dumpSymbolNamesFromFile()
1848 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DMachODump.cpp133 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), variable
1542 if (!MachO || ArchAll || ArchFlags.empty()) in checkMachOAndArchFlags()
1559 if (none_of(ArchFlags, [&](const std::string &Name) { in checkMachOAndArchFlags()
1946 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in ParseInputMachO()
1947 if (ArchFlags[i] == "all") { in ParseInputMachO()
1950 if (!MachOObjectFile::isValidArch(ArchFlags[i])) { in ParseInputMachO()
1951 errs() << "llvm-objdump: Unknown architecture named '" + ArchFlags[i] + in ParseInputMachO()
1998 if (!ArchAll && ArchFlags.size() != 0) { in ParseInputMachO()
2001 for (unsigned i = 0; i < ArchFlags.size(); ++i) { in ParseInputMachO()
2006 if (ArchFlags[i] == I->getArchFlagName()) { in ParseInputMachO()
[all …]