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 Fix a bug in test case -- duplicate entries 2015-12-20 08:49:31 +00:00
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 Add a compatibility test 2016-02-03 06:27:38 +00:00
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 [PGO] Handle and report overflow during profile merge for all types of data 2015-12-16 21:45:43 +00:00
overflow-sample.proftext [PGO] Handle and report overflow during profile merge for all types of data 2015-12-16 21:45:43 +00:00
sample-profile.proftext
text-format-errors.text.bin
vp-malform.proftext [PGO] Value profiling text format reader/writer support 2015-12-14 18:44:01 +00:00
vp-malform2.proftext [PGO] Value profiling text format reader/writer support 2015-12-14 18:44:01 +00:00
vp-truncate.proftext [PGO] Value profiling text format reader/writer support 2015-12-14 18:44:01 +00:00
weight-instr-bar.profdata [llvm-profdata] Add support for weighted merge of profile data (2nd try) 2015-12-15 17:37:09 +00:00
weight-instr-foo.profdata [llvm-profdata] Add support for weighted merge of profile data (2nd try) 2015-12-15 17:37:09 +00:00
weight-sample-bar.proftext [llvm-profdata] Add support for weighted merge of profile data (2nd try) 2015-12-15 17:37:09 +00:00
weight-sample-foo.proftext [llvm-profdata] Add support for weighted merge of profile data (2nd try) 2015-12-15 17:37:09 +00:00