Lines Matching refs:Path
17 #include "mcld/Support/Path.h"
95 sys::fs::Path path;
101 path = script.sysroot();
102 path.append(token->name());
105 path.assign(token->name());
106 if (!sys::fs::exists(path)) {
107 // 3. Search through the library search path
108 sys::fs::Path* p =
111 path = *p;
115 if (!sys::fs::exists(path))
116 fatal(diag::err_cannot_open_input) << path.filename() << path;
119 path.filename().native(), path, Input::Unknown);
123 const sys::fs::Path* path = NULL;
124 // find out the real path of the namespec.
130 path = script.directories().find(token->name(), Input::Archive);
134 path = script.directories().find(token->name(), Input::DynObj);
139 path = script.directories().find(token->name(), Input::Archive);
142 if (path == NULL)
146 token->name(), *path, Input::Unknown);
158 error(diag::err_cannot_open_input) << input->name() << input->path();