diff options
author | Longsheng Mou <moulongsheng@huawei.com> | 2024-04-03 19:12:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 19:12:12 +0800 |
commit | 956b47b48616148c15f8f95d76d5e0c215fe095c (patch) | |
tree | c77f658d68b2347fc6d1d7250b2bb6d3e98f9a76 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 1f268092c7af20c21d4a594678b647cab050602a (diff) | |
download | llvm-956b47b48616148c15f8f95d76d5e0c215fe095c.zip llvm-956b47b48616148c15f8f95d76d5e0c215fe095c.tar.gz llvm-956b47b48616148c15f8f95d76d5e0c215fe095c.tar.bz2 |
[X86_32] Teach X86_32 va_arg to ignore empty structs. (#86075)
Empty structs are ignored for parameter passing purposes, but va_arg was
incrementing the pointer anyway for that the size of empty struct in c++
is 1 byte, which could lead to va_list getting out of sync. Fix #86057.
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions