diff options
author | Christopher Ferris <cferris@google.com> | 2017-10-17 14:12:52 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-10-30 13:37:50 -0700 |
commit | 086baf981d696cb80c564df9c34affdcd2458504 (patch) | |
tree | c8d6350c5947fdeb0f9e4b3692cfa706ad5b1317 /libbacktrace/UnwindStackMap.cpp | |
parent | d9f183b83b17795cf8b075da44b9d85c166217af (diff) |
Switch libbacktrace new unwinder.
Update the backtrace leak tests to share a map since this is the most
common way it will be used, and it runs much faster.
Remove the CreateNew functions, and references to them.
Remove benchmarks of CreateNew functions.
Test: Builds, ran new unit tests, ran art tests.
Change-Id: I4a25a412f1a74c6d43aebbebbf32ead20ead8f94
Diffstat (limited to 'libbacktrace/UnwindStackMap.cpp')
-rw-r--r-- | libbacktrace/UnwindStackMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/UnwindStackMap.cpp b/libbacktrace/UnwindStackMap.cpp index e7e5e4c43..25e5002ba 100644 --- a/libbacktrace/UnwindStackMap.cpp +++ b/libbacktrace/UnwindStackMap.cpp @@ -103,7 +103,7 @@ std::shared_ptr<unwindstack::Memory> UnwindStackMap::GetProcessMemory() { //------------------------------------------------------------------------- // BacktraceMap create function. //------------------------------------------------------------------------- -BacktraceMap* BacktraceMap::CreateNew(pid_t pid, bool uncached) { +BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { BacktraceMap* map; if (uncached) { |