Home
last modified time | relevance | path

Searched refs:addPathIfExists (Results 1 – 10 of 10) sorted by relevance

/src/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHurd.cpp22 using tools::addPathIfExists;
104 addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths); in Hurd()
105 addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths); in Hurd()
108 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Hurd()
109 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Hurd()
111 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Hurd()
112 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Hurd()
122 addPathIfExists(D, D.Dir + "/../lib", Paths); in Hurd()
124 addPathIfExists(D, SysRoot + "/lib", Paths); in Hurd()
125 addPathIfExists(D, SysRoot + "/usr/lib", Paths); in Hurd()
H A DLinux.cpp33 using tools::addPathIfExists;
314 addPathIfExists(D, concat(SysRoot, "/libo32"), Paths); in Linux()
315 addPathIfExists(D, concat(SysRoot, "/usr/libo32"), Paths); in Linux()
319 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Linux()
320 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Linux()
326 addPathIfExists( in Linux()
333 addPathIfExists(D, concat(SysRoot, "/usr/lib", MultiarchTriple), Paths); in Linux()
339 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Linux()
341 addPathIfExists(D, concat(SysRoot, "/usr/lib/..", OSLibDir), Paths); in Linux()
344 addPathIfExists(D, concat(SysRoot, "/", OSLibDir, ABIName), Paths); in Linux()
[all …]
H A DOHOS.cpp33 using tools::addPathIfExists;
161 addPathIfExists(D, makePath({SysRootLibPath, SelectedMultilib.gccSuffix()}), in OHOS()
163 addPathIfExists(D, in OHOS()
168 addPathIfExists( in OHOS()
H A DSolaris.cpp320 addPathIfExists(D, in Solaris()
324 addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths); in Solaris()
330 addPathIfExists(D, D.Dir + "/../lib", Paths); in Solaris()
332 addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths); in Solaris()
H A DMSP430.cpp122 addPathIfExists(D, GCCBinPath, getProgramPaths()); in MSP430ToolChain()
127 addPathIfExists(D, GCCRtPath, getFilePaths()); in MSP430ToolChain()
132 addPathIfExists(D, SysRootDir, getFilePaths()); in MSP430ToolChain()
H A DCSKYToolChain.cpp31 addPathIfExists(D, InstallPath + Path, Paths); in addMultilibsFilePaths()
H A DRISCVToolchain.cpp31 addPathIfExists(D, InstallPath + Path, Paths); in addMultilibsFilePaths()
H A DCommonArgs.h27 void addPathIfExists(const Driver &D, const Twine &Path,
H A DGnu.cpp44 using tools::addPathIfExists;
3172 addPathIfExists(D, GCCInstallation.getInstallPath() + Path, Paths); in AddMultilibPaths()
3175 addPathIfExists(D, in AddMultilibPaths()
3182 addPathIfExists(D, GCCInstallation.getInstallPath() + "/../" + OSLibDir, in AddMultilibPaths()
3203 addPathIfExists(D, in AddMultilibPaths()
3218 addPathIfExists(D, LibPath + "/../" + OSLibDir, Paths); in AddMultilibPaths()
3231 addPathIfExists( in AddMultiarchPaths()
H A DCommonArgs.cpp340 void tools::addPathIfExists(const Driver &D, const Twine &Path, in addPathIfExists() function in tools