[Lldb-commits] [lldb] [lldb][Native PDB] don't omit 0-sized struct fields (PR #237688)

via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 2 03:05:44 PST 2026


Walnut356 wrote:

>In C, `data` would not take any space, since it's a flexible array member

Whoops, i could have worded that better. When i said "is considered to be" i meant that if you ask LLDB what size it is via `SBType.GetByteSize()` it reports the size of 1 element. 

https://github.com/llvm/llvm-project/pull/237688


More information about the lldb-commits mailing list