Skip to content

Commit e0f4dea

Browse files
committed
Don't assume the clang binary name contains the string "clang".
Also ensure the -cc1 argument is actually part of the clang -cc1 command line rather than some unrelated command line.
1 parent 10ddb92 commit e0f4dea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎clang/test/Driver/aix-vec-extabi.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-extabi %s 2>&1 | \
22
// RUN: FileCheck %s
33

4-
// CHECK: {{.*}}clang{{.*}}" "-cc1"
5-
// CHECK: "-mabi=vec-extabi"
4+
// CHECK: "-cc1"
5+
// CHECK-SAME: "-mabi=vec-extabi"
66

77
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-default %s 2>&1 | \
88
// RUN: FileCheck %s --check-prefix=ERROR

0 commit comments

Comments
 (0)