diff options
author | David Srbecky <dsrbecky@google.com> | 2019-03-26 14:38:28 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2020-04-16 18:17:45 +0100 |
commit | af41960acb56efd5fb7d1fb1b18dae21b4d6b122 (patch) | |
tree | 936d2ed162c9ec1485c0a5a457d2a502c3a41245 /trusty/coverage/coverage_test.cpp | |
parent | 451197cb640c63320a4ed619a9d3e5aa99b80057 (diff) |
Create minimal remap table for symbol binary search.
ELF symbols are not sorted by address. Create remap table
which reshuffles the indices into sorted-by-address order.
This saves over 6x of memory (the remap table needs just
uint32_t per entry, as opposed the FuncInfo cache entry).
ART symbols are sorted. Make use of that fact.
Bug: 110133331
Test: libunwindstack_test
Test: art/test.py -b --host -r -t 137-cfi
Change-Id: I1812d2dd3ad6a69ae93ed50ca387749c649289b9
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions