[all-commits] [llvm/llvm-project] da6944: [lldb][test] Add test for no_unique_address when m...

Michael Buch via All-commits all-commits at lists.llvm.org
Wed Sep 11 03:36:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da6944912baffa430468078c38f65d55fb83dd43
      https://github.com/llvm/llvm-project/commit/da6944912baffa430468078c38f65d55fb83dd43
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-with-bitfields.cpp

  Log Message:
  -----------
  [lldb][test] Add test for no_unique_address when mixed with bitfields (#108155)

This is the root-cause for the LLDB failures that started occurring
after https://github.com/llvm/llvm-project/pull/105865.

The DWARFASTParserClang has logic to try derive unnamed bitfields from
DWARF offsets. In this case we treat `padding` as a 1-byte size field
that would overlap with `flag`, and decide we need to introduce an
unnamed bitfield into the AST, which is incorrect.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list