rust/compiler/rustc_codegen_llvm/src
bors 28e684b470 Auto merge of #127995 - workingjubilee:say-turings-prayer, r=BoxyUwU
compiler: Never debug_assert in codegen

In the name of Turing and his Hoarey heralds, assert our truths before creating a monster!

The `rustc_codegen_llvm` and `rustc_codegen_ssa` crates are fairly critical for rustc's correctness. Small mistakes here can easily result in undefined behavior, since a "small mistake" can mean something like "link and execute the wrong code". We should probably run any and all asserts in these modules unconditionally on whether this is a "debug build", and damn the costs in performance.

...Especially because the costs in performance seem to be *nothing*. It is not clear how much correctness we gain here, but I'll take free correctness improvements.
2024-07-25 07:52:31 +00:00
..
back Rollup merge of #124033 - bjorn3:ar_archive_writer_0_3_0, r=davidtwco 2024-07-16 16:15:13 -05:00
coverageinfo coverage: Restrict ExpressionUsed simplification to Code mappings 2024-07-15 20:54:28 +10:00
debuginfo compiler: Never debug_assert in codegen 2024-07-20 00:16:44 -07:00
llvm Rollup merge of #124033 - bjorn3:ar_archive_writer_0_3_0, r=davidtwco 2024-07-16 16:15:13 -05:00
abi.rs Use the aligned size for alloca at args when the pass mode is cast. 2024-07-02 06:33:35 +08:00
allocator.rs Fix unsafe_op_in_unsafe_fn in compiler 2024-07-16 00:02:44 -04:00
asm.rs Rollup merge of #126555 - beetrees:f16-inline-asm-arm, r=Amanieu 2024-06-22 12:57:18 +02:00
attributes.rs rustc_codegen_llvm: properly passing backchain attribute to LLVM ... 2024-07-17 07:56:00 +08:00
base.rs compiler: replace cstr macro with c str literals in compiler and few other c str replacements 2023-12-03 14:54:09 +03:00
builder.rs Remove #[macro_use] extern crate tracing from rustc_codegen_llvm. 2024-05-23 18:02:40 +10:00
callee.rs Remove #[macro_use] extern crate tracing from rustc_codegen_llvm. 2024-05-23 18:02:40 +10:00
common.rs Miri function identity hack: account for possible inlining 2024-07-02 21:05:30 +02:00
consts.rs compiler: Never debug_assert in codegen 2024-07-20 00:16:44 -07:00
context.rs Fix unsafe_op_in_unsafe_fn in compiler 2024-07-16 00:02:44 -04:00
declare.rs Remove #[macro_use] extern crate tracing from rustc_codegen_llvm. 2024-05-23 18:02:40 +10:00
errors.rs Remove redundant argument from subdiagnostic method 2024-06-18 15:42:11 +00:00
intrinsic.rs Add f16 and f128 as SIMD types in LLVM 2024-07-08 13:59:39 -04:00
lib.rs Fix unsafe_op_in_unsafe_fn in compiler 2024-07-16 00:02:44 -04:00
llvm_util.rs rustc_codegen_llvm: properly passing backchain attribute to LLVM ... 2024-07-17 07:56:00 +08:00
mono_item.rs Fix unsafe_op_in_unsafe_fn in compiler 2024-07-16 00:02:44 -04:00
type_.rs Remove type_i1 and type_struct from cg_ssa 2024-06-21 19:30:26 +00:00
type_of.rs Uplift TypeRelation and Relate 2024-06-01 12:50:58 -04:00
va_arg.rs Add arm64ec-pc-windows-msvc target 2024-03-06 17:49:37 -08:00
value.rs