From 10c13565474de2786aad7c2e79757ea250747a15 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 25 Nov 2015 14:33:36 +0000 Subject: Refactor oat file writing to give Dex2Oat more control. This is the first step towards writing dex files to oat file and mapping them from there for the actual AOT compilation. Change-Id: Icb0d27487eaf6ba3a66c157e695f9bdc5bb9cf9a --- compiler/elf_writer_debug.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'compiler/elf_writer_debug.h') diff --git a/compiler/elf_writer_debug.h b/compiler/elf_writer_debug.h index e58fd0a390..9ed102f91b 100644 --- a/compiler/elf_writer_debug.h +++ b/compiler/elf_writer_debug.h @@ -17,23 +17,22 @@ #ifndef ART_COMPILER_ELF_WRITER_DEBUG_H_ #define ART_COMPILER_ELF_WRITER_DEBUG_H_ -#include - #include "elf_builder.h" #include "dwarf/dwarf_constants.h" #include "oat_writer.h" +#include "utils/array_ref.h" namespace art { namespace dwarf { template void WriteCFISection(ElfBuilder* builder, - const std::vector& method_infos, + const ArrayRef& method_infos, CFIFormat format); template void WriteDebugSections(ElfBuilder* builder, - const std::vector& method_infos); + const ArrayRef& method_infos); } // namespace dwarf } // namespace art -- cgit v1.2.3-59-g8ed1b