diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 23:32:35 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-08 23:32:35 +0000 |
commit | 6119d878bb6c2a7ad1b716261dd9ad7a9157c486 (patch) | |
tree | a2c644e1167f8bb4f799801f98cd4df68e2b98d7 /llvm/lib/Support/TargetRegistry.cpp | |
parent | 22833a3cd6f24892ffb45105f13f6dbb82168921 (diff) | |
download | bcm5719-llvm-6119d878bb6c2a7ad1b716261dd9ad7a9157c486.tar.gz bcm5719-llvm-6119d878bb6c2a7ad1b716261dd9ad7a9157c486.zip |
Improve JIT error message for users crazy enough to use -march with JIT, and
mention -version in messages about missing targets.
llvm-svn: 81272
Diffstat (limited to 'llvm/lib/Support/TargetRegistry.cpp')
-rw-r--r-- | llvm/lib/Support/TargetRegistry.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/TargetRegistry.cpp b/llvm/lib/Support/TargetRegistry.cpp index 79f30a71f2b..5896447f5ea 100644 --- a/llvm/lib/Support/TargetRegistry.cpp +++ b/llvm/lib/Support/TargetRegistry.cpp @@ -40,7 +40,8 @@ const Target *TargetRegistry::lookupTarget(const std::string &TT, } if (!Best) { - Error = "No available targets are compatible with this triple"; + Error = "No available targets are compatible with this triple, " + "see -version for the available targets."; return 0; } |