Description
#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 if DW_CFA
exists) is not preserved at least on i686-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?