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

Lines Matching refs:Components

43 // and required components for all of the available libraries.
45 // Not all components define a library, we also use "library groups" as a way to
54 /// \param VisitedComponents [in] [out] - The set of already visited components.
75 // Only include non-installed components if requested.
101 /// components, in an order suitable for passing to a linker (that is, libraries
104 /// \param Components - The names of the components to find libraries for.
105 /// \param IncludeNonInstalled - Whether non-installed components should be
109 ComputeLibsForComponents(const std::vector<StringRef> &Components,
122 // Visit the components.
123 for (unsigned i = 0, e = Components.size(); i != e; ++i) {
125 std::string ComponentLower = Components[i].lower();
129 llvm::errs() << "llvm-config: unknown component name: " << Components[i]
170 --system-libs System Libraries needed to link against LLVM components.\n\
171 --libs Libraries needed to link against LLVM components.\n\
174 --components List of all possible components.\n\
181 --shared-mode Print how the provided components can be collectively linked (`shared` or `static`).\n\
182 Typical components:\n\
197 /// the full list of components.
221 std::vector<StringRef> Components;
319 /// of the components provided are not available; note however that this is
452 } else if (Arg == "--components") {
456 std::vector<std::string> Components;
458 // Only include non-installed components when in a development tree.
462 Components.push_back(AvailableComponents[j].Name);
467 Components = GetAllDyLibComponents(IsInDevelopmentTree, true);
468 std::sort(Components.begin(), Components.end());
474 for (unsigned I = 0; I < Components.size(); ++I) {
479 OS << Components[I];
508 Components.push_back(Arg);
523 // If no components were specified, default to "all".
524 if (Components.empty())
525 Components.push_back("all");
530 ComputeLibsForComponents(Components,
602 } else if (!Components.empty()) {
603 errs() << "llvm-config: error: components given, but unused\n\n";