1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

The GCDA 402 format won't have a second checksum either.

llvm-svn: 184864
This commit is contained in:
Bill Wendling 2013-06-25 18:13:52 +00:00
parent 3e23cfcde6
commit 7d3ed86eaa

View File

@ -94,7 +94,7 @@ bool GCOVFunction::read(GCOVBuffer &Buff, GCOV::GCOVFormat Format) {
Buff.readInt(); // Function header length
Ident = Buff.readInt();
Buff.readInt(); // Checksum #1
if (Format != GCOV::GCNO_402)
if (Format != GCOV::GCNO_402 && Format != GCOV::GCDA_402)
Buff.readInt(); // Checksum #2
Name = Buff.readString();