llvm-project/llvm/test/tools/llvm-profdata
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
..
Inputs [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
c-general.test [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
compat.proftext
count-mismatch.proftext
gcc-gcov-sample-profile.test
general.proftext
hash-mismatch.proftext
inline-samples.test [llvm-profdata] Bring back reading profile data from STDIN. 2016-07-22 12:39:55 +00:00
input-dir.test Fix test failure on Win 2016-07-20 22:53:39 +00:00
input-filenames.test Reapply r276185 2016-07-20 22:24:52 +00:00
lit.local.cfg
merge_empty_profile.test [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
multiple-inputs.test Retry: [llvm-profdata] Speed up merging by using a thread pool 2016-07-19 01:17:20 +00:00
overflow-instr.test
overflow-sample.test
raw-32-bits-be.test [profile] Remove another unneeded field in raw profile reader 2016-05-06 02:13:00 +00:00
raw-32-bits-le.test [profile] Remove another unneeded field in raw profile reader 2016-05-06 02:13:00 +00:00
raw-64-bits-be.test [profile] Remove another unneeded field in raw profile reader 2016-05-06 02:13:00 +00:00
raw-64-bits-le.test [profile] Remove another unneeded field in raw profile reader 2016-05-06 02:13:00 +00:00
raw-magic-but-no-header.test
raw-two-profiles.test [profile] Remove another unneeded field in raw profile reader 2016-05-06 02:13:00 +00:00
sample-profile-basic.test
text-dump.test
text-format-errors.test
value-prof.proftext [Profile] dump ic value profile value/site-count histogram 2016-09-20 21:04:22 +00:00
weight-instr.test
weight-sample.test