This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Fix the longjmp sp slot on FreeBSD AArch64
ClosedPublic

Authored by andrew on May 17 2022, 3:38 AM.

Details

Summary

The stack pointer is stored in the second slot in the jump buffer on AArch64. Use the correct slot value to read this rather than the following register.

Diff Detail

Event Timeline

andrew created this revision.May 17 2022, 3:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2022, 3:38 AM
andrew requested review of this revision.May 17 2022, 3:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2022, 3:38 AM
melver added a subscriber: melver.

Please add a brief commit message.

I don't have any objections.

andrew edited the summary of this revision. (Show Details)May 18 2022, 3:36 AM
melver accepted this revision as: melver.May 18 2022, 5:00 AM
This revision is now accepted and ready to land.May 18 2022, 5:00 AM
This revision was landed with ongoing or failed builds.Jun 8 2022, 2:23 PM
This revision was automatically updated to reflect the committed changes.