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

Unified Diff: runtime/vm/signal_handler.h

Issue 928833003: Add Function based profile tree (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
Index: runtime/vm/signal_handler.h
diff --git a/runtime/vm/signal_handler.h b/runtime/vm/signal_handler.h
index 0c017414916e42c64ebaf6c7ef9ba83e621bd838..f3116b7aca0724e3aac4bb5ce38916300d456156 100644
--- a/runtime/vm/signal_handler.h
+++ b/runtime/vm/signal_handler.h
@@ -48,6 +48,8 @@ class SignalHandler : public AllStatic {
static uintptr_t GetFramePointer(const mcontext_t& mcontext);
static uintptr_t GetCStackPointer(const mcontext_t& mcontext);
static uintptr_t GetDartStackPointer(const mcontext_t& mcontext);
+ // Only valid on architectures that store return address in register.
+ static uintptr_t GetReturnAddress(const mcontext_t& mcontext);
private:
};

Powered by Google App Engine
This is Rietveld 408576698