diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2011-11-06 19:57:04 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-06 19:57:04 +0000 |
| commit | 490aa6fd8739037b4760d7bed7b510c0c8dc95b9 (patch) | |
| tree | 96063f5547504c5058d084aec3c1c12cbafbb393 /llvm | |
| parent | f233dac67cc8b7fbbca48db22fc1a05de09bf964 (diff) | |
| download | bcm5719-llvm-490aa6fd8739037b4760d7bed7b510c0c8dc95b9.tar.gz bcm5719-llvm-490aa6fd8739037b4760d7bed7b510c0c8dc95b9.zip | |
Revert "llvm-config-2: Switch to using real library dependency table." while I
investigate build failure.
llvm-svn: 143888
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/llvm-config-2/llvm-config.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/llvm/tools/llvm-config-2/llvm-config.cpp b/llvm/tools/llvm-config-2/llvm-config.cpp index ec0daad0356..525f3992acc 100644 --- a/llvm/tools/llvm-config-2/llvm-config.cpp +++ b/llvm/tools/llvm-config-2/llvm-config.cpp @@ -43,7 +43,15 @@ using namespace llvm; // // Not all components define a library, we also use "library groups" as a way to // create entries for pseudo groups like x86 or all-targets. -#include "LibraryDependencies.inc" +// +// FIXME: Include real component table. +struct AvailableComponent { + const char *Name; + const char *Library; + const char *RequiredLibraries[1]; +} AvailableComponents[1] = { + { "all", 0, { } } +}; /// \brief Traverse a single component adding to the topological ordering in /// \arg RequiredLibs. @@ -256,6 +264,7 @@ int main(int argc, char **argv) { } else if (Arg == "--libfiles") { PrintLibFiles = true; } else if (Arg == "--components") { + OS << "all"; for (unsigned j = 0; j != array_lengthof(AvailableComponents); ++j) { OS << ' '; OS << AvailableComponents[j].Name; |

