[Lldb-commits] [clang] [lldb] [clang][lldb] Don't assert structure layout correctness for layouts provided by LLDB (PR #93809)

David Blaikie via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 26 11:07:06 PDT 2024


dwblaikie wrote:

The other effects of `packed` are encoded (the changes to the member offsets) but that's not the only effect, and we shouldn't use that effect (which isn't guaranteed to be observable - as in the case of "packed struct with a single member/that just happens to not have padding anyway") to try to divine the alignment.

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


More information about the lldb-commits mailing list