/external/llvm-project/llvm/unittests/Support/DynamicLibrary/ |
D | DynamicLibraryTest.cpp | 21 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/ |
D | ClangdXPCTestClient.cpp | 50 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/ |
D | PluginsTest.cpp | 29 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/ |
D | ROCm.h | 78 SmallString<0> LibPath; variable 144 StringRef getLibPath() const { return LibPath; } in getLibPath()
|
D | Cuda.h | 37 std::string LibPath; variable 73 StringRef getLibPath() const { return LibPath; } in getLibPath()
|
D | MSVC.cpp | 371 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()
|
D | Cuda.cpp | 201 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()
|
D | MinGW.cpp | 203 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()
|
D | Gnu.cpp | 2771 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()
|
D | AMDGPU.cpp | 284 LibPath = InstallPath; in detectHIPRuntime() 285 llvm::sys::path::append(LibPath, "lib"); in detectHIPRuntime()
|
D | Hexagon.cpp | 354 for (const auto &LibPath : LibPaths) in constructHexagonLinkArgs() local 355 CmdArgs.push_back(Args.MakeArgString(StringRef("-L") + LibPath)); in constructHexagonLinkArgs()
|
/external/clang/lib/Driver/ |
D | ToolChain.cpp | 651 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()
|
D | MSVCToolChain.cpp | 383 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()
|
D | ToolChains.cpp | 1776 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 …]
|
D | ToolChains.h | 170 std::string LibPath; variable 203 StringRef getLibPath() const { return LibPath; } in getLibPath()
|
D | Tools.cpp | 6973 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/ |
D | ToolChain.cpp | 452 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()
|