summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-03-09 11:14:50 -0800
committer Mathieu Chartier <mathieuc@google.com> 2016-03-09 16:34:37 -0800
commit6f6b134e39e7f01cf6c029ce1f95fcadb642cbc3 (patch)
tree8890d92ae6824c56414dd4129c81a6fd6c85f69e /compiler/common_compiler_test.h
parent39731ac67b591d84711a34f671a48229933cddc7 (diff)
Use PwriteFully and write image header last
Prevent corrupted images if dex2oat gets killed or if the image writer is interrupted during writing. Bug: 22858531 Bug: 27561308 (cherry picked from commit dba5a70977da0a28cec2bfc8261d52a177738477) Change-Id: If4f2c43bcc3cf918b5d2780f1709225b5a4ce116
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions