Closed Bug 1648662 Opened 5 years ago Closed 3 years ago

Support Gecko Profiler on macOS/AArch64

Categories

(Core :: Gecko Profiler, task, P2)

ARM64
macOS
task

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozbugz, Unassigned)

References

(Blocks 1 open bug)

Details

Ideally with stack sampling.

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.

Component: General → Gecko Profiler
Depends on: 1673755

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

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.