Skip to content
Unverified Commit 8e810dc7 authored by Ilya Leoshkevich's avatar Ilya Leoshkevich Committed by GitHub
Browse files

[SystemZ] Support builtin_{frame,return}_address() with non-zero argument (#69405)

When the code is built with -mbackchain, it is possible to retrieve the
caller's frame and return addresses. GCC already can do this, add this
support to Clang as well. Use RISCVTargetLowering and GCC's
s390_return_addr_rtx() as inspiration. Add tests based on what GCC is
emitting.
parent b69081e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment