[clang] [lldb] [clang][lldb] Don't assert structure layout correctness for layouts provided by LLDB (PR #93809)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 17 15:35:41 PDT 2024
efriedma-quic wrote:
Oh, in this particular case, the issue isn't the computed datasize, it's that FieldDecl::isZeroSize() returns the wrong result. If that's the case, maybe we can just change FieldDecl::isZeroSize() to say the field is zero size? So essentially, we pretend all empty fields are no_unique_address. Nothing in codegen should care if we treat an non-zero-size empty field as if it's zero-size.
https://github.com/llvm/llvm-project/pull/93809
More information about the cfe-commits
mailing list