Lines Matching refs:Lib
315 ActiveLibDir = ActiveObjRoot + "/lib" + LLVM_LIBDIR_SUFFIX;
321 ActiveObjRoot + "/lib" + LLVM_LIBDIR_SUFFIX + "/" + build_mode;
332 ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;
344 StaticPrefix, StaticDir = "lib", DirSep = "/";
351 StaticPrefix = "lib";
353 StaticExt = "lib";
369 StaticPrefix = SharedPrefix = "lib";
376 StaticPrefix = SharedPrefix = "lib";
408 /// Get the component's library name without the lib prefix and the
409 /// extension. Returns true if Lib is in a recognized format.
410 auto GetComponentLibraryNameSlice = [&](const StringRef &Lib,
412 if (Lib.startswith("lib")) {
414 if (Lib.endswith(StaticExt)) {
416 } else if (Lib.endswith(SharedExt)) {
423 Out = Lib.slice(3, Lib.size() - FromEnd);
431 auto GetComponentLibraryFileName = [&](const StringRef &Lib,
435 LibFileName = (SharedPrefix + Lib + "." + SharedExt).str();
438 LibFileName = (StaticPrefix + Lib + "." + StaticExt).str();
592 for (auto &Lib : MissingLibs)
593 errs() << "llvm-config: error: missing: " << Lib << "\n";
604 for (auto &Lib : MissingLibs)
605 errs() << "llvm-config: error: missing: " << Lib << "\n";
622 for (auto &Lib : RequiredLibs) {
623 if (!FullDyLibComponents.count(Lib)) {
641 auto PrintForLib = [&](const StringRef &Lib) {
644 OS << GetComponentLibraryFileName(Lib, Shared);
646 OS << GetComponentLibraryPath(Lib, Shared);
651 OS << GetComponentLibraryPath(Lib, Shared);
654 if (GetComponentLibraryNameSlice(Lib, LibName)) {
658 // Lib is already a library name without prefix and suffix.
659 OS << "-l" << Lib;
669 auto Lib = RequiredLibs[i];
673 PrintForLib(Lib);