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.

llvm-svn: 340510
This commit is contained in:
JF Bastien 2018-08-23 03:55:24 +00:00
parent a1cca516eb
commit 4734fa1428
1 changed files with 1 additions and 1 deletions

View File

@ -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"