]> granicus.if.org Git - clang/commit
Set function entry counts with -fprofile-instr-use.
authorDiego Novillo <dnovillo@google.com>
Wed, 27 May 2015 21:58:42 +0000 (21:58 +0000)
committerDiego Novillo <dnovillo@google.com>
Wed, 27 May 2015 21:58:42 +0000 (21:58 +0000)
commitd19add92787c0c2cf53f24ac0d3e33a4a7cb88ee
tree8ebb903ed356cf098d8d3e6d1fddeab865860c40
parentfcd25cd14846191161ab9663402d35c4d81ab28c
Set function entry counts with -fprofile-instr-use.

This generates function entry counts from instrumentation profiles.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238360 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPGO.cpp
test/Profile/Inputs/func-entry.proftext [new file with mode: 0644]
test/Profile/func-entry.c [new file with mode: 0644]