• Home
  • Raw
  • Download

Lines Matching refs:SysRoot

1397     if (!D.SysRoot.empty()) {  in init()
1398 Prefixes.push_back(D.SysRoot); in init()
1399 Prefixes.push_back(D.SysRoot + "/usr"); in init()
1406 if (D.SysRoot.empty()) { in init()
1761 CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda"); in init()
1764 CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-7.5"); in init()
1765 CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-7.0"); in init()
2860 if (!getDriver().SysRoot.empty()) in computeSysRoot()
2861 return getDriver().SysRoot + SelectedMultilib.osSuffix(); in computeSysRoot()
3365 getDriver().SysRoot + "/system/develop/headers/c++/v1"); in AddClangCXXStdlibIncludeArgs()
3369 getDriver().SysRoot + "/system/develop/headers/c++"); in AddClangCXXStdlibIncludeArgs()
3371 getDriver().SysRoot + "/system/develop/headers/c++/backward"); in AddClangCXXStdlibIncludeArgs()
3375 getDriver().SysRoot + "/system/develop/headers/c++/" + in AddClangCXXStdlibIncludeArgs()
3423 getDriver().SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
3427 getDriver().SysRoot + "/usr/include/c++/stdc++"); in AddClangCXXStdlibIncludeArgs()
3429 getDriver().SysRoot + "/usr/include/c++/stdc++/backward"); in AddClangCXXStdlibIncludeArgs()
3434 getDriver().SysRoot + "/usr/include/c++/stdc++/x86_64" + in AddClangCXXStdlibIncludeArgs()
3437 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + in AddClangCXXStdlibIncludeArgs()
3468 D.getVFS().exists(getDriver().SysRoot + "/usr/lib32/crt1.o")) in FreeBSD()
3469 getFilePaths().push_back(getDriver().SysRoot + "/usr/lib32"); in FreeBSD()
3471 getFilePaths().push_back(getDriver().SysRoot + "/usr/lib"); in FreeBSD()
3489 getDriver().SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
3493 getDriver().SysRoot + "/usr/include/c++/4.2"); in AddClangCXXStdlibIncludeArgs()
3495 getDriver().SysRoot + "/usr/include/c++/4.2/backward"); in AddClangCXXStdlibIncludeArgs()
3651 getDriver().SysRoot + "/usr/include/c++/"); in AddClangCXXStdlibIncludeArgs()
3655 getDriver().SysRoot + "/usr/include/g++"); in AddClangCXXStdlibIncludeArgs()
3657 getDriver().SysRoot + "/usr/include/g++/backward"); in AddClangCXXStdlibIncludeArgs()
3698 addPathIfExists(D, getDriver().SysRoot + getDriver().Dir + "/../lib", Paths); in Solaris()
3715 addPathIfExists(D, getDriver().SysRoot + LibPath, Paths); in Solaris()
3737 getDriver().SysRoot + "/usr/gcc/" + in AddClangCXXStdlibIncludeArgs()
3742 getDriver().SysRoot + "/usr/gcc/" + Version.MajorStr + in AddClangCXXStdlibIncludeArgs()
3888 StringRef SysRoot) { in getMultiarchTriple() argument
3905 if (D.getVFS().exists(SysRoot + "/lib/arm-linux-gnueabihf")) in getMultiarchTriple()
3908 if (D.getVFS().exists(SysRoot + "/lib/arm-linux-gnueabi")) in getMultiarchTriple()
3915 if (D.getVFS().exists(SysRoot + "/lib/armeb-linux-gnueabihf")) in getMultiarchTriple()
3918 if (D.getVFS().exists(SysRoot + "/lib/armeb-linux-gnueabi")) in getMultiarchTriple()
3923 if (D.getVFS().exists(SysRoot + "/lib/i386-linux-gnu")) in getMultiarchTriple()
3929 D.getVFS().exists(SysRoot + "/lib/x86_64-linux-gnu")) in getMultiarchTriple()
3933 if (D.getVFS().exists(SysRoot + "/lib/aarch64-linux-gnu")) in getMultiarchTriple()
3937 if (D.getVFS().exists(SysRoot + "/lib/aarch64_be-linux-gnu")) in getMultiarchTriple()
3941 if (D.getVFS().exists(SysRoot + "/lib/mips-linux-gnu")) in getMultiarchTriple()
3945 if (D.getVFS().exists(SysRoot + "/lib/mipsel-linux-gnu")) in getMultiarchTriple()
3949 if (D.getVFS().exists(SysRoot + "/lib/mips64-linux-gnu")) in getMultiarchTriple()
3951 if (D.getVFS().exists(SysRoot + "/lib/mips64-linux-gnuabi64")) in getMultiarchTriple()
3955 if (D.getVFS().exists(SysRoot + "/lib/mips64el-linux-gnu")) in getMultiarchTriple()
3957 if (D.getVFS().exists(SysRoot + "/lib/mips64el-linux-gnuabi64")) in getMultiarchTriple()
3961 if (D.getVFS().exists(SysRoot + "/lib/powerpc-linux-gnuspe")) in getMultiarchTriple()
3963 if (D.getVFS().exists(SysRoot + "/lib/powerpc-linux-gnu")) in getMultiarchTriple()
3967 if (D.getVFS().exists(SysRoot + "/lib/powerpc64-linux-gnu")) in getMultiarchTriple()
3971 if (D.getVFS().exists(SysRoot + "/lib/powerpc64le-linux-gnu")) in getMultiarchTriple()
3975 if (D.getVFS().exists(SysRoot + "/lib/sparc-linux-gnu")) in getMultiarchTriple()
3979 if (D.getVFS().exists(SysRoot + "/lib/sparc64-linux-gnu")) in getMultiarchTriple()
3983 if (D.getVFS().exists(SysRoot + "/lib/s390x-linux-gnu")) in getMultiarchTriple()
4044 std::string SysRoot = computeSysRoot(); in Linux() local
4072 if (IsMips && !SysRoot.empty()) in Linux()
4073 ExtraOpts.push_back("--sysroot=" + SysRoot); in Linux()
4108 const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot); in Linux()
4157 if (StringRef(LibPath).startswith(SysRoot)) { in Linux()
4168 if (StringRef(D.Dir).startswith(SysRoot)) { in Linux()
4173 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Linux()
4174 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Linux()
4175 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Linux()
4176 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Linux()
4182 SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() + in Linux()
4205 if (StringRef(LibPath).startswith(SysRoot)) in Linux()
4214 if (StringRef(D.Dir).startswith(SysRoot)) in Linux()
4217 addPathIfExists(D, SysRoot + "/lib", Paths); in Linux()
4218 addPathIfExists(D, SysRoot + "/usr/lib", Paths); in Linux()
4230 if (!getDriver().SysRoot.empty()) in computeSysRoot()
4231 return getDriver().SysRoot; in computeSysRoot()
4381 std::string SysRoot = computeSysRoot(); in AddClangSystemIncludeArgs() local
4387 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
4405 llvm::sys::path::is_absolute(dir) ? StringRef(SysRoot) : ""; in AddClangSystemIncludeArgs()
4530 if (D.getVFS().exists(SysRoot + Dir)) { in AddClangSystemIncludeArgs()
4531 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir); in AddClangSystemIncludeArgs()
4542 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs()
4544 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
4579 DetectLibcxxIncludePath(getDriver().SysRoot + "/usr/local/include/c++"), in AddClangCXXStdlibIncludeArgs()
4580 DetectLibcxxIncludePath(getDriver().SysRoot + "/usr/include/c++") }; in AddClangCXXStdlibIncludeArgs()
4604 getDriver(), GCCInstallation.getTriple(), getDriver().SysRoot); in AddClangCXXStdlibIncludeArgs()
4606 getMultiarchTriple(getDriver(), getTriple(), getDriver().SysRoot); in AddClangCXXStdlibIncludeArgs()
4952 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + "/include"); in AddClangSystemIncludeArgs()
5003 getDriver().SysRoot + "/lib" + (Triple.isArch32Bit() ? "32" : "64")); in WebAssembly()
5051 addSystemInclude(DriverArgs, CC1Args, getDriver().SysRoot + "/include"); in AddClangSystemIncludeArgs()
5060 getDriver().SysRoot + "/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()