[PATCH] D46776: [Option] Fix PR37006 prefix choice in findNearest

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 10:25:57 PDT 2019


thakis added a comment.
Herald added a project: LLVM.

I can repro the failure with the following diff. Investigating...

diff --git a/clang/test/Driver/unknown-arg.c b/clang/test/Driver/unknown-arg.c
index 4ea43278b7e..3e42ff0e2a4 100644

- a/clang/test/Driver/unknown-arg.c

+++ b/clang/test/Driver/unknown-arg.c
@@ -16,7 +16,7 @@
 // RUN: FileCheck %s --check-prefix=SILENT
 // RUN: not %clang -cc1as -hell --version 2>&1 | \
 // RUN: FileCheck %s --check-prefix=CC1AS-DID-YOU-MEAN
-// RUN: not %clang -cc1asphalt -help 2>&1 | \
+// RUN: not %clang --target=x86_64-scei-ps4-ubuntu -cc1asphalt -help 2>&1 | \
 // RUN: FileCheck %s --check-prefix=UNKNOWN-INTEGRATED

// CHECK: error: unknown argument: '-cake-is-lie'


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D46776/new/

https://reviews.llvm.org/D46776





More information about the llvm-commits mailing list