commit | b35b0613db3b329b48e89de2315f0f5402c83101 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Oct 18 16:19:16 2017 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Oct 23 12:04:40 2017 -0700 |
tree | 288e4dae861f8ea03dce28490aaeee229f66cafa | |
parent | 7bf880c2d01432dddfa9e9096c2e52dc017b9433 [diff] |
simpleperf: Add a python class to wrap addr2line. addr2line doesn't generate line info for instructions without a matching statement. So build a class called Addr2NearestLine to overcome this. Also add test for it. It is a preparation to show annotated source code in html interface. Bug: http://b/66914187 Test: run test.py TestTools. Change-Id: I70f8d99ffc7c25bca17a01469e21f16a7bdd04c5