-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-inline-assemblyArea: Inline assembly (`asm!(…)`)Area: Inline assembly (`asm!(…)`)B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-asm`#![feature(asm)]` (not `llvm_asm`)`#![feature(asm)]` (not `llvm_asm`)
Description
The feature gate for the issue is #![feature(asm_unwind)]
.
Summary
This feature adds a may_unwind
option to asm!
which allows an asm
block to unwind stack and be part of the stack unwinding process. This option is only supported by the LLVM backend right now.
Status
Blocked on the stabilization of extern "C-unwind"
(#74990).
Also it is uncertain whether this can be supported directly by non-LLVM backends. It is possible to support by outlining the assembly code to a separate function and calling it.
Metadata
Metadata
Assignees
Labels
A-inline-assemblyArea: Inline assembly (`asm!(…)`)Area: Inline assembly (`asm!(…)`)B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCF-asm`#![feature(asm)]` (not `llvm_asm`)`#![feature(asm)]` (not `llvm_asm`)