about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-09-04 20:40:18 -0500
committerSamuel Holland <samuel@sholland.org>2019-11-05 20:23:58 -0600
commite648aa8e89f4d30dd1e7242de0ce1fd660bfd422 (patch)
tree797ed9c1638a7c31e51019506a06e25e5b98d6a2 /src/test/debuginfo/enum-thinlto.rs
parent1423bec54cf2db283b614e527cfd602b481485d1 (diff)
downloadrust-e648aa8e89f4d30dd1e7242de0ce1fd660bfd422.tar.gz
rust-e648aa8e89f4d30dd1e7242de0ce1fd660bfd422.zip
Fix C aggregate-passing ABI on powerpc
The existing code (which looks like it was copied from MIPS) passes
aggregates by value in registers. This is wrong. According to the SVR4
powerpc psABI, all aggregates are passed indirectly.

See #64259 for more discussion, which addresses the ABI for the special
case of ZSTs (empty structs).
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions