Lines Matching refs:roots
162 const std::vector<StringRef> &roots, in getSearchPaths() argument
170 for (StringRef root : roots) { in getSearchPaths()
189 for (const StringRef &root : roots) { in getSearchPaths()
200 std::vector<StringRef> roots; in getSystemLibraryRoots() local
202 roots.push_back(arg->getValue()); in getSystemLibraryRoots()
204 if (!roots.empty() && roots.back() == "/") in getSystemLibraryRoots()
205 roots.clear(); in getSystemLibraryRoots()
208 if (roots.empty()) in getSystemLibraryRoots()
209 roots.emplace_back(""); in getSystemLibraryRoots()
210 return roots; in getSystemLibraryRoots()
214 getLibrarySearchPaths(InputArgList &args, const std::vector<StringRef> &roots) { in getLibrarySearchPaths() argument
215 return getSearchPaths(OPT_L, args, roots, {"/usr/lib", "/usr/local/lib"}); in getLibrarySearchPaths()
220 const std::vector<StringRef> &roots) { in getFrameworkSearchPaths() argument
221 return getSearchPaths(OPT_F, args, roots, in getFrameworkSearchPaths()