d5370b6315ee137744746479003c9d07185f34f0 |
|
10-Jul-2017 |
Orion Hodson <oth@google.com> |
Revert^2 "Refinements relating to invoke-custom" This reverts commit bd6107f1deec28e1184bfa4fd5a717d6b35b259d. Use the dump informatin from dx to validate call sites rather using dexdump. The latter is not available in the buildbot build. Bug: 36641082 Test: dalvik/dx/tests/run-all-tests Test: dalvik/dx/tests/run-test 135 Change-Id: Id7126010bc84f9bade956c9a4c8c1c5563a307fe
|
bd6107f1deec28e1184bfa4fd5a717d6b35b259d |
|
07-Jul-2017 |
Nicolas Geoffray <ngeoffray@google.com> |
Revert "Refinements relating to invoke-custom" Breaks dx tests. This reverts commit ff80988c1d58ccc63f12e61cce1417c4f5239eee. Change-Id: I822b6cfb81c99d2d92bb560b8cedfaea42913344
|
ff80988c1d58ccc63f12e61cce1417c4f5239eee |
|
05-Jul-2017 |
Orion Hodson <oth@google.com> |
Refinements relating to invoke-custom Move assignment of call site references in dx to avoid call site duplication. Previously we were allocating call site references in the BytecodeArray when visiting instructions, but there are two visitors that are applied to instructions :- the BasicBlocker and the Simulator. Allocation now happens in the Simulator visitor. Update dexdump to print call site offset of each listed callsite to enable calculating the number of call site ids and call site instances. Update 135-invoke-custom test to sanity check the number of call sites and call site ids. Do not allow dx/tests/run-test to report success if it fails when run with --update. Bug: 36641082 Test: dalvik/dx/tests/run-all-tests Test: dalvik/dx/tests/run-test 135 Change-Id: I8bb1f6c99c97c7a9fa785503df4f66c9e9b80672
|
03a41e081d63f1dec236a0b0521d8c2300a622e0 |
|
10-Apr-2017 |
Orion Hodson <oth@google.com> |
Fix missing receiver type information in invoke-custom Bug: 36957105 Test: manual using the dex file generated by dx/tests/135-invoke-custom Change-Id: I28db8c013a63cebce8a6202dc3241bb494153b80
|
3b4a636bfdca8ef288c8a6baf87cd2950a50c63a |
|
17-Feb-2017 |
Orion Hodson <oth@google.com> |
Nits following invoke-custom support Bug: 30550796,33191717,33231751 Test: manually tested with DEX files generated from ART run-tests. Change-Id: Ia87ab182517af649899c4a9d1b1bbbe8a8a1010b
|
fa5e510d770070f8e7f47d126f5be138aa55cb84 |
|
14-Feb-2017 |
Orion Hodson <oth@google.com> |
Add support invoke-custom to dexdump o Update bytecode.txt with codepoints for invoke-custom instructions and run opcode-gen/regen-all. o Update dexdump to support invoke-custom with output equivalent to dexdump2. Bug: 30550796,33191717,33231751 Test: manually tested with DEX files generated from ART run-tests. Change-Id: If2cedea21875e93525c4850005d335901897484a
|
ab9e85c38ce771b506b90ee81586c594c7c5ac4e |
|
01-Feb-2017 |
Orion Hodson <oth@google.com> |
Add support invoke-polymorphic to dexdump o Update bytecode.txt with codepoints for invoke-polymorphic instructions and run opcode-gen/regen-all. o Update dexdump to support invoke-polymorphic with output equivalent to dexdump2. o Add format classes to dexgen and dx. Bug: 30550796 Test: manually tested with DEX files generated from ART run-tests. Change-Id: I986a896747d73e11418ba1876cce86087b4a9e68
|
fea78952d08306474af70f1e2096384c8e43ea86 |
|
09-Jul-2016 |
Aart Bik <ajcbik@google.com> |
Fix clang static analyzer on potential memory leak. Rationale: This was not really a leak, but the combination of stack/heap allocated data structures with a single re-allocation was a bit complex for static analysis. BUG=30040701 Change-Id: Ia5a6fda9d146a0a27e65fe146e6cedda212ae8c7
|
1a65052468068a4e9a859d185860510aa1d8cfd4 |
|
08-Jul-2015 |
Aart Bik <ajcbik@google.com> |
Revert "Remove libdex (including dexdump/list)." This reverts commit 48a66c5d261c333fc3d672e910b26cd6b1a05083. REASON: win_sdk is not happy with my migration :-( Change-Id: Ib5d25b65ffef8bebc42fc586d2c65add04aa2b54
|
48a66c5d261c333fc3d672e910b26cd6b1a05083 |
|
08-Jul-2015 |
Aart Bik <ajcbik@google.com> |
Remove libdex (including dexdump/list). Rationale: Utilities dexdump and dexlist are now provided by Art. This CL removes the utilities and supporting libdex. Bug: 22322814 Change-Id: I032d6e4021a2c75b530e6116bca03c6a8dead2c3
|
defd605929f3d8506cd5ef3c9a591afe1684c8a4 |
|
12-Jun-2015 |
Aart Bik <ajcbik@google.com> |
Fixed compiler warnings in dexdump. Rationale: the warnings were relatively harmless but unnecessary; it is better to get all types correctly. Bug: 17442393 Change-Id: Icc63c42ce8539612592d9c4b96c796c9ca6c50ae
|
5d71a6de16bfa5822bb03778a2a05146312b4296 |
|
28-Apr-2015 |
Narayan Kamath <narayan@google.com> |
Fix a couple of unused parameter warnings in dexdump / dexlist. Change-Id: Icbf3f1c332a2a06dfe0eb9037d32379329a63a4c
|
da4a0999bdffd2f73154d25768de32183db35967 |
|
04-Aug-2011 |
Carl Shapiro <cshapiro@google.com> |
Print proto_ids_{size,off} along with the rest of the header. (cherry picked from commit 6e5f79ce9af380d12238a4ed958cdb56e5490ced) Change-Id: Ie1df9e0f23d8f5fcea4b6ed7487c61a8182e1a65
|
f1aa871d4d39dc7f6bcbd8cb77a9f54c6cbd2ae9 |
|
25-Dec-2012 |
You Kim <you.kim72@gmail.com> |
DexDump: Leak in FieldMethodInfo.signature Free pMethInfo->signature when filled by getMethodInfo. Change-Id: Id278d732374daceb7b8b05be7f433af25eee0c27
|
35ecedd8eacfd38b833135170a38221b54476c86 |
|
06-Aug-2012 |
Elliott Hughes <enh@google.com> |
Don't crash on invalid string/type ids. Bug: http://code.google.com/p/android/issues/detail?id=35934 Change-Id: I7bf31f6c80c794beb3554ad2f60ed5ebbca0c65e
|
b210a9f9c7ae17e2028a86d9a4e9a3b35472862a |
|
15-Jul-2012 |
SangWook Han <sangwook.han@gmail.com> |
Use uintptr_t for cast pointer to integer. On 64bit host, sizeof pointer is not equal to sizeof int/u4. Need for host tools. Change-Id: Id8d9418787e79523226b9c9e3f67277f9ac7c6aa
|
ab35b50311951feea3782151dd5422ee944685c2 |
|
05-Jan-2012 |
Elliott Hughes <enh@google.com> |
Remove unsupported experimental opcodes. External developers were starting to try to get themselves into trouble with this stuff... Change-Id: I2b03bfeaa8c98b6a994bc7924fc8dcf4e4d4f6cb
|
d862faa2ceae186da5518607505eb942d634ced9 |
|
28-Apr-2011 |
Carl Shapiro <cshapiro@google.com> |
Get rid of uneeded extern, enum, typedef and struct qualifiers. Change-Id: I236c5a1553a51f82c9bc3eaaab042046c854d3b4
|
bfc9799b1a53fd6f6136d07e6278d4538cf70f13 |
|
27-Apr-2011 |
Carl Shapiro <cshapiro@google.com> |
Make libdex structures tool friendly. Previously, the struct name and its typedef name were identical. This confuses emacs and etags. This change eliminates the typedef names and removes the extern "C" wrapping the libdex header files. To support this change the transitive C dependencies have been made to compile as C++ instead. Change-Id: I7065f32d61d776f9b09c7b461adf2502268d852f
|