Go to file
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
clang [cmake] Follow LLVM's lead in creating exported tool targets for clang tools. 2016-10-19 22:46:06 +00:00
clang-tools-extra [clang-tidy] Add cert-err09-cpp check alias. 2016-10-19 14:28:19 +00:00
compiler-rt [asan] Update test for D25715 2016-10-18 23:30:07 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Implement constexpr support for reverse_iterator. Reviewed as https://reviews.llvm.org/D25534 2016-10-19 15:12:50 +00:00
libcxxabi Fix typo in comment 2016-10-15 00:02:20 +00:00
libunwind [libunwind] Add missing <stdint.h> include. NFC. 2016-10-13 14:32:24 +00:00
lld Avoid using grep command in a test. 2016-10-19 21:07:29 +00:00
lldb Simplify GetGlobalProperties functions of Thread/Process/Target 2016-10-19 15:12:45 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [PGO] Fix bogus warning for merging empty llvm profile file 2016-10-19 22:51:17 +00:00
openmp Fix OpenMP 4.0 library build 2016-10-18 17:39:06 +00:00
parallel-libs [SE] Change CoreTests target name 2016-09-27 15:32:52 +00:00
polly [polly] Fix non-determinism in polly BlockGenerators 2016-10-19 17:56:49 +00:00