Home | History | Annotate | Download | only in llvm-config

Lines Matching defs: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.
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 void ComputeLibsForComponents(const std::vector<StringRef> &Components,
106 // Visit the components.
107 for (unsigned i = 0, e = Components.size(); i != e; ++i) {
109 std::string ComponentLower = Components[i].lower();
113 llvm::errs() << "llvm-config: unknown component name: " << Components[i]
151 --system-libs System Libraries needed to link against LLVM components.\n\
152 --libs Libraries needed to link against LLVM components.\n\
155 --components List of all possible components.\n\
160 Typical components:\n\
175 std::vector<StringRef> Components;
302 } else if (Arg == "--components") {
304 // Only include non-installed components when in a development tree.
332 Components.push_back(Arg);
340 // If no components were specified, default to "all".
341 if (Components.empty())
342 Components.push_back("all");
346 ComputeLibsForComponents(Components, RequiredLibs,
377 } else if (!Components.empty()) {
378 errs() << "llvm-config: error: components given, but unused\n\n";