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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to