force-unwind-tables has no effect #85582
Labels
A-panic
Area: Panicking machinery
C-bug
Category: This is a bug.
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hello, i'm building a no_std rust driver for windows and the unwind tables are not being generated in release mode. This is a large issue for be because i'm interacting with a kernel interfaces that requires the unwind_table entry for a specific function. Here is the issue in detail: rust-lang/backtrace-rs#397 (comment)
I'd expect that even though i've set the panic=abort mode that unwind tables are generated, and especially with the force-unwind-tables flag set to yes. I only need a specific function to have an unwind entry, so perhaps a #[unwind_entry] function attribute could make sense to introduce? The panic behavior should be separate from what binary tables are generated, they are separate concerns...
The text was updated successfully, but these errors were encountered: