OSDN Git Service

Fixed OatWriter checksum for raw data case
authorMathieu Chartier <mathieuc@google.com>
Thu, 2 Mar 2017 17:49:03 +0000 (09:49 -0800)
committerMathieu Chartier <mathieuc@google.com>
Thu, 2 Mar 2017 18:11:35 +0000 (10:11 -0800)
commite682d901f34050b9df4d7a519abf91eb6cd61a7b
treeebec8276fec464702fcc9ae08e4845d683718b5c
parentf040eca7329382d48dc2b8bfc228ee3f27c9f13d
Fixed OatWriter checksum for raw data case

The checksum from the dex file seems to be incorrect, use the one
from the OatDexFile since it matches the original dex checksum.

Regression test in follow up CL.

Test: test-art-host-gtest -j32

Bug: 35761072
Change-Id: I79f0e720c9a2fc33286c4d4c1ef4ab9d194533a9
compiler/oat_writer.cc