[SystemZ] Support the kernel back chain.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 19 Feb 2020 22:54:12 +0000 (14:54 -0800)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Sun, 23 Feb 2020 21:42:36 +0000 (13:42 -0800)
commit82879c2913da69ef2deadee9d075140a84eb6e8c
tree51ab822de255c0e8ecd0369d3729e96511eb22be
parente9997cfb4d44e93cc65a29d1e1bb7451f418a7c7
[SystemZ]  Support the kernel back chain.

In order to build the Linux kernel, the back chain must be supported with
packed-stack. The back chain is then stored topmost in the register save
area.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D74506
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/mbackchain.c
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
llvm/lib/Target/SystemZ/SystemZFrameLowering.h
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/test/CodeGen/SystemZ/frame-23.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/frame-24.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/frameaddr-02.ll [new file with mode: 0644]