about summary refs log tree commit diff
path: root/tests/assembly
AgeCommit message (Collapse)AuthorLines
2023-03-31Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obkbors-0/+1
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-29Add ignore-debug to static-relocation-model testBen Kimock-0/+1
2023-03-10Ignore LVI incompatible assembly tests on sgx platformRaoul Strackx-0/+4
2023-03-10Fix LVI inline assembly testRaoul Strackx-13/+4
2023-03-10Fix LVI generic load testRaoul Strackx-1/+1
2023-02-10Update the minimum external LLVM to 14Josh Stone-1/+0
2023-01-17bump failing assembly & codegen tests from LLVM 14 to LLVM 15Lukas Markeffsky-1/+1
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+6608