[clang] [compiler-rt] [llvm] Migrate llvm-profdata to Opt flag parsing (PR #177868)

Prabhu Rajasekaran via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 20:19:07 PST 2026


================
@@ -52,64 +52,64 @@ int main() { return foo() - 3; }
 //
 // RUN: %clang_pgogen -flto -fno-function-sections -Wl,-bcdtors:all foo.o main.o
 // RUN: rm -f default* && %run ./a.out
-// RUN: llvm-profdata show --all-functions default* | FileCheck  %s -check-prefix=NONE
+// RUN: llvm-profdata show --all-functions default* | FileCheck  %s --check-prefix=NONE
----------------
Prabhuk wrote:

Why is FileCheck's -check-prefix is changed to --check-prefix here and across the other files?

https://github.com/llvm/llvm-project/pull/177868


More information about the cfe-commits mailing list