summaryrefslogtreecommitdiff
path: root/runtime/backtrace_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/backtrace_helper.cc')
-rw-r--r--runtime/backtrace_helper.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/backtrace_helper.cc b/runtime/backtrace_helper.cc
index d76a5013a3..260843d7dc 100644
--- a/runtime/backtrace_helper.cc
+++ b/runtime/backtrace_helper.cc
@@ -131,14 +131,6 @@ bool BacktraceCollector::CollectImpl(unwindstack::Unwinder* unwinder) {
CHECK_LT(num_frames_, max_depth_);
out_frames_[num_frames_++] = static_cast<uintptr_t>(it->pc);
- // Expected early end: Instrumentation breaks unwinding (b/138296821).
- // Inexact compare because the unwinder does not give us exact return address,
- // but rather it tries to guess the address of the preceding call instruction.
- size_t exit_pc = reinterpret_cast<size_t>(GetQuickInstrumentationExitPc());
- if (exit_pc - 4 <= it->pc && it->pc <= exit_pc) {
- return true;
- }
-
if (kStrictUnwindChecks) {
if (it->function_name.empty()) {
return false;