ec7f1a96683836d9375adc48c6bf802c0ce2160e |
|
14-Mar-2017 |
Jeff Hao <jeffhao@google.com> |
Added new -v option to dexlayout to verify output dex file. Passing -v will cause dexlayout to do an IR level comparison of the output with the original input dex file. This checks that the data in the dex files are the same, but allows for different offsets since the output dex file may have a different layout. Test: mm test-art-host Bug: 36107940 Change-Id: If75a93973ffdd2d91111727f089713c800d8cee8
|
9335749d25f8826c72ea7ea4d470ee8bc171fa87 |
|
09-Mar-2017 |
David Sehr <sehr@google.com> |
Add section size statistics Add an option to display the size of dex file sections for easier analysis. Bug: none Test: test-art-host Change-Id: I779f776657ad79e7a50c18c2b9486e6778c70f13
|
33083d626dbf2c8b06badfd73f50e98114483059 |
|
19-Jan-2017 |
Calin Juravle <calin@google.com> |
Rename offline_profiling_info to profile_compilation_info This solves a long standing TODO to align the names of the files and the class. Bug: 32434870 Test: test-art-host Change-Id: I2707da8fef8736a7223189d894fc00ff11bfab12
|
ea7c62983beec6a5a2a6676cc910a436b20ae92c |
|
15-Nov-2016 |
Jeff Hao <jeffhao@google.com> |
Dexlayout cleanup and refactoring. Created option to output to a mem map in preparation of hooking dexlayout into dex2oat. Test: mm test-art-host-gtest-dexlayout_test Bug: 29921113 Change-Id: Id42ef15cb8f83cc8d05b025b7647a4338e9b96b0
|
caacd11864383aac65e61be837fb1bb5f91e3878 |
|
21-Oct-2016 |
David Sehr <sehr@google.com> |
Move dex CFG dumping out of utils.cc Move CFG dumping to dexdump, the only client. Bug: 22322814 Test: test-art-host Change-Id: I0f39f1d5dfc446419d26d709b78d04e45616f42c
|
f57589fd40e5b69dad5aff060ccef756507f381a |
|
17-Oct-2016 |
David Sehr <sehr@google.com> |
Remove logging dependency on runtime Moved the abort backtracing function to runtime, forcing callers to supply the aborter at InitLogging. This makes runtime properly layer on top of logging by removing the cyclic dependency. Bug: 22322814 Test: test-art-host Change-Id: I8b2e72174e937bb88fe1bddd6d04b564cfb011a9
|
a86210038524cecd0d96d6ba6f8f116da348a25c |
|
04-Oct-2016 |
Jeff Hao <jeffhao@google.com> |
Revert "Revert "Add dex file writer to dexlayout tool."" This reverts commit fd1a6c2a08ca3e2476b7424b9b0fa58e73b29e87. Fixed output being clobbered during DexLayoutTest.DexFileOutput. Option added to put dex output file in scratch directory. Bug: 29921113 Test: mm test-art-host-gtest-dexlayout_test Change-Id: I9e6b139cf06aaa39c83ad1e74329db266464a8e4
|
cdcfde74ccd72c60dc9456013e32d8b00fefdee6 |
|
26-Sep-2016 |
David Sehr <sehr@google.com> |
Option to gnuplot dex layout Display the portions of the dex file that are accessed by the classes in the dex file. Optionally limit the display to only those classes that are present in a runtime profile. Bug: 29921113 Change-Id: I2a998fba448fec6c23941d3b4358531b1336e1b3 Test: dexlayout test
|
3ab96b460684781af58b3f9c5b9fb0e370de6b50 |
|
10-Sep-2016 |
Jeff Hao <jeffhao@google.com> |
Dexlayout changes to support offset/size output of items. - Created offset & size fields for items, initially populated with values from original dex file. - Created index field for indexed items in header. - Created Item objects for StringData and TypeList. - Created Collections container to hold unique_ptrs for all objects - Reorganized EncodedArrayItems to make it easier to collect them - Added relevant annotations-related items to Collections - Some size calculations and section offsets left as TODO Bug: 29921113 Test: mm test-art-host-gtest-dexlayout_test Change-Id: Id812f104c1930a3ee381e885f353a9a49f29ac9b
|
9aa352e92b6ca0f2250cb7f54dfbf4b1be714c19 |
|
16-Sep-2016 |
David Sehr <sehr@google.com> |
Remove TypeLookupTable from DexFile. One more step towards removing runtime dependencies from the DexFile API. This severs the ties to OatFile. Work remains to move MemMap out of DexFile. Bug: 22322814 Change-Id: I29e7ad8fd292c7919ed2689dc754b958b88d6819 Test: test-art-host
|
7629f60ffa7b8533ea0b50263d52cc1df72b2904 |
|
08-Aug-2016 |
David Sehr <sehr@google.com> |
Add dex file intermediate representation Add an intermediate representation, constructed from the DexFile utilities, that can be used to optimize the layout and re-emit dex files. BUG: 29921113 TEST: TODO: Add dex files to compare output with dexdump (cherry-picked from commit af14d9f551e6169c201dc7981d9cfbcb53c7d2c7) Change-Id: I3dacb78fad5228e43d77f20b110bd40e0e116cdb
|
af14d9f551e6169c201dc7981d9cfbcb53c7d2c7 |
|
08-Aug-2016 |
David Sehr <sehr@google.com> |
Add dex file intermediate representation Add an intermediate representation, constructed from the DexFile utilities, that can be used to optimize the layout and re-emit dex files. BUG: b/29921113 Change-Id: I62c7a2bf98320eb73e6c7f8ffa0fff0f392bf32d TEST: TODO: Add dex files to compare output with dexdump
|