rust/compiler
Patrick Walton fe533e862c 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-07 13:38:35 -07:00
..
2022-06-03 17:02:14 +00:00
2022-06-02 11:22:16 +10:00
2022-06-02 09:00:04 -03:00
2022-05-27 07:36:17 -04:00
2022-06-02 09:00:04 -03:00
2022-06-03 20:42:42 +04:00
2022-05-26 13:14:24 +02:00
2022-06-03 17:02:14 +00:00
2022-06-03 17:02:14 +00:00
2022-06-03 17:02:14 +00:00
2022-06-03 17:01:53 +00:00