Lines Matching refs:Path
14 #include <mcld/Support/Path.h>
94 sys::fs::Path path;
100 path = script.sysroot();
101 path.append(token->name());
104 path.assign(token->name());
105 if (!sys::fs::exists(path)) {
106 // 3. Search through the library search path
107 sys::fs::Path* p =
110 path = *p;
114 if (!sys::fs::exists(path))
115 fatal(diag::err_cannot_open_input) << path.filename() << path;
118 path.filename().native(), path, Input::Unknown);
122 const sys::fs::Path* path = NULL;
123 // find out the real path of the namespec.
129 path = script.directories().find(token->name(), Input::Archive);
133 path = script.directories().find(token->name(), Input::DynObj);
137 path = script.directories().find(token->name(), Input::Archive);
140 if (NULL == path)
144 token->name(), *path, Input::Unknown);
155 error(diag::err_cannot_open_input) << input->name() << input->path();