Lines Matching refs:SysRoot
392 if (!D.SysRoot.empty()) in ConstructJob()
393 CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); in ConstructJob()
2196 llvm::StringRef SysRoot) { in getGCCToolchainDir() argument
2204 if (!SysRoot.empty()) in getGCCToolchainDir()
2282 StringRef GCCToolchainDir = getGCCToolchainDir(Args, D.SysRoot); in init()
2290 if (!D.SysRoot.empty()) { in init()
2291 Prefixes.push_back(D.SysRoot); in init()
2292 AddDefaultGCCPrefixes(TargetTriple, Prefixes, D.SysRoot); in init()
2300 if (D.SysRoot.empty()) { in init()
2302 AddDefaultGCCPrefixes(TargetTriple, Prefixes, D.SysRoot); in init()
2382 StringRef SysRoot) { in AddDefaultGCCPrefixes() argument
2385 Prefixes.push_back(concat(SysRoot, "/boot/system/develop/tools")); in AddDefaultGCCPrefixes()
2397 std::string PrefixDir = concat(SysRoot, "/usr/gcc"); in AddDefaultGCCPrefixes()
2426 if (SysRoot.empty() && TargetTriple.getOS() == llvm::Triple::Linux && in AddDefaultGCCPrefixes()
2446 Prefixes.push_back(concat(SysRoot, "/usr")); in AddDefaultGCCPrefixes()
2969 if (!D.getVFS().exists(concat(D.SysRoot, GentooConfigDir))) in ScanGentooConfigs()
2988 D.getVFS().getBufferForFile(concat(D.SysRoot, GentooConfigDir, in ScanGentooGccConfig()
3001 concat(D.SysRoot, GentooConfigDir, "/" + Line)); in ScanGentooGccConfig()
3034 std::string GentooPath = concat(D.SysRoot, GentooScanPath); in ScanGentooGccConfig()
3157 const std::string &SysRoot, in AddMultilibPaths() argument
3217 if (StringRef(LibPath).starts_with(SysRoot)) in AddMultilibPaths()
3223 const std::string &SysRoot, in AddMultiarchPaths() argument
3277 std::string SysRoot = computeSysRoot(); in addLibCxxIncludePaths() local
3278 if (SysRoot.empty()) in addLibCxxIncludePaths()
3279 SysRoot = llvm::sys::path::get_separator(); in addLibCxxIncludePaths()
3318 SmallString<128> UsrLocalIncludeDir(SysRoot); in addLibCxxIncludePaths()
3322 SmallString<128> UsrIncludeDir(SysRoot); in addLibCxxIncludePaths()