| Index: src/platform-freebsd.cc
|
| diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc
|
| index 7b4febfe93bfed04a91f172922a1059cc3558516..501b4e60219c3afc47121357326cf8dfa04b3276 100644
|
| --- a/src/platform-freebsd.cc
|
| +++ b/src/platform-freebsd.cc
|
| @@ -634,9 +634,11 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) {
|
| #if defined (__arm__) || defined(__thumb__)
|
| sample.pc = mcontext.mc_r15;
|
| sample.sp = mcontext.mc_r13;
|
| + sample.fp = mcontext.mc_r11;
|
| #else
|
| sample.pc = mcontext.mc_eip;
|
| sample.sp = mcontext.mc_esp;
|
| + sample.fp = mcontext.mc_ebp;
|
| #endif
|
| }
|
|
|
|
|