]> granicus.if.org Git - clang/commit
Revert changes to DefaultABIInfo accidentally introduced in r208733
authorReid Kleckner <reid@kleckner.net>
Mon, 18 May 2015 22:46:30 +0000 (22:46 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 18 May 2015 22:46:30 +0000 (22:46 +0000)
commit068acbee77ee8240b4451e10bd3af17297596f90
tree1684b1abd7acba5f65537675f80bdef3f782c8db
parent34ef52a5d151a624e2408e4d378213e127085bab
Revert changes to DefaultABIInfo accidentally introduced in r208733

Also add trivial handling of transparent unions.

PPC32, MSP430, and XCore apparently all rely on DefaultABIInfo. This
should worry you, because DefaultABIInfo is not implementing the rules
of any particular ABI.

Fixes PR23097, patch by Andy Gibbs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237630 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGenCXX/powerpc-byval.cpp [new file with mode: 0644]