From ae5d2738a2b941b543c3fd478af910d4cd16f2ba Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Fri, 5 Feb 2016 09:40:10 +0000 Subject: Change the method which generates DWARF mini-debug-info. This splits some code from CL198651. It moves the WriteSection call out one level and does not otherwise change behaviour. Change-Id: I7dc1c7c08b577b50bf6fa366a9b0ca757048b81e --- compiler/elf_writer_debug.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'compiler/elf_writer_debug.h') diff --git a/compiler/elf_writer_debug.h b/compiler/elf_writer_debug.h index 8e8472f678..e289197971 100644 --- a/compiler/elf_writer_debug.h +++ b/compiler/elf_writer_debug.h @@ -36,9 +36,10 @@ void WriteDebugInfo(ElfBuilder* builder, CFIFormat cfi_format, bool write_oat_patches); -template -void WriteMiniDebugInfo(ElfBuilder* builder, - const ArrayRef& method_infos); +std::vector MakeMiniDebugInfo(InstructionSet isa, + size_t rodata_section_size, + size_t text_section_size, + const ArrayRef& method_infos); ArrayRef WriteDebugElfFileForMethod(const dwarf::MethodDebugInfo& method_info); -- cgit v1.2.3-59-g8ed1b