Lines Matching full:components
42 // and required components for all of the available libraries.
44 // Not all components define a library, we also use "library groups" as a way to
53 /// \param VisitedComponents [in] [out] - The set of already visited components.
70 // Only include non-installed components if requested. in VisitComponent()
86 /// components, in an order suitable for passing to a linker (that is, libraries
89 /// \param Components - The names of the components to find libraries for.
91 /// are required to link the given components.
92 /// \param IncludeNonInstalled - Whether non-installed components should be
94 static void ComputeLibsForComponents(const std::vector<StringRef> &Components, in ComputeLibsForComponents() argument
106 // Visit the components. in ComputeLibsForComponents()
107 for (unsigned i = 0, e = Components.size(); i != e; ++i) { in ComputeLibsForComponents()
109 std::string ComponentLower = Components[i].lower(); in ComputeLibsForComponents()
113 llvm::errs() << "llvm-config: unknown component name: " << Components[i] in ComputeLibsForComponents()
151 --system-libs System Libraries needed to link against LLVM components.\n\ in usage()
152 --libs Libraries needed to link against LLVM components.\n\ in usage()
155 --components List of all possible components.\n\ in usage()
160 Typical components:\n\ in usage()
175 std::vector<StringRef> Components; in main() local
304 } else if (Arg == "--components") { in main()
306 // Only include non-installed components when in a development tree. in main()
334 Components.push_back(Arg); in main()
342 // If no components were specified, default to "all". in main()
343 if (Components.empty()) in main()
344 Components.push_back("all"); in main()
348 ComputeLibsForComponents(Components, RequiredLibs, in main()
379 } else if (!Components.empty()) { in main()
380 errs() << "llvm-config: error: components given, but unused\n\n"; in main()