1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/ProfileData
Fangrui Song adac7ac5fb [llvm-cov gcov] Don't require NUL terminator when reading files
.gcno, .gcda and source files can be modified while we are reading them. If the
concurrent modification of a file being read nullifies the NUL terminator
assumption, llvm-cov can trip over an assertion failure in MemoryBuffer::init.
This is not so rare - the source files can be in an editor and .gcda can be
written by an running process (if the process forks, when .gcda gets written is
probably more unpredictable).

There is no accompanying test because an assertion failure requires data
races with some involved setting.
2020-07-19 00:31:52 -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 [llvm-cov gcov] Don't require NUL terminator when reading files 2020-07-19 00:31:52 -07:00
InstrProf.cpp [PGO] Extend the value profile buckets for mem op sizes. 2020-07-15 10:26:15 -07: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
ProfileSummaryBuilder.cpp [NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder. 2020-07-09 16:38:19 -07: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