llvm-project/llvm/lib/ProfileData
Fangrui Song 013f06703e [gcov] Emit GCOV_TAG_OBJECT_SUMMARY/GCOV_TAG_PROGRAM_SUMMARY correctly and fix llvm-cov's decoding of runcount
gcov 9 (r264462) started to use GCOV_TAG_OBJECT_SUMMARY. Before,
GCOV_TAG_PROGRAM_SUMMARY was used.
libclang_rt.profile should emit just one tag according to the version.

Another bug introduced by rL194499 is that the wrong runcount field was
selected.

Fix the two bugs so that gcov can correctly decode "Runs:" from
libclang_rt.profile produced .gcda files, and llvm-cov gcov can
correctly decode "Runs:" from libgcov produced .gcda files.
2020-05-11 21:53:53 -07:00
..
Coverage [Coverage] Collect all function records in an object (D69471 followup) 2020-03-02 12:01:09 -08:00
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
GCOV.cpp [gcov] Emit GCOV_TAG_OBJECT_SUMMARY/GCOV_TAG_PROGRAM_SUMMARY correctly and fix llvm-cov's decoding of runcount 2020-05-11 21:53:53 -07:00
InstrProf.cpp Reland: [Coverage] Revise format to reduce binary size 2020-02-28 18:12:04 -08:00
InstrProfReader.cpp [InstrProf] Silence warnings when targeting x86 with VS2019 16.5.4 2020-05-06 09:12:00 -04:00
InstrProfWriter.cpp [PGO] Fix typos from r359612. NFC. 2019-10-01 18:06:50 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProfileSummaryBuilder.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
SampleProf.cpp [SampleFDO] Port MD5 name table support to extbinary format. 2020-03-30 22:07:08 -07:00
SampleProfReader.cpp [gcov] Fix .gcda decoding and support GCC 8, 9 and 10 2020-05-10 09:55:23 -07:00
SampleProfWriter.cpp [SampleFDO] Port MD5 name table support to extbinary format. 2020-03-30 22:07:08 -07:00