summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2017-12-11 16:06:29 +0000
committerDavid Srbecky <dsrbecky@google.com>2017-12-14 13:52:07 +0000
commitf4886df5e72fa21eddfc4cc7860f4154929b3380 (patch)
tree897e74d9da4e92faae5c24350fa2f999cbfb2b1e /compiler/optimizing/graph_visualizer.cc
parent7eb4333d0b60a13f9d3126eadef9eb16c399662a (diff)
Add mini-debug-info generation mode for JIT.
This excludes everything that is not needed for backtraces and compresses the resulting ELF file (wrapped in another ELF file). This approximately halves the size of the debug data for JIT. The vast majority of the data is the overhead of ELF header. We could amortize this by storing more methods per ELF file. It also adds NOBITS .text section to all debug ELF files, as that seems necessary for gdb to find the symbols. On the other hand, it removes .rodata from debug ELF files. Test: Manually tested that gdb can use this data to unwind. Test: m test-art-host-gtest Test: testrunner.py --optimizing --host Test: testrunner.py -t 137-cfi Change-Id: Ic0a2dfa953cb79973a7b2ae99d32018599e61171
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions