Lines Matching refs:Lib
410 auto GetComponentLibraryNameSlice = [&](const StringRef &Lib, in main()
412 if (Lib.startswith("lib")) { in main()
414 if (Lib.endswith(StaticExt)) { in main()
416 } else if (Lib.endswith(SharedExt)) { in main()
423 Out = Lib.slice(3, Lib.size() - FromEnd); in main()
431 auto GetComponentLibraryFileName = [&](const StringRef &Lib, in main() argument
435 LibFileName = (SharedPrefix + Lib + "." + SharedExt).str(); in main()
438 LibFileName = (StaticPrefix + Lib + "." + StaticExt).str(); in main()
592 for (auto &Lib : MissingLibs) in main() local
593 errs() << "llvm-config: error: missing: " << Lib << "\n"; in main()
604 for (auto &Lib : MissingLibs) in main() local
605 errs() << "llvm-config: error: missing: " << Lib << "\n"; in main()
622 for (auto &Lib : RequiredLibs) { in main() local
623 if (!FullDyLibComponents.count(Lib)) { in main()
641 auto PrintForLib = [&](const StringRef &Lib) { in main() argument
644 OS << GetComponentLibraryFileName(Lib, Shared); in main()
646 OS << GetComponentLibraryPath(Lib, Shared); in main()
651 OS << GetComponentLibraryPath(Lib, Shared); in main()
654 if (GetComponentLibraryNameSlice(Lib, LibName)) { in main()
659 OS << "-l" << Lib; in main()
669 auto Lib = RequiredLibs[i]; in main() local
673 PrintForLib(Lib); in main()