summaryrefslogtreecommitdiffstats
path: root/libbacktrace/include/backtrace/BacktraceMap.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-10-17 14:12:52 -0700
committerChristopher Ferris <cferris@google.com>2017-10-30 13:37:50 -0700
commit086baf981d696cb80c564df9c34affdcd2458504 (patch)
treec8d6350c5947fdeb0f9e4b3692cfa706ad5b1317 /libbacktrace/include/backtrace/BacktraceMap.h
parentd9f183b83b17795cf8b075da44b9d85c166217af (diff)
downloadsystem_core-086baf981d696cb80c564df9c34affdcd2458504.tar.gz
system_core-086baf981d696cb80c564df9c34affdcd2458504.tar.bz2
system_core-086baf981d696cb80c564df9c34affdcd2458504.zip
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/include/backtrace/BacktraceMap.h')
-rw-r--r--libbacktrace/include/backtrace/BacktraceMap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbacktrace/include/backtrace/BacktraceMap.h b/libbacktrace/include/backtrace/BacktraceMap.h
index 84e71327d..d0783929a 100644
--- a/libbacktrace/include/backtrace/BacktraceMap.h
+++ b/libbacktrace/include/backtrace/BacktraceMap.h
@@ -56,8 +56,6 @@ public:
// Passing a map created with uncached set to true to Backtrace::Create()
// is unsupported.
static BacktraceMap* Create(pid_t pid, bool uncached = false);
- // Same as above, but is compatible with the new unwinder.
- static BacktraceMap* CreateNew(pid_t pid, bool uncached = false);
static BacktraceMap* Create(pid_t pid, const std::vector<backtrace_map_t>& maps);