[all-commits] [llvm/llvm-project] 0ad9d8: [lldb][test] Skip bitfield enum tests for DWARF v2...

David Spickett via All-commits all-commits at lists.llvm.org
Tue Jul 9 07:12:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ad9d8f279437772d390c7fc6309c09b97406be3
      https://github.com/llvm/llvm-project/commit/0ad9d8f279437772d390c7fc6309c09b97406be3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M lldb/test/API/commands/expression/bitfield_enums/TestBitfieldEnums.py

  Log Message:
  -----------
  [lldb][test] Skip bitfield enum tests for DWARF v2 and below

Clang's v2 output appears to be missing a key DW_AT_type attribute,
and this causes the "max" of the unsigned enum to appear as -1 instead
of "max" aka 3.

```
(BitfieldStruct) $0 = {
  signed_min = min
  signed_other = -1
  signed_max = max
  unsigned_min = min
  unsigned_other = 1
  unsigned_max = -1
}
```

Test added by #96202.



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