================
@@ -0,0 +1,38 @@
+! Test to check the working of option "-fprofile-sample-use".
+
+! RUN: %flang -### %s 2>&1 | FileCheck %s --check-prefix=NO-PROFILE-SAMPLE-USE
+! RUN: %flang -### -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s 2>&1 | 
FileCheck %s --check-prefix=PROFILE-SAMPLE-USE
----------------
kkwli wrote:

Perhaps add `-target x86_64-unknown-linux` here otherwise this will fail on AIX.

https://github.com/llvm/llvm-project/pull/188697
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to