diff options
author | Timm Baeder <tbaeder@redhat.com> | 2025-04-10 06:12:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-10 06:12:00 +0200 |
commit | 98ea512f720ec954a6f096dbb39534f06affa196 (patch) | |
tree | cfda7be1c7ad332bf37fd53a91226fd5242c2447 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 2828328611089481d6ebd2e148791d9729117a8a (diff) | |
download | llvm-98ea512f720ec954a6f096dbb39534f06affa196.zip llvm-98ea512f720ec954a6f096dbb39534f06affa196.tar.gz llvm-98ea512f720ec954a6f096dbb39534f06affa196.tar.bz2 |
[clang][bytecode] Clear inactive union fields when copying (#134982)
When copying unions, we need to only copy the active field of the source
union, which we were already doing. However, we also need to zero out
the (now) inactive fields, so we don't end up with dangling pointers in
those inactive fields.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions