diff options
author | 2022-01-21 15:52:32 +0000 | |
---|---|---|
committer | 2022-01-24 15:07:10 +0000 | |
commit | ed0dcade7b6ceda3c2406383f0e86a376404038a (patch) | |
tree | d043d3a23904cd1f2eb6e5c2d8ad43cb2d4ec95b /runtime/gc/reference_processor.cc | |
parent | c29cd1fb55b050510bdf5f239c37b479e3b39655 (diff) |
Fail dex2oat when generating app image without boot image.
When the boot image is unavailable, an app image or a boot image
extension cannot be generated. Before this change, dex2oat crashes at
`CHECK_NE(image_begin, 0U)` in `ImageWriter`. After this change, dex2oat
returns early with a user friendly error message.
Bug: 211973309
Bug: 215665835
Test: atest art_standalone_dex2oat_tests
Change-Id: Ic6ca2cdade08b8f7c7ae4d06fc52aedafd71beab
Diffstat (limited to 'runtime/gc/reference_processor.cc')
0 files changed, 0 insertions, 0 deletions