[llvm] [SystemZ][z/OS] Implement llvm.returnaddress for XPLINK (PR #89440)

Kai Nacke via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 06:34:18 PDT 2024


================
@@ -97,6 +106,11 @@ class SystemZELFFrameLowering : public SystemZFrameLowering {
     return usePackedStack(MF) ? SystemZMC::ELFCallFrameSize - 8 : 0;
   }
 
+  // Return the offset of the return address.
+  virtual int getReturnAddressOffset(MachineFunction &MF) const override {
----------------
redstar wrote:

Changed.

https://github.com/llvm/llvm-project/pull/89440


More information about the llvm-commits mailing list