1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-profdata
Rong Xu 040e4952d0 [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
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
raw-32-bits-le.test
raw-64-bits-be.test
raw-64-bits-le.test
raw-magic-but-no-header.test
raw-two-profiles.test
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