Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Unified Diff: src/processor/stackwalker.cc

Issue 314001: Use frame pointer to walk ARM stack on iOS. (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: '' Created 13 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/google_breakpad/common/minidump_cpu_arm.h ('k') | src/processor/stackwalker_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/stackwalker.cc
===================================================================
--- src/processor/stackwalker.cc (revision 868)
+++ src/processor/stackwalker.cc (working copy)
@@ -44,6 +44,7 @@
#include "google_breakpad/processor/source_line_resolver_interface.h"
#include "google_breakpad/processor/stack_frame.h"
#include "google_breakpad/processor/symbol_supplier.h"
+#include "google_breakpad/processor/system_info.h"
#include "processor/linked_ptr.h"
#include "processor/logging.h"
#include "processor/scoped_ptr.h"
@@ -187,10 +188,13 @@
break;
case MD_CONTEXT_ARM:
+ int fp_register = -1;
+ if (system_info->os_short == "ios")
+ fp_register = MD_CONTEXT_ARM_REG_IOS_FP;
cpu_stackwalker = new StackwalkerARM(system_info,
context->GetContextARM(),
- memory, modules, supplier,
- resolver);
+ fp_register, memory, modules,
+ supplier, resolver);
break;
}
« no previous file with comments | « src/google_breakpad/common/minidump_cpu_arm.h ('k') | src/processor/stackwalker_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted