[libsampler] Capture LR from context on Apple ARM64 [v8/v8 : main]

0 views
Skip to first unread message

Alexander Semashko (Gerrit)

unread,
Apr 3, 2026, 4:04:01 PM (2 days ago) Apr 3
to Michael Lippautz, Leszek Swirski, V8 LUCI CQ, devtools-...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski and Michael Lippautz

Alexander Semashko added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Alexander Semashko . resolved

Note from Opus: "Without LR, StackFrameIteratorForProfiler cannot correctly unwind the top frame when it hasn't yet pushed LR to the stack, which can lead to crashes during profiler stack walks."
I'm not totally sure about the correctness of this statement, but we're seeing a considerable amount of crashes in v8::internal::CpuSampler::SampleStack on mac, which might be related.
Hope that the test coverage is decent, also checked by hand that profiler is working with these changes on macos - looks ok.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
  • Michael Lippautz
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I7bfc1e4b509a5869534cfdfb9453b66fd2cacae8
Gerrit-Change-Number: 7726307
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Semashko <ah...@yandex-team.ru>
Gerrit-Reviewer: Alexander Semashko <ah...@yandex-team.ru>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 20:03:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages