summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-02-28 20:17:30 -0800
committer Mathieu Chartier <mathieuc@google.com> 2017-03-01 11:34:44 -0800
commit497d5266380934ac78574a2a471d3dc0d8862708 (patch)
tree9ea3933f447ba68e7c044b9bdf4bbbc72d5bd91e /compiler/optimizing/instruction_builder.cc
parentfddc19338d9fdee24c4e10b758db1a6997004e2e (diff)
Handle RawData case for DexLayout
For vdex, the RawData dex file source is used. This was not compatible with the existing LayoutAndWriteDexFile code. Added handling to support RawData sources. Without the handing, it was incorrectly using GetRawFile and casting the dex file header to a File* causing a bogus fd number. Test: adb shell cmd package compile -a --reset Test: adb shell cmd package compile -a -m speed-profile Test: test-art-host Bug: 35761072 Change-Id: I74bdd17295479058e9245d1defb132df40fff474
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions