[PATCH] D49917: [profile] Fix the tests for patch in https://reviews.llvm.org/D49916.
calixte via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 21 01:58:56 PDT 2018
calixte added inline comments.
================
Comment at: test/profile/Inputs/instrprof-dlopen-func.c.gcov:6
// CHECK-NEXT: -: 0:Programs:1
-// CHECK-NEXT: 1: 1:void func(int K) {}
+// CHECK-NEXT: -: 1:void func(int K) {}
----------------
marco-c wrote:
> Shouldn't this be 1?
With the patch to attach function line def to first block, we'll have 1. But here we've 0 since "ret void" isn't instrumented.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D49917
More information about the llvm-commits
mailing list