Searched refs:findFile (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/lld/MinGW/ |
| H A D | Driver.cpp | 118 static std::optional<std::string> findFile(StringRef path1, in findFile() function 132 if (std::optional<std::string> s = findFile(dir, name.substr(1))) in searchLibrary() 140 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".dll.a")) in searchLibrary() 142 if (std::optional<std::string> s = findFile(dir, name + ".dll.a")) in searchLibrary() 145 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".a")) in searchLibrary() 147 if (std::optional<std::string> s = findFile(dir, name + ".lib")) in searchLibrary() 150 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".dll")) in searchLibrary() 152 if (std::optional<std::string> s = findFile(dir, name + ".dll")) in searchLibrary()
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | DriverUtils.cpp | 213 static std::optional<std::string> findFile(StringRef path1, in findFile() function 228 if (std::optional<std::string> s = findFile(dir, path)) in findFromSearchPaths() 260 return findFile(dir, LibName + Twine(MaxMaj) + "." + Twine(MaxMin)); in findMajMinShlib() 270 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".so")) in searchLibraryBaseName() 275 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".a")) in searchLibraryBaseName()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIASession.cpp | 299 Session->findFile(DiaCompiland, Utf16Pattern.m_str, Flags, &SourceFiles)) in findSourceFiles() 334 if (S_OK != Session->findFile(nullptr, nullptr, nsNone, &Files)) in getAllSourceFiles() 347 Session->findFile(RawSymbol.getDiaSymbol(), nullptr, nsNone, &Files)) in getSourceFilesForCompiland()
|
| /openbsd-src/gnu/llvm/lld/wasm/ |
| H A D | Driver.cpp | 167 static std::optional<std::string> findFile(StringRef path1, in findFile() function 296 if (std::optional<std::string> s = findFile(dir, path)) in findFromSearchPaths() 308 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".so")) in searchLibraryBaseName() 310 if (std::optional<std::string> s = findFile(dir, "lib" + name + ".a")) in searchLibraryBaseName()
|
| /openbsd-src/gnu/llvm/lld/COFF/ |
| H A D | Driver.h | 104 std::optional<StringRef> findFile(StringRef filename);
|
| H A D | Driver.cpp | 488 std::optional<StringRef> LinkerDriver::findFile(StringRef filename) { in findFile() function in lld::coff::LinkerDriver 1997 if (std::optional<StringRef> path = findFile(arg->getValue())) in linkerMain() 2001 if (std::optional<StringRef> path = findFile(arg->getValue())) in linkerMain()
|
| /openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/ |
| H A D | ClangLinkerWrapper.cpp | 1096 std::optional<std::string> findFile(StringRef Dir, StringRef Root, in findFile() function 1113 if (std::optional<std::string> File = findFile(Dir, Root, Name)) in findFromSearchPaths() 1123 findFile(Dir, Root, "lib" + Name + ".so")) in searchLibraryBaseName() 1126 findFile(Dir, Root, "lib" + Name + ".a")) in searchLibraryBaseName()
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ |
| H A D | Driver.cpp | 5831 static Optional<std::string> findFile(StringRef path1, const Twine &path2) { in findFile() function 5866 return findFile(dir, LibName + Twine(MaxMaj) + "." + Twine(MaxMin)); in findMajMinShlib()
|