mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
a0537de57c
Creating BinaryCoverageReader is a strange and complicated dance where the constructor sets error codes that member functions will later read, and the object is in an invalid state if readHeader isn't immediately called after construction. Instead, make the constructor private and add a static create method to do the construction properly. This also has the benefit of removing readHeader completely and simplifying the interface of the object. llvm-svn: 230676 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CoverageMapping.cpp | ||
CoverageMappingReader.cpp | ||
CoverageMappingWriter.cpp | ||
InstrProf.cpp | ||
InstrProfIndexed.h | ||
InstrProfReader.cpp | ||
InstrProfWriter.cpp | ||
LLVMBuild.txt | ||
Makefile | ||
SampleProf.cpp | ||
SampleProfReader.cpp | ||
SampleProfWriter.cpp |