Lines Matching defs:roots
164 const std::vector<StringRef> &roots,
172 for (StringRef root : roots) {
175 // Do not warn about paths that are computed via the syslib roots
191 for (const StringRef &root : roots) {
202 std::vector<StringRef> roots;
204 roots.push_back(arg->getValue());
205 // NOTE: the final `-syslibroot` being `/` will ignore all roots
206 if (!roots.empty() && roots.back() == "/")
207 roots.clear();
208 // NOTE: roots can never be empty - add an empty root to simplify the library
210 if (roots.empty())
211 roots.emplace_back("");
212 return roots;
216 getLibrarySearchPaths(InputArgList &args, const std::vector<StringRef> &roots) {
217 return getSearchPaths(OPT_L, args, roots, {"/usr/lib", "/usr/local/lib"});
222 const std::vector<StringRef> &roots) {
223 return getSearchPaths(OPT_F, args, roots,