PPC32 va_list is an actual structure so va_copy needs to copy the whole
authorRoman Divacky <rdivacky@freebsd.org>
Thu, 25 Jul 2013 21:36:47 +0000 (21:36 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Thu, 25 Jul 2013 21:36:47 +0000 (21:36 +0000)
commit6ebf55d811bab50e7f42ee8cec60c125f6fe0cd2
tree96010301ba3704305cec3486ec3391d7138709e6
parent3367ed322026a475273dc676896c0d03c1e8102f
PPC32 va_list is an actual structure so va_copy needs to copy the whole
structure not just a pointer. This implements that and thus fixes va_copy
on PPC32. Fixes #15286. Both bug and patch by Florian Zeitz!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187158 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
test/CodeGen/PowerPC/ppc32-vacopy.ll [new file with mode: 0644]