Lines Matching refs:Lib
446 auto GetComponentLibraryNameSlice = [&](const StringRef &Lib, in main()
448 if (Lib.startswith("lib")) { in main()
450 if (Lib.endswith(StaticExt)) { in main()
452 } else if (Lib.endswith(SharedExt)) { in main()
459 Out = Lib.slice(3, Lib.size() - FromEnd); in main()
467 auto GetComponentLibraryFileName = [&](const StringRef &Lib, in main() argument
471 if (Lib == DyLibName) { in main()
475 assert(Lib.endswith(SharedExt) && "DyLib is missing suffix"); in main()
476 LibFileName = std::string(Lib); in main()
478 LibFileName = (SharedPrefix + Lib + "." + SharedExt).str(); in main()
482 LibFileName = (StaticPrefix + Lib + "." + StaticExt).str(); in main()
639 for (auto &Lib : MissingLibs) in main() local
640 WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n"; in main()
651 for (auto &Lib : MissingLibs) in main() local
652 WithColor::error(errs(), "llvm-config") << "missing: " << Lib << "\n"; in main()
669 for (auto &Lib : RequiredLibs) { in main() local
670 if (!FullDyLibComponents.count(Lib)) { in main()
688 auto PrintForLib = [&](const StringRef &Lib) { in main() argument
691 OS << GetComponentLibraryFileName(Lib, Shared); in main()
693 OS << GetComponentLibraryPath(Lib, Shared); in main()
698 OS << GetComponentLibraryPath(Lib, Shared); in main()
701 if (GetComponentLibraryNameSlice(Lib, LibName)) { in main()
706 OS << "-l" << Lib; in main()
716 auto Lib = RequiredLibs[i]; in main() local
720 PrintForLib(Lib); in main()