From fffbee4d158259633ec7b7f712eaf75be86bd4e5 Mon Sep 17 00:00:00 2001 From: Tamas Berghammer Date: Fri, 15 Jan 2016 13:09:34 +0000 Subject: Report types loaded during init to the native debugger The runtime loads a lot of type before it creates the jit from the boot image and from hard coded source code (e.g. primitive arrays). This change emits type information for these types after the jit has been created. At the same time we remove the type info generation that happens during AOT compilation because that type information can be modified by a class loader at runtime. Change-Id: Ie5b3b3df9d01c7200a1f670a98d9cbee796234e9 --- compiler/elf_writer_debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/elf_writer_debug.h') diff --git a/compiler/elf_writer_debug.h b/compiler/elf_writer_debug.h index 91da00f97a..e4bc856c5e 100644 --- a/compiler/elf_writer_debug.h +++ b/compiler/elf_writer_debug.h @@ -32,13 +32,13 @@ struct MethodDebugInfo; template void WriteDebugInfo(ElfBuilder* builder, - bool write_loaded_runtime_types, const ArrayRef& method_infos, CFIFormat cfi_format); ArrayRef WriteDebugElfFileForMethod(const dwarf::MethodDebugInfo& method_info); -ArrayRef WriteDebugElfFileForClass(const InstructionSet isa, mirror::Class* type) +ArrayRef WriteDebugElfFileForClasses(const InstructionSet isa, + const ArrayRef& types) SHARED_REQUIRES(Locks::mutator_lock_); } // namespace dwarf -- cgit v1.2.3-59-g8ed1b