OSDN Git Service

Add dexlayout support for call sites and method handles.
authorJeff Hao <jeffhao@google.com>
Fri, 28 Apr 2017 01:00:38 +0000 (18:00 -0700)
committerJeff Hao <jeffhao@google.com>
Fri, 5 May 2017 18:19:07 +0000 (11:19 -0700)
commit7641ef46c43c3da0e2ea778226914b4995b35ff9
treeed8b9c6ec22e2689b47887423ea1502b256a5366
parent776d58337879d6a7efe7330d549d0105093ecab5
Add dexlayout support for call sites and method handles.

Tested that it works with Orion's test dex files. Can generate output
files that match the test input files.

Unit tests to follow.

Bug: 37732062
Test: mm test-art-host

(cherry-picked from commit 5daee90642aa44ac67e7e0c200204c86fa5425a8)

Change-Id: I834a1558506e99de17010d74dc5e8d83835f7f96
dexlayout/dex_ir.cc
dexlayout/dex_ir.h
dexlayout/dex_ir_builder.cc
dexlayout/dex_writer.cc
dexlayout/dex_writer.h
runtime/dex_file.h