summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-11-16 22:43:41 -0800
committerColin Cross <ccross@android.com>2018-11-29 11:22:55 -0800
commit2b41ccaa462f5faa92edde97504b785ddca415f5 (patch)
treef9308a43745ebd606ec0799663b2c1822078bea4 /compiler/optimizing/graph_visualizer.cc
parent90402ad6df38a5d4f268903aee5d7fe56791265f (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