summaryrefslogtreecommitdiffstats
path: root/libbacktrace/Backtrace.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-09-17 22:54:22 +0000
committerYabin Cui <yabinc@google.com>2015-09-17 22:54:22 +0000
commitab5e583327e4dfd9f7c38ab6ed4c4714508ce544 (patch)
tree9984881d38254299d0c93cf3ec9bbb84ca743858 /libbacktrace/Backtrace.cpp
parentc9c6b6ee7735f014771d81615c0278b53d14f61c (diff)
downloadsystem_core-ab5e583327e4dfd9f7c38ab6ed4c4714508ce544.tar.gz
system_core-ab5e583327e4dfd9f7c38ab6ed4c4714508ce544.tar.bz2
system_core-ab5e583327e4dfd9f7c38ab6ed4c4714508ce544.zip
Revert "Add BacktraceOffline for offline backtracing."
Using llvm makes libbacktrace stops building for 32 bit on linux host x86_64. This reverts commit c9c6b6ee7735f014771d81615c0278b53d14f61c. Change-Id: Ieb807db881d7bb3132cd09e25fd08c28766ca0a8
Diffstat (limited to 'libbacktrace/Backtrace.cpp')
-rw-r--r--libbacktrace/Backtrace.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/libbacktrace/Backtrace.cpp b/libbacktrace/Backtrace.cpp
index 9ead452cf..97f0ef445 100644
--- a/libbacktrace/Backtrace.cpp
+++ b/libbacktrace/Backtrace.cpp
@@ -30,7 +30,6 @@
#include <cutils/threads.h>
#include "BacktraceLog.h"
-#include "BacktraceOffline.h"
#include "thread_utils.h"
#include "UnwindCurrent.h"
#include "UnwindPtrace.h"
@@ -141,8 +140,3 @@ Backtrace* Backtrace::Create(pid_t pid, pid_t tid, BacktraceMap* map) {
return new UnwindPtrace(pid, tid, map);
}
}
-
-Backtrace* Backtrace::CreateOffline(pid_t pid, pid_t tid, BacktraceMap* map,
- const backtrace_stackinfo_t& stack, bool cache_file) {
- return new BacktraceOffline(pid, tid, map, stack, cache_file);
-}