Lines Matching refs:SysRoot

43                                       StringRef SysRoot) {  in getMultiarchTriple()  argument
65 if (D.getVFS().exists(SysRoot + "/lib/arm-linux-gnueabihf")) in getMultiarchTriple()
68 if (D.getVFS().exists(SysRoot + "/lib/arm-linux-gnueabi")) in getMultiarchTriple()
75 if (D.getVFS().exists(SysRoot + "/lib/armeb-linux-gnueabihf")) in getMultiarchTriple()
78 if (D.getVFS().exists(SysRoot + "/lib/armeb-linux-gnueabi")) in getMultiarchTriple()
85 if (D.getVFS().exists(SysRoot + "/lib/i386-linux-gnu")) in getMultiarchTriple()
93 D.getVFS().exists(SysRoot + "/lib/x86_64-linux-gnu")) in getMultiarchTriple()
99 if (D.getVFS().exists(SysRoot + "/lib/aarch64-linux-gnu")) in getMultiarchTriple()
103 if (D.getVFS().exists(SysRoot + "/lib/aarch64_be-linux-gnu")) in getMultiarchTriple()
108 if (D.getVFS().exists(SysRoot + "/lib/" + MT)) in getMultiarchTriple()
116 if (D.getVFS().exists(SysRoot + "/lib/" + MT)) in getMultiarchTriple()
123 if (D.getVFS().exists(SysRoot + "/lib/" + MT)) in getMultiarchTriple()
125 if (D.getVFS().exists(SysRoot + "/lib/mips64-linux-gnu")) in getMultiarchTriple()
134 if (D.getVFS().exists(SysRoot + "/lib/" + MT)) in getMultiarchTriple()
136 if (D.getVFS().exists(SysRoot + "/lib/mips64el-linux-gnu")) in getMultiarchTriple()
141 if (D.getVFS().exists(SysRoot + "/lib/powerpc-linux-gnuspe")) in getMultiarchTriple()
143 if (D.getVFS().exists(SysRoot + "/lib/powerpc-linux-gnu")) in getMultiarchTriple()
147 if (D.getVFS().exists(SysRoot + "/lib/powerpc64-linux-gnu")) in getMultiarchTriple()
151 if (D.getVFS().exists(SysRoot + "/lib/powerpc64le-linux-gnu")) in getMultiarchTriple()
155 if (D.getVFS().exists(SysRoot + "/lib/sparc-linux-gnu")) in getMultiarchTriple()
159 if (D.getVFS().exists(SysRoot + "/lib/sparc64-linux-gnu")) in getMultiarchTriple()
163 if (D.getVFS().exists(SysRoot + "/lib/s390x-linux-gnu")) in getMultiarchTriple()
227 std::string SysRoot = computeSysRoot(); in Linux() local
281 if (IsMips && !SysRoot.empty()) in Linux()
282 ExtraOpts.push_back("--sysroot=" + SysRoot); in Linux()
321 const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot); in Linux()
368 if (StringRef(LibPath).startswith(SysRoot)) { in Linux()
379 if (StringRef(D.Dir).startswith(SysRoot)) { in Linux()
384 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Linux()
385 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Linux()
396 SysRoot + "/usr/lib/" + MultiarchTriple + "/" + in Linux()
401 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Linux()
407 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir, Paths); in Linux()
409 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Linux()
412 addPathIfExists(D, SysRoot + "/" + OSLibDir + "/" + ABIName, Paths); in Linux()
413 addPathIfExists(D, SysRoot + "/usr/" + OSLibDir + "/" + ABIName, Paths); in Linux()
420 SysRoot + "/usr/lib/" + GCCInstallation.getTriple().str() + in Linux()
443 if (StringRef(LibPath).startswith(SysRoot)) in Linux()
452 if (StringRef(D.Dir).startswith(SysRoot)) in Linux()
455 addPathIfExists(D, SysRoot + "/lib", Paths); in Linux()
456 addPathIfExists(D, SysRoot + "/usr/lib", Paths); in Linux()
474 if (!getDriver().SysRoot.empty()) in computeSysRoot()
475 return getDriver().SysRoot; in computeSysRoot()
654 std::string SysRoot = computeSysRoot(); in AddClangSystemIncludeArgs() local
660 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
678 llvm::sys::path::is_absolute(dir) ? StringRef(SysRoot) : ""; in AddClangSystemIncludeArgs()
843 getMultiarchTriple(D, getTriple(), SysRoot); in AddClangSystemIncludeArgs()
849 if (D.getVFS().exists(SysRoot + Dir)) { in AddClangSystemIncludeArgs()
850 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + Dir); in AddClangSystemIncludeArgs()
861 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs()
863 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
887 const std::string& SysRoot = computeSysRoot(); in addLibCxxIncludePaths() local
894 DetectLibcxxIncludePath(SysRoot + "/usr/local/include/c++"), in addLibCxxIncludePaths()
895 DetectLibcxxIncludePath(SysRoot + "/usr/include/c++") }; in addLibCxxIncludePaths()
920 getDriver(), GCCInstallation.getTriple(), getDriver().SysRoot); in addLibStdCxxIncludePaths()
922 getMultiarchTriple(getDriver(), getTriple(), getDriver().SysRoot); in addLibStdCxxIncludePaths()