about summary refs log tree commit diff
path: root/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs
AgeCommit message (Collapse)AuthorLines
2025-06-13Unimplement unsized_localsmejrs-21/+2
2025-02-20fix label suffixHenry Jiang-16/+16
2025-02-20remove : from stack-protector-heuristics-effect.rs filecheckHenry Jiang-4/+4
2024-09-18Update the minimum external LLVM to 18Josh Stone-1/+0
2024-05-30Run rustfmt on `tests/assembly/`.Nicholas Nethercote-6/+1
2024-05-28Make more of the test suite run on Mac CatalystMads Marquart-4/+1
This adds the `only-apple`/`ignore-apple` compiletest directive, and uses that basically everywhere instead of `only-macos`/`ignore-macos`. Some of the updates in `run-make` are a bit redundant, as they use `ignore-cross-compile` and won't run on iOS - but using Apple in these is still more correct, so I've made that change anyhow.
2024-04-11adjust stack-protector test (which inappropriately depends on IR types)Erik Desjardins-40/+15
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-12/+12
2023-10-19Auto merge of #116037 - wesleywiser:stack_protector_test_windows, r=cuviperbors-1/+1
Add `-Zstack-protector` test for Windows targets Add variants of the `stack-protector-heuristics-effect.rs` test for 32-bit and 64-bit MSVC Windows and update the original test to run on GNU Windows targets. I added two tests instead of trying to modify the original because: - MSVC uses a different function name (`__security_check_cookie` to perform the test rather than doing the test inline and calling `__stack_chk_fail`). - LLVM's stack protection pass doesn't currently support generating checks for [frames with funclet based EH personality](https://github.com/llvm/llvm-project/blob/37fd3c96b917096d8a550038f6e61cdf0fc4174f/llvm/lib/CodeGen/StackProtector.cpp#L103C1-L109C4). - 32-bit Windows uses classic EH while 64-bit Windows uses table-based EH which results in slightly different codegen. [CI run with test passing on {i686,x86_64}-{msvc,mingw}](https://github.com/rust-lang/rust/actions/runs/6275450644/job/17042958375?pr=116037)
2023-10-02Limit to LLVM 17.0.2 to work around WinEH codegen bugNikita Popov-0/+1
2023-10-02Update stack protector testNikita Popov-1/+1
We no longer generate a protector for the strong case in this test, which is actually the expected behavior per the test comment.
2023-09-21Add stack-protector test for WindowsWesley Wiser-1/+1
2023-07-02test-various: run codegen and assembly testsJan-Mirko Otter-0/+1
2023-06-16remove box_free and replace with drop implDrMeepster-1/+1
2023-01-11Move /src/test to /testsAlbert Larsan-0/+396