OSDN Git Service

Reduce the size of native debug info generated by JIT.
authorDavid Srbecky <dsrbecky@google.com>
Thu, 28 Jan 2016 20:01:28 +0000 (20:01 +0000)
committerDavid Srbecky <dsrbecky@google.com>
Thu, 4 Feb 2016 13:16:21 +0000 (13:16 +0000)
commit579942fc26f8a0b0ff1d909d19086fca6d2396a3
tree840504b5904cf81540cf802c4cea1527e12debe9
parentcbe3b55ac3c34c9f6f3b7f0ddd86f9b88243547d
Reduce the size of native debug info generated by JIT.

Remove some ELF file overheads:
 - Do not produce program headers.
 - Do not page align strtab.
 - Do not write oat_patches sections.

This more than halves the size of JIT native debug info.
Since we generate many small entries, the overheads added up.

Change-Id: I27d95548c61e2e38c3683d6f5eb870a2db6e812d
compiler/elf_builder.h
compiler/elf_writer_debug.cc
compiler/elf_writer_debug.h
compiler/elf_writer_quick.cc