nightly: segfault with asm!() / #[naked] (possible LLVM 11 bug) #75922
Labels
A-naked
Area: `#[naked]`, prologue and epilogue-free, functions, https://git.io/vAzzS
C-bug
Category: This is a bug.
F-asm
`#![feature(asm)]` (not `llvm_asm`)
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling the following code with
cargo build --release
causes a(signal: 11, SIGSEGV: invalid memory reference)
error.Code
It was introduced by:
Using the previous nightly works:
Looking at 663d2f5...5180f3d, the biggest change I see is the upgrade to LLVM 11.
Backtrace
The text was updated successfully, but these errors were encountered: