-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Commit 84dca15
authored
Rollup merge of #123411 - saethlin:ub-checks, r=Urgau,RalfJung
Put checks that detect UB under their own flag below debug_assertions
Implementation of rust-lang/compiler-team#725 File tree
42 files changed
+206
-64
lines changed- compiler
- rustc_codegen_cranelift/src
- rustc_codegen_ssa/src/mir
- rustc_const_eval/src/interpret
- rustc_feature/src
- rustc_interface/src
- rustc_middle/src/mir
- rustc_mir_transform/src
- rustc_session/src
- config
- rustc_span/src
- stable_mir/src/mir
- library/core/src
- src/doc/unstable-book/src/compiler-flags
- tests
- codegen
- ui
- check-cfg
- feature-gates
- precondition-checks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+206
-64
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
789 | 789 |
| |
790 | 790 |
| |
791 | 791 |
| |
792 | - | ||
792 | + | ||
793 | 793 |
| |
794 | 794 |
| |
795 | 795 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
682 | 682 |
| |
683 | 683 |
| |
684 | 684 |
| |
685 | - | ||
685 | + | ||
686 | 686 |
| |
687 | 687 |
| |
688 | 688 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 | - | ||
261 | + | ||
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | + | ||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
384 | + | ||
385 | + | ||
384 | 386 |
| |
385 | 387 |
| |
386 | 388 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
846 | 846 |
| |
847 | 847 |
| |
848 | 848 |
| |
849 | + | ||
849 | 850 |
| |
850 | 851 |
| |
851 | 852 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
777 | 777 |
| |
778 | 778 |
| |
779 | 779 |
| |
780 | - | ||
781 | - | ||
780 | + | ||
781 | + | ||
782 | 782 |
| |
783 | 783 |
| |
784 | 784 |
| |
| |||
799 | 799 |
| |
800 | 800 |
| |
801 | 801 |
| |
802 | - | ||
803 | - | ||
804 | - | ||
802 | + | ||
805 | 803 |
| |
806 | 804 |
| |
807 | 805 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 | - | ||
19 | + | ||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 | - | ||
152 | + | ||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 | + | ||
216 | + | ||
217 | + | ||
218 | + | ||
215 | 219 |
| |
216 | 220 |
| |
217 | 221 |
| |
| |||
367 | 371 |
| |
368 | 372 |
| |
369 | 373 |
| |
374 | + | ||
375 | + | ||
370 | 376 |
| |
371 | 377 |
| |
372 | 378 |
| |
|
0 commit comments