Skip to content

Commit f92551b

Browse files
committed
[Driver][test] pgo-sample-use-profi.c: specify --target=
Some targets (e.g. AIX) report an error for certain unimplemented features, making Clang exit with 1.
1 parent 0c2cd74 commit f92551b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/// Test if profi flat is enabled in frontend as user-facing feature.
2-
// RUN: %clang -c -fsample-profile-use-profi -fprofile-sample-use=/dev/null -### %s 2>&1 | FileCheck %s
2+
// RUN: %clang --target=x86_64 -c -fsample-profile-use-profi -fprofile-sample-use=/dev/null -### %s 2>&1 | FileCheck %s
33

44
// CHECK: "-mllvm" "-sample-profile-use-profi"

0 commit comments

Comments
 (0)