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 | 0247656d0aaaee69ab20ff0ad56536bff38b3715 (patch) | |
tree | f1604b79e3f5966557a7870b62ed10a20e07265e /lib/Support/TargetRegistry.cpp | |
parent | d50c2b90647cd34092a106a7124529784b133cee (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.cpp | 3 |
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; } |