[SystemZ] Don't allow CL option -mpacked-stack with -mbackchain.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 30 Dec 2019 22:03:49 +0000 (23:03 +0100)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Fri, 3 Jan 2020 20:26:54 +0000 (12:26 -0800)
commitc0f1eac008e61e8345e3f41347cfd191e4ecb215
tree1f6a20fddd3cc92be35b76b6aa7ca1c490ee08c4
parent089e1ee1723f693eca54074225d4867297b1f2a2
[SystemZ]  Don't allow CL option -mpacked-stack with -mbackchain.

-mpacked-stack is currently not supported with -mbackchain, so this should
result in a compilation error message instead of being silently ignored.

Review: Ulrich Weigand
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/mbackchain.c [new file with mode: 0644]
llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp