Closed Bug 768598 Opened 9 years ago Closed 9 years ago
add support for saving LR register
This is a hacky stopgap until we get full stack walking support. We save the LR register with every PC sample, and then in the profiler UI we trust LR only from a set of whitelisted functions (mainly leaf functions from libc/bionic, e.g. various sycalls). This gives us a bit of a better idea what's being called, even if we don't have the full stack.
Missing #ifdefs around saving ->lr
Comment on attachment 636837 [details] [diff] [review] Save ARM LR register in profiles r+ with the ifdef fixed to only add the L labels if we're coming from platform-linux so we don't trigger this on say windows arm.
Attachment #636837 - Flags: review?(bgirard) → review+
On inbound as 2e9813915a1b
Target Milestone: --- → mozilla16
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.