akirilov-arm edited PR #2960 from leaf_functions
to main
.
akirilov-arm submitted PR review.
akirilov-arm created PR review comment:
I also added the x64 counterpart to my changes in a separate commit, which passed the tests locally.
abrown submitted PR review.
abrown created PR review comment:
I can't say I have looked into this much but isn't there some way for the unwind info to still unwind leaf functions? Looking at the test where MacOS fails, I think this problem will also exist for aarch64?
akirilov-arm submitted PR review.
akirilov-arm created PR review comment:
Well, doesn't the comment next to the code imply that unwinding on Apple silicon is broken irrespective of my changes, so any potential breakages introduced by my patch on that platform shouldn't be a blocker to progressing with the PR (and we don't test that configuration in CI anyway)?
On the other hand, AFAIK there are no known issues with unwinding on x86-64 macOS.
bnjbvr submitted PR review.
bnjbvr created PR review comment:
unwinding on Apple silicon is broken
Right now, unwinding on M1 doesn't panic/crash, it is just materializing an incomplete backtrace, and I would be interested in at least keeping it not crashing. So I'd be happy to try your patch on Apple Silicon, fwiw! (Also it makes sense to me to get this optimization in for aarch64 only at start, and then trying to untangle what's going on on x64.)
cfallin submitted PR review.
akirilov-arm updated PR #2960 from leaf_functions
to main
.
akirilov-arm updated PR #2960 from leaf_functions
to main
.
bnjbvr merged PR #2960.
Last updated: Nov 22 2024 at 17:03 UTC