[compiler-rt] [clang-tools-extra] [clang] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)
Snehasish Kumar via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 12:24:37 PST 2024
================
@@ -0,0 +1,38 @@
+// RUN: %clang_profgen %s --target=ppc64le-unknown-linux-gnu -S \
+// RUN: -emit-llvm -o - | FileCheck %s --check-prefix=PROFGEN
+// RUN: %clang_profgen -o %t %s
+// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
----------------
snehasish wrote:
Good point, can we drop the `--target=ppc64le-unknown-linux-gnu` flag? It shouldn't make a difference to what we want to test here.
https://github.com/llvm/llvm-project/pull/76471
More information about the cfe-commits
mailing list