OSDN Git Service

Allow method references across oat files for multi-image.
authorVladimir Marko <vmarko@google.com>
Tue, 16 Feb 2016 12:50:23 +0000 (12:50 +0000)
committerVladimir Marko <vmarko@google.com>
Wed, 17 Feb 2016 16:38:46 +0000 (16:38 +0000)
commit6065402316da2b51eed5fc34cffbd991766bd408
treecb93e32b978ea03a70baf980c470a03263c084c0
parent442643920a6c539e98aad76594e99b932b5631ba
Allow method references across oat files for multi-image.

These were disabled because we didn't have sufficient
information about the multi-image layout when processing
link-time patches in OatWriter. This CL refactors the
ELF file creation so that the information is available.

Change-Id: I6f2e8dc8572d143c72cc2693bb0ba4fd76f889ab
17 files changed:
compiler/common_compiler_test.cc
compiler/dex/quick/quick_cfi_test.cc
compiler/dex/quick/x86/quick_assemble_x86_test.cc
compiler/driver/compiled_method_storage_test.cc
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
compiler/elf_builder.h
compiler/elf_writer.h
compiler/elf_writer_quick.cc
compiler/image_test.cc
compiler/image_writer.cc
compiler/image_writer.h
compiler/jit/jit_compiler.cc
compiler/linker/relative_patcher_test.h
compiler/oat_test.cc
dex2oat/dex2oat.cc
oatdump/oatdump.cc