llvm-project/llvm/test/tools/llvm-profdata/Inputs
Rong Xu 2c684cfd94 [PGO] Fix bogus warning for merging empty llvm profile file
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
2016-10-19 22:51:17 +00:00
..
IR_profile.proftext [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
bad-hash.proftext
bar3-1.proftext
basic.proftext
c-general.profraw [profile] Remove another unneeded field in raw profile reader 2016-05-06 02:13:00 +00:00
clang_profile.proftext [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
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