rust/compiler/rustc_codegen_llvm/src
Stuart Cook b3962e8811
Rollup merge of #144407 - godzie44:godzie44/fix_dwarf_inconsistency, r=wesleywiser
fix(debuginfo): disable overflow check for recursive non-enum types

Commit b10edb4 introduce an overflow check when generating debuginfo for expanding recursive types. While this check works correctly for enums, it can incorrectly prune valid debug information for structures.

For example see rust-lang/rust#143241 (https://github.com/rust-lang/rust/issues/143241#issuecomment-3073721477). Furthermore, for structures such check does not make sense, since structures with recursively expanding types simply will not compile (there is a `hir_analysis_recursive_generic_parameter` for that).

closes rust-lang/rust#143241
2025-07-29 20:19:49 +10:00
..
back Auto merge of #144562 - matthiaskrgr:rollup-mlvn7qo, r=matthiaskrgr 2025-07-28 08:50:59 +00:00
builder gpu host code generation 2025-07-18 16:30:42 -07:00
coverageinfo coverage: Clarify that getting a PGO name also makes a function "used" 2025-07-27 21:49:46 +10:00
debuginfo Rollup merge of #144407 - godzie44:godzie44/fix_dwarf_inconsistency, r=wesleywiser 2025-07-29 20:19:49 +10:00
llvm Use the object crate rather than LLVM for extracting bitcode sections 2025-07-25 11:21:28 +00:00
abi.rs use is_multiple_of instead of manual modulo 2025-07-05 10:55:35 +02:00
allocator.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
asm.rs emit .att_syntax when global/naked asm use that option 2025-07-09 01:09:55 +02:00
attributes.rs use codegen_instance_attrs where an instance is (easily) available 2025-07-16 23:24:32 +02:00
base.rs Make predefine methods take &mut self 2025-05-28 20:55:00 +00:00
builder.rs use let chains in ast, borrowck, codegen, const_eval 2025-07-28 06:08:48 +05:00
callee.rs use codegen_instance_attrs where an instance is (easily) available 2025-07-16 23:24:32 +02:00
common.rs gpu host code generation 2025-07-18 16:30:42 -07:00
consts.rs Eliminate all direct uses of LLVMMDStringInContext2 2025-07-14 08:27:08 +00:00
context.rs Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk 2025-07-22 00:54:24 +08:00
declare.rs make more builder functions generic 2025-07-18 16:23:54 -07:00
errors.rs Use the object crate rather than LLVM for extracting bitcode sections 2025-07-25 11:21:28 +00:00
intrinsic.rs Unify LLVM ctlz/cttz intrinsic generation 2025-07-25 17:56:10 +02:00
lib.rs Remove support for -Zcombine-cgu 2025-07-26 13:52:24 +00:00
llvm_util.rs Rollup merge of #144383 - ZuseZ4:disable-f128-on-amdgcn, r=oli-obk 2025-07-26 22:42:34 -04:00
mono_item.rs Rollup merge of #143293 - folkertdev:naked-function-kcfi, r=compiler-errors 2025-07-18 04:27:51 +02:00
type_.rs Eliminate all direct uses of LLVMMDStringInContext2 2025-07-14 08:27:08 +00:00
type_of.rs rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
va_arg.rs Auto merge of #143182 - xdoardo:more-addrspace, r=workingjubilee 2025-07-07 17:28:14 +00:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00