Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index e550f765ca611a7df7fdd0549fb709399e6a66d0..9071555197060e95c57cfbd434726b61a81f785a 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -241,6 +241,11 @@ class StackFrame BASE_EMBEDDED { |
virtual void Iterate(ObjectVisitor* v) const = 0; |
static void IteratePc(ObjectVisitor* v, Address* pc_address, Code* holder); |
+ // Sets a callback function for return-address rewriting profilers |
+ // to resolve the location of a return address to the location of the |
+ // profiler's stashed return address. |
+ static void SetReturnAddressLocationResolver( |
+ ReturnAddressLocationResolver resolver); |
// Printing support. |
enum PrintMode { OVERVIEW, DETAILS }; |