[PATCH] D15211: [ProfileData] Add unit test infrastructure for sample profile reader/writer

Nathan Slingerland via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 14:57:14 PST 2015


slingn created this revision.
slingn added reviewers: davidxl, dnovillo, silvas.
slingn added a subscriber: llvm-commits.

Adds support for in-memory round-trip of sample profile data along with basic
round trip unit tests. This will also make it easier to include unit tests for
future changes to sample profiling.

http://reviews.llvm.org/D15211

Files:
  include/llvm/ProfileData/SampleProfReader.h
  include/llvm/ProfileData/SampleProfWriter.h
  lib/ProfileData/SampleProfReader.cpp
  lib/ProfileData/SampleProfWriter.cpp
  unittests/ProfileData/CMakeLists.txt
  unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15211.41807.patch
Type: text/x-patch
Size: 11858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151203/9a752626/attachment.bin>


More information about the llvm-commits mailing list