aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamWriter.cpp
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2024-05-15 20:49:28 +0700
committerGitHub <noreply@github.com>2024-05-15 20:49:28 +0700
commitc2fba6df944e11e2c9a7073405c6a817fdba14e3 (patch)
tree01418f62771aebe385ed99afa99ff4abcdec4a3a /llvm/lib/Support/BinaryStreamWriter.cpp
parent95e307caeb17c080724921564d96e1b8457264bc (diff)
downloadllvm-c2fba6df944e11e2c9a7073405c6a817fdba14e3.zip
llvm-c2fba6df944e11e2c9a7073405c6a817fdba14e3.tar.gz
llvm-c2fba6df944e11e2c9a7073405c6a817fdba14e3.tar.bz2
[clang][SPARC] Treat empty structs as if it's a one-bit type in the CC (#90338)
Make sure that empty structs are treated as if it has a size of one bit in function parameters and return types so that it occupies a full argument and/or return register slot. This fixes crashes and miscompilations when passing and/or returning empty structs. Reviewed by: @s-barannikov
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions