[lldb] [llvm] Fix size in bytes of type DIEs when size in bits is not a multiple of 8 (PR #69741)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 22:33:28 PST 2023


================
@@ -298,6 +298,12 @@ ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(const DWARFDIE &die) {
       byte_size = form_value.Unsigned();
       break;
 
+    case DW_AT_bit_size:
+      // Convert the bit size to byte size, and round it up to the minimum about
----------------
Michael137 wrote:

```suggestion
      // Convert the bit size to byte size, and round it up to the minimum amount
```

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


More information about the llvm-commits mailing list