commit | b7528f0eae4365d662fcc32965614416692cf524 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Wed Mar 14 21:30:25 2018 +0000 |
committer | Christopher Ferris <cferris@google.com> | Thu Mar 29 08:47:49 2018 -0700 |
tree | 62732f2636dd1b34374e499b01880ede276314a7 | |
parent | 33746f83da528e6033316bb248e88f95c18c8961 [diff] |
Cache DWARF location rules for a given pc. Decoding the DWARF opcodes is expensive so make sure we cache it. This speeds unwinding in simpleperf by over a factor of 3x. Add unit tests for this new behavior. Bug: 77258731 Test: libbacktrace/libunwindstack unit tests on host and target. Test: Ran debuggerd -b on various processes on target. Change-Id: Ia516c0fa5d3e5f76746190bb4b6fdf49fd1c9388 (cherry picked from commit 3386ebade2d28fd3ef68c576bb0375bd226a1320)