diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-03-31 14:12:19 -0500 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2022-03-31 15:12:46 -0500 |
commit | 585c85abe545a42a47a3b3d0411b91421e9552e9 (patch) | |
tree | 958d2f8c7057f05e7eca8c2acb3695a676d422d4 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 33e197112a21b2415e0f4e98771414adcdb5723c (diff) | |
download | llvm-585c85abe545a42a47a3b3d0411b91421e9552e9.zip llvm-585c85abe545a42a47a3b3d0411b91421e9552e9.tar.gz llvm-585c85abe545a42a47a3b3d0411b91421e9552e9.tar.bz2 |
[PowerPC] Fix lowering of byval parameters for sizes greater than 8 bytes.
To store a byval parameter the existing code would store as many 8 byte elements
as was required to store the full size of the byval parameter.
For example, a paramter of size 16 would store two element of 8 bytes.
A paramter of size 12 would also store two elements of 8 bytes.
This would sometimes store too many bytes as the size of the paramter is not
always a factor of 8.
This patch fixes that issue and now byval paramters are stored with the correct
number of bytes.
Reviewed By: nemanjai, #powerpc, quinnp, amyk
Differential Revision: https://reviews.llvm.org/D121430
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions