summaryrefslogtreecommitdiff
path: root/libunwindstack/MemoryBuffer.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2022-03-10 14:16:07 -0800
committerChristopher Ferris <cferris@google.com>2022-04-20 14:13:53 -0700
commit215644709bd7bbda4c05a9db4d55e96be61bcf64 (patch)
treeda0c365d3a91eb655abe41fbe7a08c0e8833ce7a /libunwindstack/MemoryBuffer.h
parentd963687ae044f91eb52f39fc38b8f9edc3ad34db (diff)
downloadunwinding-215644709bd7bbda4c05a9db4d55e96be61bcf64.tar.gz
Add the AndroidUnwinder objects.
Create two different objects (AndroidLocalUnwinder and AndroidRemoteUnwinder) that encapsulate all Android related knowledge. This makes it simple for other code to create one of these objects and not need to add all of the Android specific code themselves. Add new unit tests to cover these new objects. New unit tests uncovered a small bug in the Unwinder object, namely that if you are skipping libraries, the suffixes to ignore still looks at the ignored frames. Fixed to only apply ignore suffixes to only non-ignored frames. Rewrote all of the places that attach to remote processes and created a single function to handle all of the different cases. Bug: 120606663 Test: All unit tests pass. Test: Ran the tests hundreds of times on host and target. Test: There are still some failures, but only 1 in 800 and 1 in 300. Change-Id: I9d0732e33695af20b3c3f87c625e623f6b7f9ef2
Diffstat (limited to 'libunwindstack/MemoryBuffer.h')
0 files changed, 0 insertions, 0 deletions