diff options
author | Vladimir Marko <vmarko@google.com> | 2019-11-01 14:59:36 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2019-11-05 09:42:18 +0000 |
commit | beb66b38dcce937d7eee9ef2d07b6402c720f8ee (patch) | |
tree | 4bdf0034b5fbd4aa6bb07c73f8c38f9eac03669e /compiler/optimizing/graph_visualizer.cc | |
parent | a48f0bbb2939fa743904f7553a060b12846f100e (diff) |
Fix boot image extension relocation.
Store boot image begin and size to the extension header as
it is needed for relocation; this requires rewriting the
ImageHeader::IsAppImage(). Also mark the class roots as
visited to satisfy a DCHECK() for extension relocation.
And re-enable loading boot image extensions for tests.
Test: Add relocation tests to dex2oat_image_test.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --relocate --no-relocate
Test: testrunner.py --target --64 --optimizing --relocate
Bug: 119800099
Change-Id: Ie7e883beaa927ca4dc91f0ae660c8de74f7d4ddb
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions