Dylan DPC 82a1d79dff
Rollup merge of #97846 - pcwalton:align-bits, r=michaelwoerister
Specify DWARF alignment in bits, not bytes.

In DWARF, alignment of types is specified in bits, as is made clear by the
parameter name `AlignInBits`. However, `rustc` was incorrectly passing a byte
alignment. This commit fixes that.

This was noticed in upstream LLVM when I tried to check in a test consisting of
LLVM IR generated from `rustc` and it triggered assertions [1].

[1]: https://reviews.llvm.org/D126835
2022-06-08 13:43:19 +02:00
..
2022-05-16 20:15:06 -04:00
2022-02-28 00:02:11 -05:00
2022-05-27 07:36:17 -04:00
2022-06-03 17:16:41 -04:00
2022-02-24 12:18:21 +01:00