Lines Matching refs:SysRoot
32 StringRef SysRoot) const { in getMultiarchTriple()
38 if (D.getVFS().exists(SysRoot + "/lib/i386-gnu")) in getMultiarchTriple()
69 std::string SysRoot = computeSysRoot(); in Hurd() local
82 const std::string MultiarchTriple = getMultiarchTriple(D, Triple, SysRoot); in Hurd()
88 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Hurd()
95 if (StringRef(D.Dir).startswith(SysRoot)) { in Hurd()
100 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Hurd()
101 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Hurd()
103 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Hurd()
104 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Hurd()
106 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Hurd()
113 if (StringRef(D.Dir).startswith(SysRoot)) in Hurd()
116 addPathIfExists(D, SysRoot + "/lib", Paths); in Hurd()
117 addPathIfExists(D, SysRoot + "/usr/lib", Paths); in Hurd()
138 std::string SysRoot = computeSysRoot(); in AddClangSystemIncludeArgs() local
144 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
162 llvm::sys::path::is_absolute(Dir) ? "" : StringRef(SysRoot); in AddClangSystemIncludeArgs()
174 std::string Path = SysRoot + "/usr/include/i386-gnu"; in AddClangSystemIncludeArgs()
182 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/include"); in AddClangSystemIncludeArgs()
184 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()