summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryCacheTest.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-06-04 11:52:16 -0700
committerChristopher Ferris <cferris@google.com>2019-06-04 12:07:05 -0700
commita4bdb984f98c32766b17f77aa17be0335add912f (patch)
tree545a99047ebaf618d9a9252f567867b8b4fb1c45 /libunwindstack/tests/MemoryCacheTest.cpp
parent41f690ba2adf53d79298c7a476690001f6f8f742 (diff)
Display offsets for dex frames.
When adding a dex frame, no offset is ever printed even if the dex data is coming from a non-zero offset map. Fixed so an offset is printed in this case. Previous the line looked like this: #17 pc 0000000000500d7a /product/app/GoogleCamera/GoogleCamera.apk (com.google.android.libraries.camera.async.AndroidPriorityThread.run+10) Now looks like: #17 pc 0000000000500d7a /product/app/GoogleCamera/GoogleCamera.apk (offset 0x11d0000) (com.google.android.libraries.camera.async.AndroidPriorityThread.run+10) Add new unit test for this case. Bug: 134420076 Test: Wrote new unit test, and verified a non-zero offset for dex file Test: data results in a frame with a non-zero offset. Change-Id: I58c134fda4fad5456ca0f1723192667a1ca5d509
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions