.eh_frame
is emitted for -C panic=abort
on (at least) i686-pc-windows-gnu
#128136
Labels
A-codegen
Area: Code generation
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
A-panic
Area: Panicking machinery
C-bug
Category: This is a bug.
O-windows
Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
#112403 tried to prevent
.eh_frame
from being emitted for-Cpanic=abort
and added a test (tests/run-make/panic-abort-eh_frame/Makefile
) to check unnecessary landing pads related to unwinding do not appear in the object file when-Cpanic=abort
.The original Makefile test was
only-linux
, and when @Oneirical tried to run the (roughly) equivalent test on Windows (see #127523), we found that this "no unnecessary landing pads" property (whichever property is checked by proxy via testing ifDW_CFA
exists) is not preserved at least oni686-pc-windows-gnu
.I don't understand much of this test, so I'll ask those who are more knowledgeable: for people more familiar with this test cc @nbdd0121 and @Nilstrieb, is this property also intended to be upheld on Windows and not just Linux?
The text was updated successfully, but these errors were encountered: