Lines Matching refs:roots
156 const std::vector<StringRef> &roots, in getSearchPaths() argument
164 for (StringRef root : roots) { in getSearchPaths()
183 for (const StringRef &root : roots) { in getSearchPaths()
194 std::vector<StringRef> roots; in getSystemLibraryRoots() local
196 roots.push_back(arg->getValue()); in getSystemLibraryRoots()
198 if (!roots.empty() && roots.back() == "/") in getSystemLibraryRoots()
199 roots.clear(); in getSystemLibraryRoots()
202 if (roots.empty()) in getSystemLibraryRoots()
203 roots.emplace_back(""); in getSystemLibraryRoots()
204 return roots; in getSystemLibraryRoots()
208 getLibrarySearchPaths(InputArgList &args, const std::vector<StringRef> &roots) { in getLibrarySearchPaths() argument
209 return getSearchPaths(OPT_L, args, roots, {"/usr/lib", "/usr/local/lib"}); in getLibrarySearchPaths()
214 const std::vector<StringRef> &roots) { in getFrameworkSearchPaths() argument
215 return getSearchPaths(OPT_F, args, roots, in getFrameworkSearchPaths()