Lines Matching refs:roots
163 const std::vector<StringRef> &roots, in getSearchPaths() argument
171 for (StringRef root : roots) { in getSearchPaths()
190 for (const StringRef &root : roots) { in getSearchPaths()
201 std::vector<StringRef> roots; in getSystemLibraryRoots() local
203 roots.push_back(arg->getValue()); in getSystemLibraryRoots()
205 if (!roots.empty() && roots.back() == "/") in getSystemLibraryRoots()
206 roots.clear(); in getSystemLibraryRoots()
209 if (roots.empty()) in getSystemLibraryRoots()
210 roots.emplace_back(""); in getSystemLibraryRoots()
211 return roots; in getSystemLibraryRoots()
215 getLibrarySearchPaths(InputArgList &args, const std::vector<StringRef> &roots) { in getLibrarySearchPaths() argument
216 return getSearchPaths(OPT_L, args, roots, {"/usr/lib", "/usr/local/lib"}); in getLibrarySearchPaths()
221 const std::vector<StringRef> &roots) { in getFrameworkSearchPaths() argument
222 return getSearchPaths(OPT_F, args, roots, in getFrameworkSearchPaths()