Re: ARM, stack unwinding, and Firefox OS

2013-04-25 Thread Jed Davis
On Thu, Apr 25, 2013 at 07:25:42PM -0700, Jed Davis wrote: > I've attached a patch Let's try that again --Jed diff --git a/gcc-4.4.3/gcc/config/arm/arm.c b/gcc-4.4.3/gcc/config/arm/arm.c index bef07e3..ce6acf1 100644 --- a/gcc-4.4.3/gcc/config/arm/arm.c +++ b/gcc-4.4.3/gcc/config/arm/arm.c @

ARM, stack unwinding, and Firefox OS

2013-04-25 Thread Jed Davis
I've been working on profiling tools for Firefox OS, and one of the central problems is getting stack traces for sample-based profiling. The old APCS frame pointer variant (where r11/fp heads a linked list of {fp, sp, lr, pc} frames) is convenient -- it's compatible with the Linux kernel profiler a