diff options
author | David Srbecky <dsrbecky@google.com> | 2019-03-25 13:41:25 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2021-03-16 21:42:31 +0000 |
commit | 0e9d9fce596125df602c1210c948259e9e7ca4ec (patch) | |
tree | 129a05b02a51730398e036d2815644f0e6b68156 /test/MultiDexModifiedSecondary/Main.java | |
parent | 553a4b68652fe5b32e150bb7642bbcb8a558d25b (diff) |
Add command line tool for creating mini-debug-info for native code.
Mini-debug-info for native code is currently created with bash script,
which works, but misses some optimizations that the ART compiler does.
This CL adds tool based on ART code-base, with the following features:
* CIE entries are deduplicated to save space (usually one is needed).
* FDE entries are sorted, which significantly improves compression.
* Non-function and zero-sized function symbols are excluded.
* Symbols are sorted by address to allow binary search.
* Compressed data is split to blocks to allow random-access reads.
The space optimizations and the better random access balances,
so the overall generated file size remains approximately same.
Bug: 110133331
Test: manually check the generated data using readelf
Change-Id: I4ed8deaee647d5ee4dfb0846f316e888f060b98e
Diffstat (limited to 'test/MultiDexModifiedSecondary/Main.java')
0 files changed, 0 insertions, 0 deletions