Home | History | Annotate | Download | only in Driver

Lines Matching defs:Paths

250   // also add the GCC libexec paths. This is legacy code that can be removed
1038 /// This performs all of the autodetection and sets up the various paths.
1983 /// a target-triple directory in the library and header search paths.
2035 static void addPathIfExists(Twine Path, ToolChain::path_list &Paths) {
2036 if (llvm::sys::fs::exists(Path)) Paths.push_back(Path.str());
2096 // The selection of paths to try here is designed to match the patterns which
2100 // to the link paths.
2101 path_list &Paths = getFilePaths();
2106 // Add the multilib suffixed paths where they are available.
2112 Paths);
2116 // It is important to *not* use these paths when the GCC installation is
2123 Paths);
2124 addPathIfExists(LibPath + "/" + MultiarchTriple, Paths);
2125 addPathIfExists(LibPath + "/../" + Multilib, Paths);
2130 addPathIfExists(LibPath + "/../" + GCCTriple.str() + "/lib", Paths);
2133 addPathIfExists(SysRoot + "/lib/" + MultiarchTriple, Paths);
2134 addPathIfExists(SysRoot + "/lib/../" + Multilib, Paths);
2135 addPathIfExists(SysRoot + "/usr/lib/" + MultiarchTriple, Paths);
2136 addPathIfExists(SysRoot + "/usr/lib/../" + Multilib, Paths);
2142 "/../../" + Multilib, Paths);
2144 // Add the non-multilib suffixed paths (if potentially different).
2149 addPathIfExists(GCCInstallation.getInstallPath(), Paths);
2152 addPathIfExists(LibPath + "/../" + GCCTriple.str() + "/lib", Paths);
2153 addPathIfExists(LibPath, Paths);
2156 addPathIfExists(SysRoot + "/lib", Paths);
2157 addPathIfExists(SysRoot + "/usr/lib", Paths);
2313 /// \brief Helper to add the thre variant paths for a libstdc++ installation.
2331 // Check if libc++ has been enabled and provide its include paths if so.