aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/TargetRegistry.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-08 23:32:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-08 23:32:35 +0000
commit0247656d0aaaee69ab20ff0ad56536bff38b3715 (patch)
treef1604b79e3f5966557a7870b62ed10a20e07265e /lib/Support/TargetRegistry.cpp
parentd50c2b90647cd34092a106a7124529784b133cee (diff)
Improve JIT error message for users crazy enough to use -march with JIT, and
mention -version in messages about missing targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/TargetRegistry.cpp')
-rw-r--r--lib/Support/TargetRegistry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/TargetRegistry.cpp b/lib/Support/TargetRegistry.cpp
index 79f30a71f2..5896447f5e 100644
--- a/lib/Support/TargetRegistry.cpp
+++ b/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;
}