Skip to content

LLVM 17 regression: tests/ui/abi/stack-protector.rs no longer actually attempts stack-smashing #109671

Closed
@durin42

Description

@durin42

LLVM change 0d4a709 (https://reviews.llvm.org/D145210) appears to have broken the test for stack-protection. tests/ui/abi/stack-protector.rs fails both with and without stack protection enabled, because the test now makes it to the TEST BUG: stack smash unsuccessful panic, presumably because something new in LLVM's optimizations skips the stack smash.

Filing this bug and disabling the test in our Rust/LLVM HEADs CI for now so we see other (more urgent) breakage reliably.

Metadata

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-testsuiteArea: The testsuite used to check the correctness of rustcT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions