diff options
author | Zach Ghera <zghera@google.com> | 2021-07-19 21:33:01 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2021-08-10 14:45:13 +0100 |
commit | 4bd169875969a796270a900c73d4b4ec4c9b3661 (patch) | |
tree | 04d00f20befb963030aea0b52aee9e1ef078c03f /libunwindstack/DwarfCfa.h | |
parent | 6a6d38a89820a05e00cbf89a93bb00427c7880a0 (diff) | |
download | unwinding-4bd169875969a796270a900c73d4b4ec4c9b3661.tar.gz |
OfflineUnwindUtils: Support consecutive unwinds.
This CL refactors OfflineUnwindUtils to allow clients to perform
multiple/consecutive unwinds. In the previous version of
OfflineUnwindUtils, a client would need to create multiple
OfflineUnwindUtils instances in order to test or benchmark offline
unwinds. This would require modifying the existing test/benchmark fixtures
and/or each of the individual test/benchmarks to support this change.
This change simply adds a new Init overload for consecutive offline
unwinds and leaves the remainder of the public API the same.
Consecutive unwinds are necessary for profiler-like offline unwind
benchmarks. See b/192012600 for more for more information regarding
these benchmarks.
Bug: 192012600
Test: Refactoring CL. Benchmarks still run and unit tests still pass.
Change-Id: I5ebb8606eaf4bf144690de41283619218108e3b8
Diffstat (limited to 'libunwindstack/DwarfCfa.h')
0 files changed, 0 insertions, 0 deletions