Author: jfb Date: Wed Aug 22 20:55:24 2018 New Revision: 340510 URL: http://llvm.org/viewvc/llvm-project?rev=340510&view=rev Log: Improve incompatible triple error
When complaining that the triple is incompatible with all targets, print out the triple not just a generic error about triples not matching. Modified: cfe/trunk/test/CodeGen/pr18235.c Modified: cfe/trunk/test/CodeGen/pr18235.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/pr18235.c?rev=340510&r1=340509&r2=340510&view=diff ============================================================================== --- cfe/trunk/test/CodeGen/pr18235.c (original) +++ cfe/trunk/test/CodeGen/pr18235.c Wed Aug 22 20:55:24 2018 @@ -1,3 +1,3 @@ // RUN: not %clang_cc1 -triple le32-unknown-nacl %s -S -o - 2>&1 | FileCheck %s -// CHECK: error: unable to create target: 'No available targets are compatible with this triple. +// CHECK: error: unable to create target: No available targets are compatible with triple "le32-unknown-nacl" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits