rust/tests/run-make
bors 22a7a19f93 Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obk
Insert alignment checks for pointer dereferences when debug assertions are enabled

Closes https://github.com/rust-lang/rust/issues/54915

- [x] Jake tells me this sounds like a place to use `MirPatch`, but I can't figure out how to insert a new basic block with a new terminator in the middle of an existing basic block, using `MirPatch`. (if nobody else backs up this point I'm checking this as "not actually a good idea" because the code looks pretty clean to me after rearranging it a bit)
- [x] Using `CastKind::PointerExposeAddress` is definitely wrong, we don't want to expose. Calling a function to get the pointer address seems quite excessive. ~I'll see if I can add a new `CastKind`.~ `CastKind::Transmute` to the rescue!
- [x] Implement a more helpful panic message like slice bounds checking.

r? `@oli-obk`
2023-03-31 08:50:35 +00:00
..
const_fn_mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coverage Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
coverage-llvmir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
coverage-reports Update coverage info. 2023-03-09 17:51:38 +00:00
dep-graph Move /src/test to /tests 2023-01-11 09:32:08 +00:00
dump-mono-stats Move /src/test to /tests 2023-01-11 09:32:08 +00:00
emit-named-files Move /src/test to /tests 2023-01-11 09:32:08 +00:00
emit-path-unhashed Move /src/test to /tests 2023-01-11 09:32:08 +00:00
emit-shared-files Move /src/test to /tests 2023-01-11 09:32:08 +00:00
env-dep-info Move /src/test to /tests 2023-01-11 09:32:08 +00:00
export-executable-symbols Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fmt-write-bloat A MIR transform that checks pointers are aligned 2023-03-23 18:23:06 -04:00
incr-foreign-head-span Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incr-prev-body-beyond-eof Move /src/test to /tests 2023-01-11 09:32:08 +00:00
incremental-session-fail incremental: migrate diagnostics 2023-01-30 17:11:35 +00:00
invalid-so Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-10971-temps-dir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-36710 Ignore sgx platform for issue-36710 2023-03-10 17:54:58 +01:00
issue-47384 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71519 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83112-incr-test-moved-file Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85019-moved-src-dir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85401-static-mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85441 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-88756-default-output Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96498 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
jobserver-error [fix] don't panic on failure to acquire jobserver token 2023-03-28 17:22:30 +03:00
libtest-thread-limit Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
llvm-outputs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macos-deployment-target Move /src/test to /tests 2023-01-11 09:32:08 +00:00
macos-fat-archive Move /src/test to /tests 2023-01-11 09:32:08 +00:00
native-link-modifier-bundle Upgrade mingw-w64 on CI 2023-01-29 13:01:06 +01:00
native-link-modifier-verbatim-linker Move /src/test to /tests 2023-01-11 09:32:08 +00:00
native-link-modifier-verbatim-rustc Move /src/test to /tests 2023-01-11 09:32:08 +00:00
native-link-modifier-whole-archive Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-input-file add test for no input file 2023-02-10 08:02:56 +00:00
overwrite-input Make output_filenames a real query 2023-01-23 10:35:21 +00:00
pass-linker-flags Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pass-linker-flags-from-dep Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-dylib-alt-calling-convention Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-dylib-c Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-dylib-cross-compilation Use -m option instead of looking for a cross-compiling version of dlltool 2023-03-22 14:30:28 -07:00
raw-dylib-import-name-type Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-dylib-inline-cross-dylib Upgrade mingw-w64 on CI 2023-01-29 13:01:06 +01:00
raw-dylib-link-ordinal Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw-dylib-stdcall-ordinal Move /src/test to /tests 2023-01-11 09:32:08 +00:00
remap-path-prefix-dwarf Move /src/test to /tests 2023-01-11 09:32:08 +00:00
repr128-dwarf Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rlib-format-packed-bundled-libs Upgrade mingw-w64 on CI 2023-01-29 13:01:06 +01:00
rlib-format-packed-bundled-libs-2 Upgrade mingw-w64 on CI 2023-01-29 13:01:06 +01:00
rlib-format-packed-bundled-libs-3 [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
rustc-macro-dep-files Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-invalid-expr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-multiple Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-ordering Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-remap Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-test Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-whitespace Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-verify-output-files fix inconsistent json outputs from rustdoc 2023-03-05 00:09:09 +03:00
rustdoc-with-out-dir-option Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-with-output-option Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-with-short-out-dir-option Move /src/test to /tests 2023-01-11 09:32:08 +00:00
static-pie Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
test-benches Move /src/test to /tests 2023-01-11 09:32:08 +00:00
thumb-none-cortex-m Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
thumb-none-qemu Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
track-path-dep-info Move /src/test to /tests 2023-01-11 09:32:08 +00:00
track-pgo-dep-info Move /src/test to /tests 2023-01-11 09:32:08 +00:00
translation Greatly improve the error messages when run-make/translation fails 2023-03-05 14:31:36 +00:00
unstable-flag-required Move /src/test to /tests 2023-01-11 09:32:08 +00:00
valid-print-requests Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-abi Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-custom-section Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-custom-sections-opt Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-export-all-symbols Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-import-module Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-panic-small Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-spurious-import Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-stringify-ints-small Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-symbols-different-module Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-symbols-not-exported Move /src/test to /tests 2023-01-11 09:32:08 +00:00
wasm-symbols-not-imported Move /src/test to /tests 2023-01-11 09:32:08 +00:00
x86_64-fortanix-unknown-sgx-lvi Fix LVI test post LLVM 16 update 2023-03-27 13:48:38 +02:00
git_clone_sha1.sh Move /src/test to /tests 2023-01-11 09:32:08 +00:00