[PATCH] D14894: [PGO] Add --text-format option for llvm-profdata show|merge commands

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 16:13:48 PST 2015


davidxl created this revision.
davidxl added reviewers: vsk, xur.
davidxl added a subscriber: llvm-commits.

The new option allows user to
1) dump raw/indexed format into text profile format 
2) merge the profile and output into text profile format.

Note that Value Profiling data text format is not yet designed. That functionality will be added later.

http://reviews.llvm.org/D14894

Files:
  include/llvm/ProfileData/InstrProfWriter.h
  lib/ProfileData/InstrProfWriter.cpp
  test/tools/llvm-profdata/Inputs/basic.proftext
  test/tools/llvm-profdata/text-dump.test
  tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14894.40843.patch
Type: text/x-patch
Size: 9526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151121/92d44533/attachment-0001.bin>


More information about the llvm-commits mailing list