[PATCH] D33111: Change sample profile writer to make it deterministic.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 16:23:56 PDT 2017


danielcdh created this revision.

This patch changes the function profile output order to be deterministic. In order to make it easier to understand, hottest functions (with most total samples) is ordered first.


https://reviews.llvm.org/D33111

Files:
  include/llvm/ProfileData/SampleProfWriter.h
  lib/ProfileData/SampleProfWriter.cpp
  test/tools/llvm-profdata/sample-profile-basic.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33111.98700.patch
Type: text/x-patch
Size: 3957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/3ed88c2b/attachment.bin>


More information about the llvm-commits mailing list