diff options
author | Colin Cross <ccross@android.com> | 2018-11-16 22:43:41 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-11-29 11:22:55 -0800 |
commit | 2b41ccaa462f5faa92edde97504b785ddca415f5 (patch) | |
tree | f9308a43745ebd606ec0799663b2c1822078bea4 /compiler/optimizing/graph_visualizer.cc | |
parent | 90402ad6df38a5d4f268903aee5d7fe56791265f (diff) |
Extract dex file if it is uncompressed but unaligned
A dex file would normally only be left in the zip file if it was both
uncompressed and unaligned, but explicitly setting CopyOptions::kNever
through --copy-dex-file=false would only check if the dex file was
uncompressed, not if it was aligned. Add a required alignment
argument to ZipEntry::MapDirectlyOrExtract so that the contents
will be extracted into memory if they don't meet the alignment
requirement.
Bug: 119412419
Test: m test-art-host-gtest-oat_writer_test
Change-Id: I4587e22165ee0a951ffca7db9a6f5c0d1ed2e56a
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions