]> granicus.if.org Git - clang/commit
CodeGen: Include a function hash in instrumentation based profiling
authorJustin Bogner <mail@justinbogner.com>
Tue, 18 Mar 2014 21:58:06 +0000 (21:58 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 18 Mar 2014 21:58:06 +0000 (21:58 +0000)
commit0ec537c758c02f77226f05404dd6f885fe5cc55e
tree888c2a1ba284d1233bb669064f1cc502652aefbb
parent771ed34680836f96111061f631c7c95714ba41dc
CodeGen: Include a function hash in instrumentation based profiling

The hash itself is still the number of counters, which isn't all that
useful, but this separates the API changes from the actual
implementation of the hash and will make it easier to transition to
the ProfileData library once it's implemented.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204186 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPGO.cpp
lib/CodeGen/CodeGenPGO.h
test/Profile/Inputs/c-attributes.profdata
test/Profile/Inputs/c-counter-overflows.profdata
test/Profile/Inputs/c-general.profdata
test/Profile/Inputs/c-outdated-data.profdata
test/Profile/Inputs/cxx-class.profdata
test/Profile/Inputs/cxx-throws.profdata
test/Profile/Inputs/objc-general.profdata
test/Profile/c-linkage.c
test/Profile/cxx-linkage.cpp