[PATCH] D36246: Fix the bug when SampleProfileWriter writes out number of callsites.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 16:51:36 PDT 2017


danielcdh added inline comments.


================
Comment at: test/tools/llvm-profdata/Inputs/sample-profile.proftext:13
  9: 2064 _Z3bari:1471 _Z3fooi:631
+ 10: inline1:1000
+  1: 1000
----------------
davidxl wrote:
> What does this actually test?
It tests if the profile reader/writer can handle 2 functions inlined at the same location. Without the patch, the test will fail.


https://reviews.llvm.org/D36246





More information about the llvm-commits mailing list