Closed
Bug 1648662
Opened 5 years ago
Closed 3 years ago
Support Gecko Profiler on macOS/AArch64
Categories
(Core :: Gecko Profiler, task, P2)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mozbugz, Unassigned)
References
(Blocks 1 open bug)
Details
Ideally with stack sampling.
Comment 1•5 years ago
|
||
Stack walking should be easy, because macOS/aarch64 always uses frame pointers, in the x29 register.
ARM64 Function Calling Conventions:
The frame pointer register (x29) must always address a valid frame record, although some functions—such as leaf functions or tail calls—may elect not to create an entry in this list. As a result, stack traces will always be meaningful, even without debug information.
Updated•5 years ago
|
Component: General → Gecko Profiler
Comment 2•5 years ago
|
||
This mostly works. Framepointer stackwalking form arm64 was implemented in bug 1658375. Sometimes it obtains wrong addresses, which I filed bug 1673755 about.
Depends on: 1658375
Comment 3•3 years ago
|
||
This is done.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•