Functions still get personality function attached to them when landing pads are disabled #55039
Labels
A-codegen
Area: Code generation
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling with
-Cpanic=abort
or-Zno-landing-pads
should make associated personality functions entirely unnecessary, yet they still somehow end up getting attached to functions generated with the "current" CG.Consider for example this function:
which when compiled (with or without optimisations) with
-Cpanic=abort
, will contain no personality functions in1.27.1
but will contain them starting with1.28
.1.27.1
1.28
This is technically a codegen regression, albeit very innocuous one.
The text was updated successfully, but these errors were encountered: