Home
last modified time | relevance | path

Searched refs:LibPath (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/llvm/unittests/Support/DynamicLibrary/
DDynamicLibraryTest.cpp21 std::string LibPath(const std::string Name = "PipSqueak") { in LibPath() function
65 DynamicLibrary::getPermanentLibrary(LibPath().c_str(), &Err); in TEST()
118 DynamicLibrary::getPermanentLibrary(LibPath(A).c_str(), &Err); in TEST()
134 DynamicLibrary::getPermanentLibrary(LibPath(C).c_str(), &Err); in TEST()
172 DynamicLibrary::getPermanentLibrary(LibPath().c_str(), &Err); in TEST()
/external/llvm-project/clang-tools-extra/clangd/xpc/test-client/
DClangdXPCTestClient.cpp50 std::string LibPath = getLibraryPath(); in main() local
51 void *dlHandle = dlopen(LibPath.c_str(), RTLD_LOCAL | RTLD_FIRST); in main()
53 llvm::errs() << "Failed to load framework from \'" << LibPath << "\'\n"; in main()
/external/llvm-project/llvm/unittests/Passes/
DPluginsTest.cpp29 static std::string LibPath(const std::string Name = "TestPlugin") { in LibPath() function
46 auto PluginPath = LibPath(); in TEST()
/external/llvm-project/clang/lib/Driver/ToolChains/
DROCm.h78 SmallString<0> LibPath; variable
144 StringRef getLibPath() const { return LibPath; } in getLibPath()
DCuda.h37 std::string LibPath; variable
73 StringRef getLibPath() const { return LibPath; } in getLibPath()
DMSVC.cpp371 for (const auto &LibPath : TC.getLibraryPaths()) { in ConstructJob() local
372 if (TC.getVFS().exists(LibPath)) in ConstructJob()
373 CmdArgs.push_back(Args.MakeArgString("-libpath:" + LibPath)); in ConstructJob()
380 for (const auto &LibPath : Args.getAllArgValues(options::OPT_L)) in ConstructJob() local
381 CmdArgs.push_back(Args.MakeArgString("-libpath:" + LibPath)); in ConstructJob()
1205 llvm::SmallString<128> LibPath(UniversalCRTSdkPath); in getUniversalCRTLibraryPath() local
1206 llvm::sys::path::append(LibPath, "Lib", UCRTVersion, "ucrt", ArchName); in getUniversalCRTLibraryPath()
1208 Path = std::string(LibPath.str()); in getUniversalCRTLibraryPath()
DCuda.cpp201 LibPath = InstallPath + "/lib64"; in CudaInstallationDetector()
203 LibPath = InstallPath + "/lib"; in CudaInstallationDetector()
768 llvm::Optional<std::string> LibPath = in addClangTargetOptions() local
770 if (LibPath) { in addClangTargetOptions()
773 llvm::SplitString(*LibPath, Frags, EnvPathSeparatorStr); in addClangTargetOptions()
DMinGW.cpp203 for (const auto &LibPath : TC.getLibraryPaths()) { in ConstructJob() local
204 if (TC.getVFS().exists(LibPath)) in ConstructJob()
205 CmdArgs.push_back(Args.MakeArgString("-L" + LibPath)); in ConstructJob()
DGnu.cpp2771 const std::string &LibPath = in AddMultilibPaths() local
2803 LibPath + "/../" + GCCTriple.str() + "/lib/../" + OSLibDir + in AddMultilibPaths()
2816 if (StringRef(LibPath).startswith(SysRoot)) { in AddMultilibPaths()
2817 addPathIfExists(D, LibPath + "/" + MultiarchTriple, Paths); in AddMultilibPaths()
2818 addPathIfExists(D, LibPath + "/../" + OSLibDir, Paths); in AddMultilibPaths()
2845 const std::string &LibPath = in AddMultiarchPaths() local
2850 D, LibPath + "/../" + GCCTriple.str() + "/lib" + Multilib.osSuffix(), in AddMultiarchPaths()
2855 if (StringRef(LibPath).startswith(SysRoot)) in AddMultiarchPaths()
2856 addPathIfExists(D, LibPath, Paths); in AddMultiarchPaths()
DAMDGPU.cpp284 LibPath = InstallPath; in detectHIPRuntime()
285 llvm::sys::path::append(LibPath, "lib"); in detectHIPRuntime()
DHexagon.cpp354 for (const auto &LibPath : LibPaths) in constructHexagonLinkArgs() local
355 CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath)); in constructHexagonLinkArgs()
/external/clang/lib/Driver/
DToolChain.cpp651 for (const auto &LibPath : getFilePaths()) in AddFilePathLibArgs() local
652 if(LibPath.length() > 0) in AddFilePathLibArgs()
653 CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath)); in AddFilePathLibArgs()
DMSVCToolChain.cpp383 llvm::SmallString<128> LibPath(UniversalCRTSdkPath); in getUniversalCRTLibraryPath() local
384 llvm::sys::path::append(LibPath, "Lib", UCRTVersion, "ucrt", ArchName); in getUniversalCRTLibraryPath()
386 Path = LibPath.str(); in getUniversalCRTLibraryPath()
DToolChains.cpp1776 LibPath = InstallPath + (TargetTriple.isArch64Bit() ? "/lib64" : "/lib"); in init()
1779 if (!(FS.exists(IncludePath) && FS.exists(BinPath) && FS.exists(LibPath) && in init()
3700 std::string LibPath = "/usr/lib/"; in Solaris() local
3706 LibPath += "amd64/"; in Solaris()
3709 LibPath += "sparcv9/"; in Solaris()
3715 addPathIfExists(D, getDriver().SysRoot + LibPath, Paths); in Solaris()
4113 const std::string &LibPath = GCCInstallation.getParentLibPath(); in Linux() local
4144 addPathIfExists(D, LibPath + "/../" + GCCTriple.str() + "/lib/../" + in Linux()
4157 if (StringRef(LibPath).startswith(SysRoot)) { in Linux()
4158 addPathIfExists(D, LibPath + "/" + MultiarchTriple, Paths); in Linux()
[all …]
DToolChains.h170 std::string LibPath; variable
203 StringRef getLibPath() const { return LibPath; } in getLibPath()
DTools.cpp6973 for (const auto &LibPath : LibPaths) in constructHexagonLinkArgs() local
6974 CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath)); in constructHexagonLinkArgs()
10020 for (const auto &LibPath : Args.getAllArgValues(options::OPT_L)) in ConstructJob() local
10021 CmdArgs.push_back(Args.MakeArgString("-libpath:" + LibPath)); in ConstructJob()
/external/llvm-project/clang/lib/Driver/
DToolChain.cpp452 for (const auto &LibPath : getLibraryPaths()) { in getCompilerRT() local
453 SmallString<128> P(LibPath); in getCompilerRT()
1025 for (const auto &LibPath : getFilePaths()) in AddFilePathLibArgs() local
1026 if(LibPath.length() > 0) in AddFilePathLibArgs()
1027 CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath)); in AddFilePathLibArgs()