OSDN Git Service

Symbolize native debug information for AOTed methods in boot.oat.
authorDavid Srbecky <dsrbecky@google.com>
Mon, 7 Mar 2016 20:47:29 +0000 (20:47 +0000)
committerDavid Srbecky <dsrbecky@google.com>
Fri, 11 Mar 2016 17:39:01 +0000 (17:39 +0000)
commit5d950769b607b4f76413212db640a32d796911de
tree959ef6ac8fc67330243268a95cd990f805aebfca
parentb2359d4fb2c9de12830301faede59f4d5fa46278
Symbolize native debug information for AOTed methods in boot.oat.

The oatdump symbolizer will produce all DWARF information now,
not just the symtab. This allows us to recover almost all native
debug information after the fact, even for non-debuggable oat files.

The main drawback is that non-debuggable oat files do not have
enough stackmaps to provide reasonable line stepping experience.
We might also be missing inlined methods from backtraces.

Change-Id: I73ff6f43a3a0e5a0907af353f74f04e9b0129590
dex2oat/dex2oat.cc
oatdump/oatdump.cc
runtime/oat.cc
runtime/oat.h
runtime/oat_quick_method_header.h