This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Support builtin_frame_address with packed stack and no backchain.
ClosedPublic

Authored by jonpa on May 5 2021, 5:08 AM.

Details

Summary

In order to use __builtin_frame_address(0) with packed stack and no backchain, the address of where the backchain would have been written is returned (like GCC).

This address may either contain a saved register or be unused.

Diff Detail

Event Timeline

jonpa created this revision.May 5 2021, 5:08 AM
jonpa requested review of this revision.May 5 2021, 5:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2021, 5:08 AM
uweigand accepted this revision.May 5 2021, 6:08 AM

LGTM, thanks!

This revision is now accepted and ready to land.May 5 2021, 6:08 AM