This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] Further fix for 32-bit PowerPC processors without AltiVec
ClosedPublic

Authored by brad on Feb 19 2022, 4:40 PM.

Details

Summary

OpenBSD had a local patch to fix libunwind with 32-bit PowerPC processors without AltiVec support (Motorola G3). https://reviews.llvm.org/D91906 eliminated almost all of our patch, but merging forward to 13 and adjusting based on that commit there was one more piece, which I am presenting here.

Diff Detail

Event Timeline

brad created this revision.Feb 19 2022, 4:40 PM
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptFeb 19 2022, 4:40 PM
brad requested review of this revision.Feb 19 2022, 4:40 PM
brad edited the summary of this revision. (Show Details)Feb 19 2022, 4:47 PM
luporl accepted this revision.Feb 21 2022, 3:57 AM

It makes sense. Besides, the corresponding code in src/UnwindRegistersRestore.S doesn't read the saved VRSave register anymore, when __ALTIVEC__ isn't defined.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 21 2022, 12:31 PM
This revision was automatically updated to reflect the committed changes.