[llvm] [llvm-profdata] Enabled functionality to write split-layout profile (PR #101795)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 10:35:15 PDT 2024


================
@@ -0,0 +1,2 @@
+RUN: llvm-profdata merge --sample --extbinary --split_layout %p/Inputs/sample-profile.proftext -o %t-output
+RUN: diff %t-output %p/Inputs/split-layout.profdata
----------------
minglotus-6 wrote:

One way to avoid checking in binary file is to convert it to text format (with `llvm-profdata merge --text`) as input, and convert it back to binary file with a `RUN` line.

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


More information about the llvm-commits mailing list