[llvm] [memprof] Fix a typo in writeMemProfV1 (PR #87890)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 7 08:31:31 PDT 2024


================
@@ -0,0 +1,19 @@
+REQUIRES: x86_64-linux
+
+RUN: echo ":ir" > %t.proftext
+RUN: echo "main" >> %t.proftext
+RUN: echo "742261418966908927" >> %t.proftext
+RUN: echo "1" >> %t.proftext
+RUN: echo "1" >> %t.proftext
+
+To update the inputs used below run Inputs/update_memprof_inputs.sh /path/to/updated/clang
+RUN: llvm-profdata merge %t.proftext %p/Inputs/basic.memprofraw --memprof-version=1 --profiled-binary %p/Inputs/basic.memprofexe -o %t.prof
----------------
teresajohnson wrote:

Since afaict this test is identical to the v0 version other than this RUN line - can you combine them and do 2 RUN invocations?

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


More information about the llvm-commits mailing list