rust/compiler/rustc_codegen_llvm/src/debuginfo
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
..
metadata couple of clippy::perf fixes 2022-04-13 22:18:28 +02:00
create_scope_map.rs not need Option for dbg_scope 2022-04-26 21:00:19 +08:00
doc.md fix most compiler/ doctests 2022-05-02 17:40:30 -07:00
gdb.rs Update documentation. 2022-05-24 11:22:14 -07:00
metadata.rs Specify DWARF alignment in bits, not bytes. 2022-06-07 13:38:35 -07:00
mod.rs Properly apply path prefix remapping paths emitted into debuginfo. 2022-05-18 12:19:01 +02:00
namespace.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
utils.rs rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00