OSDN Git Service

Fix oat_writer to use WriteData which updates checksum.
authorJeff Hao <jeffhao@google.com>
Mon, 23 May 2016 21:30:44 +0000 (14:30 -0700)
committerJeff Hao <jeffhao@google.com>
Wed, 25 May 2016 18:05:08 +0000 (11:05 -0700)
commitc3b13a783cb2e4855d498af1a8d97cc51d07bf46
tree9998b26513df41ff1dc9813f45e1c4378068572b
parent29a7c68d297b6494a8c10ec1b67a8726d71f86f0
Fix oat_writer to use WriteData which updates checksum.

OatWriter was using WriteFully in some places instead.

Bug: 28874264

(cherry-picked from commit 5e7cbde3100b0bfb58277accc9d71a94636ea727)

Change-Id: I7dac3ad0597c210ba6e12e0cc1670277d7a28fc7
compiler/oat_writer.cc