Lines Matching defs:Archs
25 MachODebugMapParser(StringRef BinaryPath, ArrayRef<std::string> Archs,
27 : BinaryPath(BinaryPath), Archs(Archs.begin(), Archs.end()),
43 SmallVector<StringRef, 1> Archs;
287 static bool shouldLinkArch(SmallVectorImpl<StringRef> &Archs, StringRef Arch) {
288 if (Archs.empty() ||
289 std::find(Archs.begin(), Archs.end(), "all") != Archs.end() ||
290 std::find(Archs.begin(), Archs.end(), "*") != Archs.end())
294 std::find(Archs.begin(), Archs.end(), "arm") != Archs.end())
301 return std::find(Archs.begin(), Archs.end(), ArchName) != Archs.end();
314 if (shouldLinkArch(Archs, Binary->getArchTriple().getArchName()))
331 if (shouldLinkArch(Archs, Binary->getArchTriple().getArchName()))
485 parseDebugMap(StringRef InputFile, ArrayRef<std::string> Archs,
488 MachODebugMapParser Parser(InputFile, Archs, PrependPath, Verbose);
495 bool dumpStab(StringRef InputFile, ArrayRef<std::string> Archs,
497 MachODebugMapParser Parser(InputFile, Archs, PrependPath, false);