Lines Matching refs:Path
17 #include "llvm/Support/Path.h"
68 Linker::addPath(const sys::Path& path) {
69 LibPaths.push_back(path);
75 LibPaths.push_back(sys::Path(paths[i]));
80 sys::Path::GetBitcodeLibraryPaths(LibPaths);
81 LibPaths.insert(LibPaths.begin(),sys::Path("./"));
98 Linker::LoadObject(const sys::Path &FN) {
118 // a non-empty sys::Path if its found, an empty one otherwise.
119 static inline sys::Path IsLibrary(StringRef Name,
120 const sys::Path &Directory) {
122 sys::Path FullPath(Directory);
138 FullPath.appendSuffix(sys::Path::GetDLLSuffix());
155 /// Path if no matching file can be found.
157 sys::Path
160 sys::Path FilePath(Filename);
168 sys::Path Directory(LibPaths[Index]);
169 sys::Path FullPath = IsLibrary(Filename, Directory);
173 return sys::Path();