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