Lines Matching defs:LibDir
1425 const std::string LibDir = Prefix + Suffix.str();
1426 if (!D.getVFS().exists(LibDir))
1429 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, Candidate);
1431 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, Candidate);
1434 const std::string LibDir = Prefix + Suffix.str();
1435 if (!D.getVFS().exists(LibDir))
1438 ScanLibDirForGCCTriple(TargetTriple, Args, LibDir, Candidate,
2551 const std::string &LibDir, StringRef CandidateTriple,
2557 for (vfs::directory_iterator LI = D.getVFS().dir_begin(LibDir, EC), LE;
2571 LibDir + "/" + VersionText.str() + "/lib/gcc/" + CandidateTriple.str();
2601 const std::string &LibDir, StringRef CandidateTriple,
2629 scanLibDirForGCCTripleSolaris(TargetTriple, Args, LibDir, CandidateTriple,
2641 LI = D.getVFS().dir_begin(LibDir + LibSuffix, EC),
2679 LibDir + LibAndInstallSuffixes[i][0] + "/" + VersionText.str();
2995 std::string LibDir = Dir + "/hexagon/lib";
2996 std::string LibDirCpu = LibDir + '/' + CpuVer;
3003 LibPaths.push_back(LibDir);
4127 // as part of the toolchain under <prefix>/<triple>/<libdir> rather than as
4129 // <prefix>/<libdir>/gcc/<triple>/<version>. This decision is somewhat
4139 // <prefix>/<triple>/<libdir> unless they should be preferred over
4285 std::string LibDir;
4293 LibDir = "lib";
4297 LibDir = "lib";
4308 LibDir = "lib";
4320 LibDir = "lib" + tools::mips::getMipsABILibSuffix(Args, Triple);
4333 LibDir = "lib";
4337 LibDir = "lib64";
4342 LibDir = "lib64";
4348 LibDir = "lib";
4352 LibDir = "lib64";
4356 LibDir = "lib";
4360 LibDir = "lib";
4366 LibDir = X32 ? "libx32" : "lib64";
4375 return "/" + LibDir + "/" + Loader;
4599 StringRef LibDir = GCCInstallation.getParentLibPath();
4610 if (addLibStdCXXIncludePaths(LibDir.str() + "/../include",
4626 LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text,
4629 LibDir.str() + "/../include/c++",
4927 // The contents of LibDir are independent of the version of gcc.
4929 SmallString<128> LibDir(GCCInstallation.getParentLibPath());
4931 llvm::sys::path::append(LibDir, "../sparc-myriad-elf/lib/le");
4933 llvm::sys::path::append(LibDir, "../sparc-myriad-elf/lib");
4934 addPathIfExists(D, LibDir, getFilePaths());
4962 StringRef LibDir = GCCInstallation.getParentLibPath();
4968 LibDir.str() + "/../" + TripleStr.str() + "/include/c++/" + Version.Text,