Loading libbacktrace/UnwindCurrent.cpp +0 −11 Original line number Original line Diff line number Diff line Loading @@ -23,7 +23,6 @@ #define UNW_LOCAL_ONLY #define UNW_LOCAL_ONLY #include <libunwind.h> #include <libunwind.h> #include <android-base/strings.h> #include <backtrace/Backtrace.h> #include <backtrace/Backtrace.h> #include "BacktraceLog.h" #include "BacktraceLog.h" Loading Loading @@ -125,16 +124,6 @@ bool UnwindCurrent::UnwindFromContext(size_t num_ignore_frames, ucontext_t* ucon num_ignore_frames--; num_ignore_frames--; } } } } // For now, do not attempt to do local unwinds through .dex, or .oat // maps. We can only unwind through these if there is a compressed // section available, almost all local unwinds are done by ART // which will dump the Java frames separately. // TODO: Come up with a flag to control this. if (android::base::EndsWith(frame->map.name, ".dex") || android::base::EndsWith(frame->map.name, ".oat")) { break; } ret = unw_step (cursor.get()); ret = unw_step (cursor.get()); } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); Loading Loading
libbacktrace/UnwindCurrent.cpp +0 −11 Original line number Original line Diff line number Diff line Loading @@ -23,7 +23,6 @@ #define UNW_LOCAL_ONLY #define UNW_LOCAL_ONLY #include <libunwind.h> #include <libunwind.h> #include <android-base/strings.h> #include <backtrace/Backtrace.h> #include <backtrace/Backtrace.h> #include "BacktraceLog.h" #include "BacktraceLog.h" Loading Loading @@ -125,16 +124,6 @@ bool UnwindCurrent::UnwindFromContext(size_t num_ignore_frames, ucontext_t* ucon num_ignore_frames--; num_ignore_frames--; } } } } // For now, do not attempt to do local unwinds through .dex, or .oat // maps. We can only unwind through these if there is a compressed // section available, almost all local unwinds are done by ART // which will dump the Java frames separately. // TODO: Come up with a flag to control this. if (android::base::EndsWith(frame->map.name, ".dex") || android::base::EndsWith(frame->map.name, ".oat")) { break; } ret = unw_step (cursor.get()); ret = unw_step (cursor.get()); } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); Loading