[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Prevent unnamed bitfield creation in the presence of overlapping fields (PR #108343)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 12 08:47:15 PDT 2024


Michael137 wrote:

> Once we're in heuristic territory I think we can only get a hold of this problem with lots of tests.

Added more test in the latest iteration (the ones marked FIXME were still misbehaving on top-of-tree, although in other ways...but we still asserted in the expression evaluator, so don't think we really regress with this patch).

There are some cases where it's pretty much impossible to differentiate between tail padding and unnamed bitfields. So as long as we don't emit those bitfields into DWARF I think we have to resort to this.

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


More information about the lldb-commits mailing list