diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-07-27 16:20:45 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-07-27 16:20:45 +0000 |
commit | 269497e3c37764ceb4e87ce9763412aca118c99d (patch) | |
tree | 9d625d67f9235f91f19f17272d2677c3a15a5ab1 /lib | |
parent | 7a0666d0f312ee33dba0935018e7b758b89d202c (diff) |
Revert r304899 and r304836: It's not clear printing all targets with --version is the right thing to do (see discussion on D33900)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@309285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Driver/Driver.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 1d35d6e78c..444bbbc550 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -69,7 +69,6 @@ #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Process.h" #include "llvm/Support/Program.h" -#include "llvm/Support/TargetRegistry.h" #include "llvm/Support/raw_ostream.h" #include <map> #include <memory> @@ -1193,10 +1192,6 @@ bool Driver::HandleImmediateArgs(const Compilation &C) { if (C.getArgs().hasArg(options::OPT__version)) { // Follow gcc behavior and use stdout for --version and stderr for -v. PrintVersion(C, llvm::outs()); - - // Print registered targets. - llvm::outs() << '\n'; - llvm::TargetRegistry::printRegisteredTargetsForVersion(llvm::outs()); return false; } |