Files
rust/compiler/rustc_llvm
Jonathan Brouwer 49bbe8aca7 Rollup merge of #156746 - Zalathar:llvm-debuginfo, r=jieyouxu
cg_llvm: Use `LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision`

- Part of https://github.com/rust-lang/rust/issues/134001
- Follow-up to https://github.com/rust-lang/rust/pull/146763
---

This PR replaces our custom `LLVMRustDIBuilderCreateEnumerator` FFI binding with an equivalent LLVM-C binding to `LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision`, which was introduced in LLVM 21.

I have also added comments to the remaining `LLVMRustDIBuilder` functions explaining why they currently can't use an LLVM-C binding, and noted some other functions that can use LLVM-C bindings in the future.
2026-05-28 14:59:42 +02:00
..
2026-05-05 22:13:25 +05:30
2026-03-05 10:59:18 +00:00