diff options
author | Jeff Hao <jeffhao@google.com> | 2017-02-23 16:14:04 -0800 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2017-02-24 10:47:43 -0800 |
commit | e17f589d8fa46d0d0179499354b7967801f9582c (patch) | |
tree | ab0d1d2c46c8016c0f13a7469333d895ad3fab0d /test/ProfileTestMultiDex | |
parent | 06f658ab309a5f1930b8a6bc306ef79d0ef0616e (diff) |
Dexlayout fix for duplicate class data and preserving last code item.
This change fixes a dexlayout issue when multiple class defs reference
the same class data. A set is used to tell what class data has already
been visited.
This change also makes dexlayout preserve the offset of the last code
item in the dex file if the following section is not 4-byte aligned.
Due to limitations in dexlayout, it is difficult to adjust the offsets
of sections if more space is needed. An overhaul of dexlayout should
be done to properly fix this.
Bug: 35451910
Test: mm test-art-host-gtest-dexlayout_test
Change-Id: I8d066c2151a1a57c382ce35f12bf53a519da89f6
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions