mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 02:16:37 +00:00

For the case where baseTypeSize does not match the size of T, read the value into a separate char buffer first. This avoids accessing buf using two different types. Fixes https://github.com/llvm/llvm-project/issues/94616.