forked from OSchip/llvm-project
b9f547e8e5
Some tests with binary IDs would fail with error: no profile can be merged. This is because raw profiles could have unaligned headers when emitting binary IDs. This means padding should be emitted after binary IDs are emitted to ensure everything else is aligned. This patch adds padding after each binary ID to ensure the next binary ID size is 8-byte aligned. This also adds extra checks to ensure we aren't reading corrupted data when printing binary IDs. Differential Revision: https://reviews.llvm.org/D110365 |
||
---|---|---|
.. | ||
Coverage | ||
CMakeLists.txt | ||
GCOV.cpp | ||
InstrProf.cpp | ||
InstrProfReader.cpp | ||
InstrProfWriter.cpp | ||
ProfileSummaryBuilder.cpp | ||
SampleProf.cpp | ||
SampleProfReader.cpp | ||
SampleProfWriter.cpp |