This is an archive of the discontinued LLVM Phabricator instance.

[Sanitizers][TSAN] Mac M1/iOs setjmp wrapper frame pointer/link register registers renaming
Needs ReviewPublic

Authored by devnexen on Apr 17 2021, 4:06 AM.

Details

Reviewers
yln
Summary

setjmp wrappers, use fp/lr naming instead of x29/x30 registers proposal.

Diff Detail

Event Timeline

devnexen requested review of this revision.Apr 17 2021, 4:06 AM
devnexen created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 17 2021, 4:06 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
yln added a comment.Apr 19 2021, 11:50 AM

Hi David, can you explain the motivation and mechanics of this change? I see that we #define aliases for registers, but they are never used?!

Hi David, can you explain the motivation and mechanics of this change? I see that we #define aliases for registers, but they are never used?!

Lines 45 for example

yln added a comment.Apr 20 2021, 11:20 AM

So the adoption of these names will be done in a separate patch? What is the motivation for this change?

well x29 and x30 registers are already used in fact ?