Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1364)

Unified Diff: runtime/vm/signal_handler_android.cc

Issue 1428893003: Fix profiling on ARM64. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/signal_handler_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/signal_handler_android.cc
diff --git a/runtime/vm/signal_handler_android.cc b/runtime/vm/signal_handler_android.cc
index 65407511ec9fe28e1defb2e4f85882a7f9e7898c..a85dbb78a4d31dc1f867008bbac8675b36d7d77b 100644
--- a/runtime/vm/signal_handler_android.cc
+++ b/runtime/vm/signal_handler_android.cc
@@ -66,7 +66,7 @@ uintptr_t SignalHandler::GetDartStackPointer(const mcontext_t& mcontext) {
#elif defined(HOST_ARCH_ARM)
sp = static_cast<uintptr_t>(mcontext.arm_sp);
#elif defined(HOST_ARCH_ARM64)
- sp = static_cast<uintptr_t>(mcontext.regs[18]);
+ sp = static_cast<uintptr_t>(mcontext.regs[19]);
Cutch 2015/10/30 02:29:57 Could we add #define for the register in constants
rmacnak 2015/10/30 16:17:41 constants_??.h is included for the target architec
#else
#error Unsupported architecture.
#endif // HOST_ARCH_...
« no previous file with comments | « no previous file | runtime/vm/signal_handler_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698