forked from OSchip/llvm-project
2c684cfd94
Profile runtime can generate an empty raw profile (when there is no function in the shared library). This empty profile is treated as a text format profile. A test format profile without the flag of "#IR" is thought to be a clang generated profile. So in llvm profile merging, we will get a bogus warning of "Merge IR generated profile with Clang generated profile." The fix here is to skip the empty profile (when the buffer size is 0) for profile merge. Reviewers: vsk, davidxl Differential Revision: http://reviews.llvm.org/D25687 llvm-svn: 284659 |
||
---|---|---|
.. | ||
IR_profile.proftext | ||
bad-hash.proftext | ||
bar3-1.proftext | ||
basic.proftext | ||
c-general.profraw | ||
clang_profile.proftext | ||
compat.profdata.v1 | ||
compat.profdata.v2 | ||
compat.profdata.v4 | ||
empty.proftext | ||
extra-word.proftext | ||
foo3-1.proftext | ||
foo3-2.proftext | ||
foo3bar3-1.proftext | ||
gcc-sample-profile.gcov | ||
inline-samples.afdo | ||
invalid-count-later.proftext | ||
no-counts.proftext | ||
overflow-instr.proftext | ||
overflow-sample.proftext | ||
sample-profile.proftext | ||
text-format-errors.text.bin | ||
vp-malform.proftext | ||
vp-malform2.proftext | ||
vp-truncate.proftext | ||
weight-instr-bar.profdata | ||
weight-instr-foo.profdata | ||
weight-sample-bar.proftext | ||
weight-sample-foo.proftext |