Since we don't clobber x1/w1 (2nd argument) anymore, we don't have to
save/restore it.
Details
Details
- Reviewers
dvyukov
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 34148 Build 34147: arc lint + arc unit
Event Timeline
Comment Actions
Rubber stamp LGTM, if you want a real review please ask somebody else. But if you are sure it's good and covered by tests, submit.
Comment Actions
I have learnt that one can never be 100% sure ;)
We have the following tests that cover this (--filter jmp):
PASS: ThreadSanitizer-arm64e-ios :: fiber_longjmp.cc (1 of 6) PASS: ThreadSanitizer-arm64e-ios :: longjmp.cc (2 of 6) PASS: ThreadSanitizer-arm64e-ios :: longjmp2.cc (3 of 6) PASS: ThreadSanitizer-arm64e-ios :: longjmp3.cc (4 of 6) PASS: ThreadSanitizer-arm64e-ios :: longjmp4.cc (5 of 6) PASS: ThreadSanitizer-arm64e-ios :: signal_longjmp.cc (6 of 6)
Comment Actions
Still need to save/restore x1 (even if we don't clobber it ourselves).
Same as: https://reviews.llvm.org/D63946