[PATCH] D16028: If we don't recognise the target, explicitly specify the executable that can list targets.
    Wilfred Hughes via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Jan 17 15:48:27 PST 2016
    
    
  
Wilfred removed rL LLVM as the repository for this revision.
Wilfred updated this revision to Diff 45135.
Wilfred added a comment.
Updated wording following feedback.
http://reviews.llvm.org/D16028
Files:
  lib/Support/TargetRegistry.cpp
Index: lib/Support/TargetRegistry.cpp
===================================================================
--- lib/Support/TargetRegistry.cpp
+++ lib/Support/TargetRegistry.cpp
@@ -73,8 +73,7 @@
   auto I = std::find_if(targets().begin(), targets().end(), ArchMatch);
 
   if (I == targets().end()) {
-    Error = "No available targets are compatible with this triple, "
-      "see -version for the available targets.";
+    Error = "No available targets are compatible with this triple.";
     return nullptr;
   }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16028.45135.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160117/ee08f92c/attachment.bin>
    
    
More information about the llvm-commits
mailing list