Lines Matching refs:Components
41 // and required components for all of the available libraries.
43 // Not all components define a library, we also use "library groups" as a way to
52 /// \param VisitedComponents [in] [out] - The set of already visited components.
80 /// components, in an order suitable for passing to a linker (that is, libraries
83 /// \param Components - The names of the components to find libraries for.
85 /// are required to link the given components.
86 void ComputeLibsForComponents(const std::vector<StringRef> &Components,
97 // Visit the components.
98 for (unsigned i = 0, e = Components.size(); i != e; ++i) {
100 std::string ComponentLower = Components[i].lower();
104 llvm::errs() << "llvm-config: unknown component name: " << Components[i]
142 --libs Libraries needed to link against LLVM components.\n\
145 --components List of all possible components.\n\
149 Typical components:\n\
164 std::vector<StringRef> Components;
279 } else if (Arg == "--components") {
299 Components.push_back(Arg);
307 // If no components were specified, default to "all".
308 if (Components.empty())
309 Components.push_back("all");
313 ComputeLibsForComponents(Components, RequiredLibs);
336 } else if (!Components.empty()) {
337 errs() << "llvm-config: error: components given, but unused\n\n";