[llvm] [llvm-profgen] Harden perf script invocation (PR #212253)

Sergey Shcherbinin via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 06:23:07 PDT 2026


================
@@ -0,0 +1,46 @@
+# RUN: split-file %s %t
+# RUN: yaml2obj %t/binary.yaml -o %t/perf-binary-error.exe
+# RUN: touch %t/perf.data
+
+# RUN: not llvm-profgen --binary=%t/perf-binary-error.exe \
+# RUN:   --perfdata=%t/perf.data --perf-binary yaml2obj --output=/dev/null \
----------------
SergeyShch01 wrote:

Ok, added a comment

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


More information about the llvm-commits mailing list